diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index e1a98f246399..22efeee9fa50 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -263,6 +263,9 @@ + + + @@ -404,6 +407,9 @@ + + + @@ -880,6 +886,9 @@ + + + @@ -967,6 +976,9 @@ + + + @@ -1074,6 +1086,9 @@ + + + @@ -1296,6 +1311,9 @@ + + + @@ -1569,6 +1587,9 @@ + + + @@ -2101,6 +2122,9 @@ + + + @@ -2431,6 +2455,9 @@ + + + @@ -3131,6 +3158,9 @@ + + + @@ -3538,6 +3568,9 @@ + + + @@ -3881,6 +3914,7 @@ + @@ -3928,6 +3962,7 @@ + @@ -4074,6 +4109,7 @@ + @@ -4103,6 +4139,7 @@ + @@ -4138,6 +4175,7 @@ + @@ -4210,6 +4248,7 @@ + @@ -4299,6 +4338,7 @@ + @@ -4471,6 +4511,7 @@ + @@ -4579,6 +4620,7 @@ + @@ -4799,6 +4841,7 @@ + @@ -4924,6 +4967,7 @@ + diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs index e6ec99348c7e..9edbb50d6af8 100644 --- a/src/Common/Commands.Common/Properties/Resources.Designer.cs +++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.0 +// Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -3422,6 +3422,15 @@ public static string SwapWebsiteSlotWarning { } } + /// + /// Looks up a localized string similar to The Switch-AzureMode cmdlet is deprecated and will be removed in a future release.. + /// + public static string SwitchAzureModeDeprecated { + get { + return ResourceManager.GetString("SwitchAzureModeDeprecated", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unable to decode string from base 64. Please make sure the string is correctly encoded: {0}.. /// diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx index 1416eb73f97a..709da037014d 100644 --- a/src/Common/Commands.Common/Properties/Resources.resx +++ b/src/Common/Commands.Common/Properties/Resources.resx @@ -1358,4 +1358,7 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Selected profile must not be null. + + The Switch-AzureMode cmdlet is deprecated and will be removed in a future release. + \ No newline at end of file diff --git a/src/Common/Commands.Profile/SwitchAzureMode.cs b/src/Common/Commands.Profile/SwitchAzureMode.cs index 10e8392fb452..099dfef5d1e2 100644 --- a/src/Common/Commands.Profile/SwitchAzureMode.cs +++ b/src/Common/Commands.Profile/SwitchAzureMode.cs @@ -14,6 +14,7 @@ using System; using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Common.Authentication; @@ -34,6 +35,7 @@ public class SwitchAzureMode : AzurePSCmdlet public override void ExecuteCmdlet() { + WriteWarning(Resources.SwitchAzureModeDeprecated); AzureModule moduleToImport = (AzureModule)Enum.Parse(typeof(AzureModule), Name, false); AzureModule moduleToRemove = moduleToImport == AzureModule.AzureResourceManager ? AzureModule.AzureServiceManagement : AzureModule.AzureResourceManager; RemoveAzureModule(FileUtilities.GetModuleName(moduleToRemove), FileUtilities.GetPSModulePathForModule(moduleToRemove)); diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 index 2df972e56a33..89a4fbfe6149 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 @@ -43,7 +43,9 @@ function Test-AvailabilitySet Assert-AreEqual $aset.PlatformUpdateDomainCount $nonDefaultUD; Assert-AreEqual $aset.PlatformFaultDomainCount $nonDefaultFD; - Remove-AzureAvailabilitySet -ResourceGroupName $rgname -Name $asetName; + Assert-ThrowsContains { Remove-AzureAvailabilitySet -ResourceGroupName $rgname -Name $asetName; } "This cmdlet will remove the specified availability set. Do you want to continue?" + + Remove-AzureAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Force; $asets = Get-AzureAvailabilitySet -ResourceGroupName $rgname; Assert-AreEqual $asets $null; diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 index 90abbbb09ee6..5411137fed4c 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 @@ -211,7 +211,7 @@ function Get-DefaultCRPImage $defaultVersion = $result[0]; } - $vmimg = Get-AzureVMImageDetail -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku -Version $defaultVersion; + $vmimg = Get-AzureVMImage -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku -Version $defaultVersion; return $vmimg; } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 index a094f1351bc5..35afc93066e5 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 @@ -26,14 +26,26 @@ function Test-VirtualMachineProfile # Network $ipname = 'hpfip' + ((Get-Random) % 10000); - $ipRefUri = "https://test.foo.bar/$ipname"; + $ipRefUri1 = "https://test.foo.bar/$ipname"; $nicName = $ipname + 'nic1'; $publicIPName = $ipname + 'name1'; - $p = Add-AzureVMNetworkInterface -VM $p -Id $ipRefUri; + $p = Add-AzureVMNetworkInterface -VM $p -Id $ipRefUri1; + + $ipname = 'hpfip' + ((Get-Random) % 10000); + $ipRefUri2 = "https://test.foo.bar/$ipname"; + $p = Add-AzureVMNetworkInterface -VM $p -Id $ipRefUri2; + + # Remove all NICs + $p = $p | Remove-AzureVMNetworkInterface + Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 0; + + $p = Add-AzureVMNetworkInterface -VM $p -Id $ipRefUri1; + $p = Add-AzureVMNetworkInterface -VM $p -Id $ipRefUri2; + $p = Remove-AzureVMNetworkInterface -VM $p -Id $ipRefUri2; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; - Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $ipRefUri; + Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $ipRefUri1; # Storage $stoname = 'hpfteststo' + ((Get-Random) % 10000); @@ -66,6 +78,23 @@ function Test-VirtualMachineProfile Assert-AreEqual $p.StorageProfile.DataDisks[1].Lun 1; Assert-AreEqual $p.StorageProfile.DataDisks[1].VirtualHardDisk.Uri $dataDiskVhdUri2; + # Remove all data disks + $p = $p | Remove-AzureVMDataDisk; + Assert-AreEqual $p.StorageProfile.DataDisks.Count 0; + + $p = Add-AzureVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + + Assert-AreEqual $p.StorageProfile.DataDisks.Count 2; + Assert-AreEqual $p.StorageProfile.DataDisks[0].Caching 'ReadOnly'; + Assert-AreEqual $p.StorageProfile.DataDisks[0].DiskSizeGB 10; + Assert-AreEqual $p.StorageProfile.DataDisks[0].Lun 0; + Assert-AreEqual $p.StorageProfile.DataDisks[0].VirtualHardDisk.Uri $dataDiskVhdUri1; + Assert-AreEqual $p.StorageProfile.DataDisks[1].Caching 'ReadOnly'; + Assert-AreEqual $p.StorageProfile.DataDisks[1].DiskSizeGB 11; + Assert-AreEqual $p.StorageProfile.DataDisks[1].Lun 1; + Assert-AreEqual $p.StorageProfile.DataDisks[1].VirtualHardDisk.Uri $dataDiskVhdUri2; + # Windows OS $user = "Foo12"; $password = 'BaR@000' + ((Get-Random) % 10000); diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 index 3d8c91f93b70..11f4adf28017 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 @@ -252,15 +252,15 @@ function Test-VirtualMachineImageList { $versions = $s4 | select -ExpandProperty Version; - $s6 = Get-AzureVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -FilterExpression ('name -eq *'); - Assert-NotNull $s6; - Assert-NotNull $s6.Count -gt 0; - $verNames = $s6 | select -ExpandProperty Version; + $s5 = Get-AzureVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -FilterExpression ('name -eq *'); + Assert-NotNull $s5; + Assert-NotNull $s5.Count -gt 0; + $verNames = $s5 | select -ExpandProperty Version; foreach ($ver in $versions) { if ($ver -eq $null -or $ver -eq '') { continue; } - $s6 = Get-AzureVMImageDetail -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -Version $ver; + $s6 = Get-AzureVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -Version $ver; Assert-NotNull $s6; $s6; @@ -299,7 +299,7 @@ function Test-VirtualMachineImageList $versions = $s2 | select -ExpandProperty Version; foreach ($ver in $versions) { - $s3 = Get-AzureVMExtensionImageDetail -Location $locStr -PublisherName $pub -Type $type -Version $ver -FilterExpression '*'; + $s3 = Get-AzureVMExtensionImage -Location $locStr -PublisherName $pub -Type $type -Version $ver -FilterExpression '*'; Assert-NotNull $s3; Assert-True { $s3.Version -eq $ver; } @@ -316,11 +316,11 @@ function Test-VirtualMachineImageList # Test Piping $pubNameFilter = '*Microsoft*Windows*Server*'; - $imgs = Get-AzureVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureVMImageOffer | Get-AzureVMImageSku | Get-AzureVMImage | Get-AzureVMImageDetail; + $imgs = Get-AzureVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureVMImageOffer | Get-AzureVMImageSku | Get-AzureVMImage | Get-AzureVMImage; Assert-True { $imgs.Count -gt 0 }; $pubNameFilter = '*Microsoft.Compute*'; - $extimgs = Get-AzureVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureVMExtensionImageType | Get-AzureVMExtensionImage | Get-AzureVMExtensionImageDetail; + $extimgs = Get-AzureVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureVMExtensionImageType | Get-AzureVMExtensionImage | Get-AzureVMExtensionImage; Assert-True { $extimgs.Count -gt 0 }; # Negative Tests @@ -341,12 +341,12 @@ function Test-VirtualMachineImageList Assert-ThrowsContains { $s5 = Get-AzureVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -FilterExpression $filter; } "was not found"; $version = '1.0.0'; - Assert-ThrowsContains { $s6 = Get-AzureVMImageDetail -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -Version $version; } "was not found"; + Assert-ThrowsContains { $s6 = Get-AzureVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -Version $version; } "was not found"; # Extension Images $type = Get-ComputeTestResourceName; - Assert-ThrowsContains { $s7 = Get-AzureVMExtensionImageDetail -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter -Version $version; } "was not found"; - + Assert-ThrowsContains { $s7 = Get-AzureVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter -Version $version; } "was not found"; + Assert-ThrowsContains { $s8 = Get-AzureVMExtensionImageType -Location $locStr -PublisherName $publisherName; } "was not found"; Assert-ThrowsContains { $s9 = Get-AzureVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter; } "was not found"; @@ -987,7 +987,7 @@ function Test-VirtualMachinePlan2 $vmmImgOfferName = 'a10-vthunder-adc'; $vmmImgSkusName = 'vthunder_byol'; $vmmImgVerName = '1.0.0'; - $imgRef = Get-AzureVMImageDetail -PublisherName $vmmImgPubName -Location $loc -Offer $vmmImgOfferName -Skus $vmmImgSkusName -Version $vmmImgVerName; + $imgRef = Get-AzureVMImage -PublisherName $vmmImgPubName -Location $loc -Offer $vmmImgOfferName -Skus $vmmImgSkusName -Version $vmmImgVerName; $plan = $imgRef.PurchasePlan; $p = Set-AzureVMSourceImage -VM $p -PublisherName $imgRef.PublisherName -Offer $imgRef.Offer -Skus $imgRef.Skus -Version $imgRef.Version; $p.Plan = New-Object Microsoft.Azure.Management.Compute.Models.Plan; diff --git a/src/ResourceManager/Compute/Commands.Compute/AvailabilitySets/RemoveAzureAvailabilitySetCommand.cs b/src/ResourceManager/Compute/Commands.Compute/AvailabilitySets/RemoveAzureAvailabilitySetCommand.cs index b61ab1473155..e2936fe4b619 100644 --- a/src/ResourceManager/Compute/Commands.Compute/AvailabilitySets/RemoveAzureAvailabilitySetCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/AvailabilitySets/RemoveAzureAvailabilitySetCommand.cs @@ -12,13 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using AutoMapper; using Microsoft.Azure.Commands.Compute.Common; +using Microsoft.Azure.Commands.Compute.Models; using Microsoft.Azure.Management.Compute; using System.Management.Automation; namespace Microsoft.Azure.Commands.Compute { [Cmdlet(VerbsCommon.Remove, ProfileNouns.AvailabilitySet)] + [OutputType(typeof(PSOperationResponse))] public class RemoveAzureAvailabilitySetCommand : AvailabilitySetBaseCmdlet { [Parameter( @@ -37,13 +40,24 @@ public class RemoveAzureAvailabilitySetCommand : AvailabilitySetBaseCmdlet [ValidateNotNullOrEmpty] public string Name { get; set; } + [Parameter( + Position = 2, + HelpMessage = "To force the removal.")] + [ValidateNotNullOrEmpty] + public SwitchParameter Force { get; set; } + public override void ExecuteCmdlet() { base.ExecuteCmdlet(); - var op = this.AvailabilitySetClient.Delete(this.ResourceGroupName, this.Name); - - WriteObject(op); + if (this.Force.IsPresent + || this.ShouldContinue(Properties.Resources.AvailabilitySetRemovalConfirmation, + Properties.Resources.AvailabilitySetRemovalCaption)) + { + AzureOperationResponse op = this.AvailabilitySetClient.Delete(this.ResourceGroupName, this.Name); + var result = Mapper.Map(op); + WriteObject(result); + } } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj index 533b475004d3..89d0f8c77f05 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj @@ -177,6 +177,7 @@ + diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ComputeAutoMapperProfile.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ComputeAutoMapperProfile.cs index c621b8ed69c1..e387f9001e46 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ComputeAutoMapperProfile.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ComputeAutoMapperProfile.cs @@ -72,8 +72,8 @@ protected override void Configure() Mapper.CreateMap(); Mapper.CreateMap(); Mapper.CreateMap(); - Mapper.CreateMap(); + Mapper.CreateMap(); } } } \ No newline at end of file diff --git a/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageCommand.cs b/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageCommand.cs index fc142923423f..4bbb0241c38e 100644 --- a/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageCommand.cs @@ -21,8 +21,9 @@ namespace Microsoft.Azure.Commands.Compute { - [Cmdlet(VerbsCommon.Get, ProfileNouns.VirtualMachineExtensionImage)] - [OutputType(typeof(PSVirtualMachineExtensionImage))] + [Cmdlet(VerbsCommon.Get, + ProfileNouns.VirtualMachineExtensionImage)] + [OutputType(typeof(PSVirtualMachineExtensionImageDetails))] public class GetAzureVMExtensionImageCommand : VirtualMachineExtensionImageBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true), ValidateNotNullOrEmpty] @@ -37,34 +38,73 @@ public class GetAzureVMExtensionImageCommand : VirtualMachineExtensionImageBaseC [Parameter, ValidateNotNullOrEmpty] public string FilterExpression { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true)] + public string Version { get; set; } + public override void ExecuteCmdlet() { base.ExecuteCmdlet(); - var parameters = new VirtualMachineExtensionImageListVersionsParameters + if (string.IsNullOrEmpty(this.Version)) + { + var parameters = new VirtualMachineExtensionImageListVersionsParameters + { + Location = Location.Canonicalize(), + PublisherName = PublisherName, + Type = Type, + FilterExpression = FilterExpression + }; + + VirtualMachineImageResourceList result = this.VirtualMachineExtensionImageClient.ListVersions(parameters); + + var images = from r in result.Resources + select new PSVirtualMachineExtensionImage + { + RequestId = result.RequestId, + StatusCode = result.StatusCode, + Id = r.Id, + Location = r.Location, + Version = r.Name, + PublisherName = this.PublisherName, + Type = this.Type, + FilterExpression = this.FilterExpression + }; + + WriteObject(images, true); + } + else { - Location = Location.Canonicalize(), - PublisherName = PublisherName, - Type = Type, - FilterExpression = FilterExpression - }; - VirtualMachineImageResourceList result = this.VirtualMachineExtensionImageClient.ListVersions(parameters); + var parameters = new VirtualMachineExtensionImageGetParameters + { + Location = Location.Canonicalize(), + PublisherName = PublisherName, + Type = Type, + FilterExpression = FilterExpression, + Version = Version + }; + + VirtualMachineExtensionImageGetResponse result = this.VirtualMachineExtensionImageClient.Get(parameters); - var images = from r in result.Resources - select new PSVirtualMachineExtensionImage - { - RequestId = result.RequestId, - StatusCode = result.StatusCode, - Id = r.Id, - Location = r.Location, - Version = r.Name, - PublisherName = this.PublisherName, - Type = this.Type, - FilterExpression = this.FilterExpression - }; + var image = new PSVirtualMachineExtensionImageDetails + { + RequestId = result.RequestId, + StatusCode = result.StatusCode, + Id = result.VirtualMachineExtensionImage.Id, + Location = result.VirtualMachineExtensionImage.Location, + Name = result.VirtualMachineExtensionImage.Name, + HandlerSchema = result.VirtualMachineExtensionImage.HandlerSchema, + OperatingSystem = result.VirtualMachineExtensionImage.OperatingSystem, + ComputeRole = result.VirtualMachineExtensionImage.ComputeRole, + SupportsMultipleExtensions = result.VirtualMachineExtensionImage.SupportsMultipleExtensions, + VMScaleSetEnabled = result.VirtualMachineExtensionImage.VMScaleSetEnabled, + PublisherName = this.PublisherName, + Type = this.Type, + Version = this.Version + }; - WriteObject(images, true); + WriteObject(image); + } } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageDetailCommand.cs b/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageDetailCommand.cs index 0a0e51b03fac..26f9a810bf3c 100644 --- a/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageDetailCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/ExtensionImages/GetAzureVMExtensionImageDetailCommand.cs @@ -43,6 +43,8 @@ public override void ExecuteCmdlet() { base.ExecuteCmdlet(); + WriteWarning(Properties.Resources.DeprecationOfGetAzureVMExtensionImageDetail); + var parameters = new VirtualMachineExtensionImageGetParameters { Location = Location.Canonicalize(), diff --git a/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageCommand.cs index 68a1454a256c..bea3d2cf91bd 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageCommand.cs @@ -21,55 +21,128 @@ namespace Microsoft.Azure.Commands.Compute { - [Cmdlet(VerbsCommon.Get, ProfileNouns.VirtualMachineImage)] - [OutputType(typeof(PSVirtualMachineImage))] + [Cmdlet(VerbsCommon.Get, + ProfileNouns.VirtualMachineImage)] + [OutputType(typeof(PSVirtualMachineImage), + ParameterSetName = new [] {ListVMImageParamSetName})] + [OutputType(typeof(PSVirtualMachineImageDetail), + ParameterSetName = new [] {GetVMImageDetailParamSetName})] public class GetAzureVMImageCommand : VirtualMachineImageBaseCmdlet { - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true), ValidateNotNullOrEmpty] + protected const string ListVMImageParamSetName = "ListVMImage"; + protected const string GetVMImageDetailParamSetName = "GetVMImageDetail"; + + [Parameter(ParameterSetName = ListVMImageParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [Parameter(ParameterSetName = GetVMImageDetailParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] public string Location { get; set; } - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true), ValidateNotNullOrEmpty] + [Parameter(ParameterSetName = ListVMImageParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [Parameter(ParameterSetName = GetVMImageDetailParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] public string PublisherName { get; set; } - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true), ValidateNotNullOrEmpty] + [Parameter(ParameterSetName = ListVMImageParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [Parameter(ParameterSetName = GetVMImageDetailParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] public string Offer { get; set; } - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true), ValidateNotNullOrEmpty] + [Parameter(ParameterSetName = ListVMImageParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [Parameter(ParameterSetName = GetVMImageDetailParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] public string Skus { get; set; } - [Parameter, ValidateNotNullOrEmpty] + [Parameter(ParameterSetName = ListVMImageParamSetName, + ValueFromPipelineByPropertyName = false), + ValidateNotNullOrEmpty] public string FilterExpression { get; set; } + [Parameter(ParameterSetName = GetVMImageDetailParamSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true), + ValidateNotNullOrEmpty] + public string Version { get; set; } + public override void ExecuteCmdlet() { base.ExecuteCmdlet(); - var parameters = new VirtualMachineImageListParameters + if (this.ParameterSetName.Equals(ListVMImageParamSetName)) { - Location = Location.Canonicalize(), - Offer = Offer, - PublisherName = PublisherName, - Skus = Skus, - FilterExpression = FilterExpression - }; - - VirtualMachineImageResourceList result = this.VirtualMachineImageClient.List(parameters); - - var images = from r in result.Resources - select new PSVirtualMachineImage - { - RequestId = result.RequestId, - StatusCode = result.StatusCode, - Id = r.Id, - Location = r.Location, - Version = r.Name, - PublisherName = this.PublisherName, - Offer = this.Offer, - Skus = this.Skus, - FilterExpression = this.FilterExpression - }; - - WriteObject(images, true); + var parameters = new VirtualMachineImageListParameters + { + Location = Location.Canonicalize(), + Offer = Offer, + PublisherName = PublisherName, + Skus = Skus, + FilterExpression = FilterExpression + }; + + VirtualMachineImageResourceList result = this.VirtualMachineImageClient.List(parameters); + + var images = from r in result.Resources + select new PSVirtualMachineImage + { + RequestId = result.RequestId, + StatusCode = result.StatusCode, + Id = r.Id, + Location = r.Location, + Version = r.Name, + PublisherName = this.PublisherName, + Offer = this.Offer, + Skus = this.Skus, + FilterExpression = this.FilterExpression + }; + + WriteObject(images, true); + } + else + { + var parameters = new VirtualMachineImageGetParameters + { + Location = Location.Canonicalize(), + PublisherName = PublisherName, + Offer = Offer, + Skus = Skus, + Version = Version + }; + + VirtualMachineImageGetResponse response = this.VirtualMachineImageClient.Get(parameters); + + var image = new PSVirtualMachineImageDetail + { + RequestId = response.RequestId, + StatusCode = response.StatusCode, + Id = response.VirtualMachineImage.Id, + Location = response.VirtualMachineImage.Location, + Name = response.VirtualMachineImage.Name, + Version = response.VirtualMachineImage.Name, + PublisherName = this.PublisherName, + Offer = this.Offer, + Skus = this.Skus, + OSDiskImage = response.VirtualMachineImage.OSDiskImage, + DataDiskImages = response.VirtualMachineImage.DataDiskImages, + PurchasePlan = response.VirtualMachineImage.PurchasePlan, + }; + + WriteObject(image); + } } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageDetailCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageDetailCommand.cs index 867c6640f71c..098e7879fcd4 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageDetailCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Images/GetAzureVMImageDetailCommand.cs @@ -44,6 +44,8 @@ public override void ExecuteCmdlet() { base.ExecuteCmdlet(); + WriteWarning(Properties.Resources.DeprecationOfGetAzureVMImageDetail); + var parameters = new VirtualMachineImageGetParameters { Location = Location.Canonicalize(), diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml index 30b7f8f0cbe0..24042b99ea64 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml @@ -50,6 +50,20 @@ AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -104,6 +118,30 @@ + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -259,6 +297,20 @@ $vm = Add-AzureVMAdditionalUnattendContentConfig -VM $vm -Content $aucContent -S AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -375,6 +427,30 @@ $vm = Add-AzureVMAdditionalUnattendContentConfig -VM $vm -Content $aucContent -S + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -527,6 +603,20 @@ Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -578,6 +668,30 @@ Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -730,6 +844,20 @@ Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -799,6 +927,30 @@ Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -923,6 +1075,20 @@ Example: AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -976,6 +1142,30 @@ Example: + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -1080,6 +1270,20 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -1119,6 +1323,30 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -1247,6 +1475,20 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -1298,6 +1540,30 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -1341,30 +1607,36 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; - Get-AzureVM + Get-AzureStorageAccount - Get the properties of a VM or Get all VMs in a subscription + Get the properties of a Storage Account Get - AzureVM + AzureStorageAccount - This cmdlet allows you to get the model or instance view of the VM. By default the returned VM object contains the model view. If you'd like to see the instance view of a VM use the -Status switch. - This cmdlet also allows you to get information about all VMs in your subscription if no parameters are used. + This cmdlet allows you to get the properties of a specified Storage Account or all Storage Accounts within a Resource Group or the subscription. - Get-AzureVM + Get-AzureStorageAccount + + ResourceGroupName + + Name of the Resource Group + + String + - All + Name - + Name of the Storage Account - SwitchParameter + String Profile @@ -1373,102 +1645,39 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; AzureProfile - - - Get-AzureVM - - ResourceGroupName - - Name of the Resource Group - - String - - Profile + InformationAction - AzureProfile + ActionPreference - - - Get-AzureVM - - ResourceGroupName + + InformationVariable - Name of the Resource Group + String - - Name - - Name of the VM - - String - - - Status - - Allows you to only return the Instance View - - SwitchParameter - - - Profile - - - - AzureProfile - - - - Get-AzureVM - - NextLink - - - - Uri - - - Profile - - - - AzureProfile - - - All - - - - SwitchParameter - - SwitchParameter - - - - - - Profile + + ResourceGroupName - + Name of the Resource Group - AzureProfile + String - AzureProfile + String - - ResourceGroupName + + Name - Name of the Resource Group + Name of the Storage Account String @@ -1477,38 +1686,38 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; - - Name + + Profile - Name of the VM + - String + AzureProfile - String + AzureProfile - - Status + + InformationAction - Allows you to only return the Instance View + - SwitchParameter + ActionPreference - SwitchParameter + ActionPreference - - NextLink + + InformationVariable - Uri + String - Uri + String @@ -1550,33 +1759,12 @@ $vm = Add-AzureVMSshPublicKey -VM $vm -KeyData $sshPublicKey -Path $sshPath; - -------------------------- Get the properties of a VM -------------------------- - - PS C:\> - - # Get the VM -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - - - - - - - - - - - - - - - -------------------------- Get only the status of VM -------------------------- + -------------------------- Get a specified storage account -------------------------- PS C:\> - Get the VM instance view -$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" -Status + PS C:\> #Get one storage account + Get-AzureStorageAccount -ResourceGroupName "RG1" -AccountName "myStorageAccount" @@ -1592,12 +1780,12 @@ $vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" -S - -------------------------- Get all VMs in a Resource Group -------------------------- + -------------------------- Get all Storage Accounts in a Resource Group -------------------------- PS C:\> - # Get all VMs in a Resource Group -$vm = Get-AzureVM -ResourceGroupName "myRG" + PS C:\> # Get all Storage Accounts in a Resource Group + Get-AzureStorageAccount -ResourceGroupName "RG1" @@ -1613,12 +1801,12 @@ $vm = Get-AzureVM -ResourceGroupName "myRG" - -------------------------- Get all VMs in your subscription -------------------------- + -------------------------- Get all Storage Accounts in the subscription -------------------------- PS C:\> - # Get all VMs in your subscription -Get-AzureVM + PS C:\> # Get all Storage Accounts in the subscription + Get-AzureStorageAccount @@ -1640,48 +1828,34 @@ Get-AzureVM - Get-AzureVMAccessExtension + Get-AzureStorageAccountKey - Get the information about VMAccess extension + Get the access keys for an Azure storage account Get - AzureVMAccessExtension + AzureStorageAccountKey - Get the information about VMAccess extension + This cmdlet allows you to get the access keys for an Azure storage account. - Get-AzureVMAccessExtension - - Status - - Get the instance view of the extension - - SwitchParameter - + Get-AzureStorageAccountKey ResourceGroupName - Name of the Resource Group of the VM + Name of the Resource Group String - VMName - - Name of the VM - - String - - Name - Name of the extension + Name of the Storage Account String @@ -1692,25 +1866,39 @@ Get-AzureVM AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - Status + + ResourceGroupName - Get the instance view of the extension + Name of the Resource Group - SwitchParameter + String - SwitchParameter + String - - ResourceGroupName + + Name - Name of the Resource Group of the VM + Name of the Storage Account String @@ -1719,38 +1907,38 @@ Get-AzureVM - - VMName + + Profile - Name of the VM + - String + AzureProfile - String + AzureProfile - - Name + + InformationAction - Name of the extension + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -1792,33 +1980,12 @@ Get-AzureVM - -------------------------- Example 1 -------------------------- - - PS C:\> - - # Get VM Extension -$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; - - - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- + -------------------------- Get the access keys for a Storage Account -------------------------- PS C:\> - # Get VM Extension Status -$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + #Get keys + Get-AzureStorageAccountKey -ResourceGroupName "RG1" -AccountName "myStorageAccount" @@ -1840,51 +2007,138 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na - Get-AzureVMCustomScriptExtension + Get-AzureVM - Get the information about Custom Script extension + Get the properties of a VM or Get all VMs in a subscription Get - AzureVMCustomScriptExtension + AzureVM - Get the information about Custom Script extension + This cmdlet allows you to get the model or instance view of the VM. By default the returned VM object contains the model view. If you'd like to see the instance view of a VM use the -Status switch. + This cmdlet also allows you to get information about all VMs in your subscription if no parameters are used. - Get-AzureVMCustomScriptExtension - - Status + Get-AzureVM + + All - Get the instance view of the extension + SwitchParameter + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Get-AzureVM ResourceGroupName - Name of the Resource Group of the VM + Name of the Resource Group String - VMName + Name Name of the VM String - - Name + + Status - Name of the extension + Allows you to only return the Instance View + + SwitchParameter + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Get-AzureVM + + ResourceGroupName + + Name of the Resource Group + + String + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + String + + + Get-AzureVM + + NextLink + + + + Uri + Profile @@ -1892,13 +2146,27 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - Status + + All - Get the instance view of the extension + SwitchParameter @@ -1907,10 +2175,46 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + ResourceGroupName - Name of the Resource Group of the VM + Name of the Resource Group String @@ -1920,7 +2224,7 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na - VMName + Name Name of the VM @@ -1931,26 +2235,26 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na - - Name + + Status - Name of the extension + Allows you to only return the Instance View - String + SwitchParameter - String + SwitchParameter - - Profile + + NextLink - AzureProfile + Uri - AzureProfile + Uri @@ -1992,12 +2296,12 @@ $ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Na - -------------------------- Example 1 -------------------------- + -------------------------- Get the properties of a VM -------------------------- PS C:\> - # Get VM Extension -$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + # Get the VM +$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" @@ -2013,12 +2317,54 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Example 2 -------------------------- + -------------------------- Get only the status of VM -------------------------- PS C:\> - # Get VM Extension Status -$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + Get the VM instance view +$vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" -Status + + + + + + + + + + + + + + + + -------------------------- Get all VMs in a Resource Group -------------------------- + + PS C:\> + + # Get all VMs in a Resource Group +$vm = Get-AzureVM -ResourceGroupName "myRG" + + + + + + + + + + + + + + + + -------------------------- Get all VMs in your subscription -------------------------- + + PS C:\> + + # Get all VMs in your subscription +Get-AzureVM @@ -2040,27 +2386,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMExtension + Get-AzureVMAccessExtension - Get the extensions installed on the VM + Get the information about VMAccess extension Get - AzureVMExtension + AzureVMAccessExtension - Get properties about the extensions installed on a VM. To get only the instance view of the extensions use the -Status switch. + Get the information about VMAccess extension - Get-AzureVMExtension + Get-AzureVMAccessExtension ResourceGroupName - Name of the Resource Group + Name of the Resource Group of the VM String @@ -2074,14 +2420,14 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna Name - Name of the Extension + Name of the extension String Status - Return only the status view of the Extension + Get the instance view of the extension SwitchParameter @@ -2092,13 +2438,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + ResourceGroupName - Name of the Resource Group + Name of the Resource Group of the VM String @@ -2122,7 +2482,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna Name - Name of the Extension + Name of the extension String @@ -2134,7 +2494,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna Status - Return only the status view of the Extension + Get the instance view of the extension SwitchParameter @@ -2155,6 +2515,30 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -2192,11 +2576,12 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Get the properties of an extension -------------------------- + -------------------------- Example 1 -------------------------- PS C:\> - Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" + # Get VM Extension +$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; @@ -2212,11 +2597,12 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Get the status view of an extension -------------------------- + -------------------------- Example 2 -------------------------- PS C:\> - Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" -Status + # Get VM Extension Status +$ext = Get-AzureVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; @@ -2238,50 +2624,50 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMExtensionImage + Get-AzureVMCustomScriptExtension - Get all versions for a particular extension + Get the information about Custom Script extension Get - AzureVMExtensionImage + AzureVMCustomScriptExtension - Get all versions for a particular extension + Get the information about Custom Script extension - Get-AzureVMExtensionImage - - Location + Get-AzureVMCustomScriptExtension + + ResourceGroupName - Location of the extension + Name of the Resource Group of the VM String - - PublisherName + + VMName - Name of extension publisher + Name of the VM String - - Type + + Name - Type of the extension + Name of the extension String - - FilterExpression + + Status - + Get the instance view of the extension - String + SwitchParameter Profile @@ -2290,13 +2676,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - Location + + ResourceGroupName - Location of the extension + Name of the Resource Group of the VM String @@ -2305,10 +2705,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - PublisherName + + VMName - Name of extension publisher + Name of the VM String @@ -2317,10 +2717,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Type + + Name - Type of the extension + Name of the extension String @@ -2329,14 +2729,14 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - FilterExpression + + Status - + Get the instance view of the extension - String + SwitchParameter - String + SwitchParameter @@ -2353,14 +2753,26 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Version + + InformationAction - Version of the extension + - string + ActionPreference - string + ActionPreference + + + + + + InformationVariable + + + + String + + String @@ -2406,7 +2818,29 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMExtensionImage -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection + # Get VM Extension +$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + + + + + + + + + + + + + + + + -------------------------- Example 2 -------------------------- + + PS C:\> + + # Get VM Extension Status +$ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; @@ -2428,72 +2862,79 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMExtensionImageDetail + Get-AzureVMExtension - Get the details on a specific extension + Get the extensions installed on the VM Get - AzureVMExtensionImageDetail + AzureVMExtension - Get the details on a specific extension + Get properties about the extensions installed on a VM. To get only the instance view of the extensions use the -Status switch. - Get-AzureVMExtensionImageDetail - - Location + Get-AzureVMExtension + + ResourceGroupName - Location of the extension + Name of the Resource Group String - - PublisherName + + VMName - Name of the extension publisher + Name of the VM String - - Type + + Name - Type of the extension + Name of the Extension String - - Version + + Status - Version of the extension + Return only the status view of the Extension - String + SwitchParameter - FilterExpression + Profile - String + AzureProfile - Profile + InformationAction - AzureProfile + ActionPreference + + + InformationVariable + + + + String - - Location + + ResourceGroupName - Location of the extension + Name of the Resource Group String @@ -2502,10 +2943,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - PublisherName + + VMName - Name of the extension publisher + Name of the VM String @@ -2514,10 +2955,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Type + + Name - Type of the extension + Name of the Extension String @@ -2526,38 +2967,50 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Version + + Status - Version of the extension + Return only the status view of the Extension - String + SwitchParameter - String + SwitchParameter - FilterExpression + Profile - String + AzureProfile - String + AzureProfile - Profile + InformationAction - AzureProfile + ActionPreference - AzureProfile + ActionPreference + + + + + + InformationVariable + + + + String + + String @@ -2599,11 +3052,31 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Example 1 -------------------------- + -------------------------- Get the properties of an extension -------------------------- PS C:\> - Get-AzureVMExtensionImageDetail -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection -Version 12.1.4100.2 + Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" + + + + + + + + + + + + + + + + -------------------------- Get the status view of an extension -------------------------- + + PS C:\> + + Get-AzureVMExtension -ResourceGroupName "RG1" -VMName "crpVM" -Name "testext" -Status @@ -2625,34 +3098,48 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMExtensionImageType + Get-AzureVMExtensionImage - Get the type of the Azure extension + Get all versions for a particular extension Get - AzureVMExtensionImageType + AzureVMExtensionImage - Get the type of the Azure extension + Get all versions for a particular extension - Get-AzureVMExtensionImageType + Get-AzureVMExtensionImage Location - Location of the Extension + Location of the extension String PublisherName - Name of the extension publisher + Name of extension publisher + + String + + + Type + + Type of the extension + + String + + + FilterExpression + + String @@ -2663,13 +3150,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile - + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + Location - Location of the Extension + Location of the extension String @@ -2681,7 +3182,31 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PublisherName - Name of the extension publisher + Name of extension publisher + + String + + String + + + + + + Type + + Type of the extension + + String + + String + + + + + + FilterExpression + + String @@ -2702,6 +3227,42 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Version + + Version of the extension + + string + + string + + + + @@ -2743,7 +3304,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMExtensionImageType -Location eastus -PublisherName Symantec + Get-AzureVMExtensionImage -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection @@ -2765,48 +3326,48 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMImage + Get-AzureVMExtensionImageDetail - Get all the versions of a VMImage + Get the details on a specific extension Get - AzureVMImage + AzureVMExtensionImageDetail - Get all the versions of a VMImage + Get the details on a specific extension - Get-AzureVMImage + Get-AzureVMExtensionImageDetail Location - Location of the VMImage + Location of the extension String PublisherName - Publisher of the VMImage + Name of the extension publisher String - Offer + Type - Type of VMImage offer + Type of the extension String - - Skus + + Version - VMImage SKU + Version of the extension String @@ -2824,13 +3385,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + Location - Location of the VMImage + Location of the extension String @@ -2842,7 +3417,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PublisherName - Publisher of the VMImage + Name of the extension publisher String @@ -2852,9 +3427,9 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Offer + Type - Type of VMImage offer + Type of the extension String @@ -2863,10 +3438,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Skus + + Version - VMImage SKU + Version of the extension String @@ -2899,14 +3474,26 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Version + + InformationAction - string + ActionPreference - string + ActionPreference + + + + + + InformationVariable + + + + String + + String @@ -2952,7 +3539,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMImage -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY + Get-AzureVMExtensionImageDetail -Location eastus -PublisherName Symantec -Type SymantecEndpointProtection -Version 12.1.4100.2 @@ -2974,64 +3561,57 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMImageDetail + Get-AzureVMExtensionImageType - Returns information about a VMImage + Get the type of the Azure extension Get - AzureVMImageDetail + AzureVMExtensionImageType - Returns information about a VMImage + Get the type of the Azure extension - Get-AzureVMImageDetail + Get-AzureVMExtensionImageType Location - Location of the VMImage + Location of the Extension String PublisherName - Name of the VMImage publisher - - String - - - Offer - - Type of VMImage offer + Name of the extension publisher String - - Skus + + Profile - Type of VMImage SKU + - String + AzureProfile - - Version + + InformationAction - Version of VMImage + - String + ActionPreference - Profile + InformationVariable - AzureProfile + String @@ -3039,7 +3619,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna Location - Location of the VMImage + Location of the Extension String @@ -3051,19 +3631,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PublisherName - Name of the VMImage publisher - - String - - String - - - - - - Offer - - Type of VMImage offer + Name of the extension publisher String @@ -3072,38 +3640,38 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Skus + + Profile - Type of VMImage SKU + - String + AzureProfile - String + AzureProfile - - Version + + InformationAction - Version of VMImage + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -3149,7 +3717,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMImageDetail -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY -Version 15.04.20150422 + Get-AzureVMExtensionImageType -Location eastus -PublisherName Symantec @@ -3171,34 +3739,55 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMImageOffer + Get-AzureVMImage - Returns the VMImage Offer types + Get all the versions of a VMImage Get - AzureVMImageOffer + AzureVMImage - Returns the VMImage Offer types + Get all the versions of a VMImage - Get-AzureVMImageOffer + Get-AzureVMImage Location - Location for the images + Location of the VMImage String PublisherName - Name of the Publisher + Publisher of the VMImage. Use the Get-AzureVMImagePublisher cmdlet to get the values for this parameter. + + String + + + Offer + + Type of VMImage offer. Use the Get-AzureVMImageOffer cmdlet to get the values for this parameter. + + String + + + Skus + + VMImage SKU. Use the Get-AzureVMImageSku cmdlet to get the value of this parameter. + + String + + + FilterExpression + + String @@ -3209,15 +3798,29 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile - - - - - Location - - Location for the images - - String + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + Location + + Location of the VMImage + + String String @@ -3227,7 +3830,43 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PublisherName - Name of the Publisher + Publisher of the VMImage. Use the Get-AzureVMImagePublisher cmdlet to get the values for this parameter. + + String + + String + + + + + + Offer + + Type of VMImage offer. Use the Get-AzureVMImageOffer cmdlet to get the values for this parameter. + + String + + String + + + + + + Skus + + VMImage SKU. Use the Get-AzureVMImageSku cmdlet to get the value of this parameter. + + String + + String + + + + + + FilterExpression + + String @@ -3248,6 +3887,42 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Version + + + + string + + string + + + + @@ -3289,7 +3964,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMImageOffer -Location eastus -PublisherName Canonical + Get-AzureVMImage -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY @@ -3311,23 +3986,23 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMImagePublisher + Get-AzureVMImageDetail - Return the VMImage publishers + Returns information about a VMImage Get - AzureVMImagePublisher + AzureVMImageDetail - Return the VMImage publishers + Returns information about a VMImage - Get-AzureVMImagePublisher + Get-AzureVMImageDetail Location @@ -3335,6 +4010,34 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna String + + PublisherName + + Name of the VMImage publisher + + String + + + Offer + + Type of VMImage offer + + String + + + Skus + + Type of VMImage SKU + + String + + + Version + + Version of VMImage + + String + Profile @@ -3342,6 +4045,20 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -3357,6 +4074,54 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + PublisherName + + Name of the VMImage publisher + + String + + String + + + + + + Offer + + Type of VMImage offer + + String + + String + + + + + + Skus + + Type of VMImage SKU + + String + + String + + + + + + Version + + Version of VMImage + + String + + String + + + + Profile @@ -3369,6 +4134,30 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -3410,7 +4199,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMImagePublisher -Location eastus + Get-AzureVMImageDetail -Location eastus -PublisherName Canonical -Offer UbuntuServer -Skus 15.04-DAILY -Version 15.04.20150422 @@ -3432,27 +4221,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMImageSku + Get-AzureVMImageOffer - Returns VMImage SKUs + Returns the VMImage Offer types Get - AzureVMImageSku + AzureVMImageOffer - Returns VMImage SKUs + Returns the VMImage Offer types - Get-AzureVMImageSku + Get-AzureVMImageOffer Location - Location of the VMImage + Location for the images String @@ -3463,19 +4252,26 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna String - - Offer + + Profile - Type of VMImage offer + - String + AzureProfile - Profile + InformationAction - AzureProfile + ActionPreference + + + InformationVariable + + + + String @@ -3483,7 +4279,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna Location - Location of the VMImage + Location for the images String @@ -3504,35 +4300,47 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Offer + + Profile - Type of VMImage offer + - String + AzureProfile - String + AzureProfile - Profile + InformationAction - AzureProfile + ActionPreference - AzureProfile + ActionPreference - - - - - + + InformationVariable + + + + String + + String + + + + + + + + + @@ -3569,7 +4377,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMImageSku -Location eastus -PublisherName Canonical -Offer UbuntuServer + Get-AzureVMImageOffer -Location eastus -PublisherName Canonical @@ -3591,27 +4399,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMSize + Get-AzureVMImagePublisher - Get the available VM sizes by location, Availability Set or resize an existing VM to + Return the VMImage publishers Get - AzureVMSize + AzureVMImagePublisher - Get the available VM sizes by location, Availability Set or resize an existing VM to + Return the VMImage publishers - Get-AzureVMSize - + Get-AzureVMImagePublisher + Location - Location of the VM + Location of the VMImage String @@ -3622,61 +4430,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile - - - Get-AzureVMSize - - ResourceGroupName - - Resource Group of the VM - - String - - - AvailabilitySetName - - Name of the Availability Set - - String - - Profile + InformationAction - AzureProfile - - - - Get-AzureVMSize - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName - - Name of the VM - - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - + Location - Location of the VM + Location of the VMImage String @@ -3697,34 +4471,22 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - AvailabilitySetName + + InformationAction - Name of the Availability Set + - String + ActionPreference - String + ActionPreference - - VMName + + InformationVariable - Name of the VM + String @@ -3774,50 +4536,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMSize -Location westeurope - - Get the available VM sizes in a location - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureVMSize -ResourceGroupName rg3-AvailabilitySetName av3 + Get-AzureVMImagePublisher -Location eastus - Get available VM sizes you can deploy in an existing availability set - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureVMSize -ResourceGroupName rg3 -VMName vm3 - - Available VM sizes that an existing VM can be resized to - @@ -3836,27 +4558,41 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - Get-AzureVMUsage + Get-AzureVMImageSku - Get the VM core count usage in a location + Returns VMImage SKUs Get - AzureVMUsage + AzureVMImageSku - Get the VM core count usage in a location + Returns VMImage SKUs - Get-AzureVMUsage - + Get-AzureVMImageSku + Location - Location to get VM core count usage in + Location of the VMImage + + String + + + PublisherName + + Name of the Publisher + + String + + + Offer + + Type of VMImage offer String @@ -3867,13 +4603,51 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - + Location - Location to get VM core count usage in + Location of the VMImage + + String + + String + + + + + + PublisherName + + Name of the Publisher + + String + + String + + + + + + Offer + + Type of VMImage offer String @@ -3894,6 +4668,30 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -3935,7 +4733,7 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna PS C:\> - Get-AzureVMUsage -Location eastus + Get-AzureVMImageSku -Location eastus -PublisherName Canonical -Offer UbuntuServer @@ -3957,57 +4755,105 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - New-AzureAvailabilitySet + Get-AzureVMSize - Create an Availability Set + Get the available VM sizes by location, Availability Set or resize an existing VM to - New - AzureAvailabilitySet + Get + AzureVMSize - This cmdlet allows you to create an Availability Set + Get the available VM sizes by location, Availability Set or resize an existing VM to - New-AzureAvailabilitySet + Get-AzureVMSize - ResourceGroupName + Location - Name of Resource Group + Location of the VM String - - Name + + Profile - Name of Availability Set + - String + AzureProfile - - Location + + InformationAction - Location of the Availability Set + + + ActionPreference + + + InformationVariable + + String - - PlatformUpdateDomainCount + + + Get-AzureVMSize + + ResourceGroupName + + Resource Group of the VM + + String + + + AvailabilitySetName + + Name of the Availability Set + + String + + + Profile - Nullable`1[Int32] + AzureProfile - - PlatformFaultDomainCount + + InformationAction - Nullable`1[Int32] + ActionPreference + + + InformationVariable + + + + String + + + + Get-AzureVMSize + + ResourceGroupName + + Resource Group of the VM + + String + + + VMName + + Name of the VM + + String Profile @@ -4016,13 +4862,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - ResourceGroupName + Location - Name of Resource Group + Location of the VM String @@ -4031,22 +4891,34 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - Name + + Profile - Name of Availability Set + - String + AzureProfile - String + AzureProfile - - Location + + InformationAction - Location of the Availability Set + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + String @@ -4055,38 +4927,38 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - PlatformUpdateDomainCount + + ResourceGroupName - + Resource Group of the VM - Nullable`1[Int32] + String - Nullable`1[Int32] + String - - PlatformFaultDomainCount + + AvailabilitySetName - + Name of the Availability Set - Nullable`1[Int32] + String - Nullable`1[Int32] + String - - Profile + + VMName - + Name of the VM - AzureProfile + String - AzureProfile + String @@ -4128,14 +5000,54 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Create an Availability Set -------------------------- + -------------------------- Example 1 -------------------------- PS C:\> - New-AzureAvailabilitySet -ResourceGroupName "RG1" -Name "myASet" -Location "West US" + Get-AzureVMSize -Location westeurope + + Get the available VM sizes in a location + + + + + + + + + + + + + + -------------------------- Example 2 -------------------------- + + PS C:\> + + Get-AzureVMSize -ResourceGroupName rg3-AvailabilitySetName av3 + Get available VM sizes you can deploy in an existing availability set + + + + + + + + + + + + -------------------------- Example 3 -------------------------- + + PS C:\> + + Get-AzureVMSize -ResourceGroupName rg3 -VMName vm3 + + Available VM sizes that an existing VM can be resized to + @@ -4154,77 +5066,58 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - New-AzureVM + Get-AzureVMUsage - Create a new VM + Get the VM core count usage in a location - New - AzureVM + Get + AzureVMUsage - This cmdlet allows you to create a new VM in Azure. This cmdlet takes a VM object as input which can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. + Get the VM core count usage in a location - New-AzureVM + Get-AzureVMUsage - ResourceGroupName - - Name of the Resource Group - - String - - Location - Location of the VM + Location to get VM core count usage in String - - VM + + Profile - VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. + - PSVirtualMachine + AzureProfile - - Name + + InformationAction - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - ResourceGroupName - - Name of the Resource Group - - String - - String - - - - - Location - Location of the VM + Location to get VM core count usage in String @@ -4233,38 +5126,38 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - VM + + Profile - VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. + - PSVirtualMachine + AzureProfile - PSVirtualMachine + AzureProfile - - Name + + InformationAction - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -4306,69 +5199,11 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Create a VM with two Data Disks -------------------------- + -------------------------- Example 1 -------------------------- PS C:\> - PS C:\> # Common - $rgname = "myrg" - $loc = 'West US'; - $vmsize = 'Standard_A2'; - $vmname = 'vm' + $rgname; - - # Create Resource Group - New-AzureResourceGroup -Name $rgname -Location $loc; - - # Create VM Object - $vm = New-AzureVMConfig -VMName $vmname -VMSize $vmsize; - - # Setup Networking - $subnet = New-AzureVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24" -DnsServer "10.1.1.1"; - $vnet = New-AzureVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; - $subnetId = $vnet.Properties.Subnets[0].Id; - $pubip = New-AzurePublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzurePublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; - $pubipId = $pubip.Id; - $nic = New-AzureNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; - $nicId = $nic.Id; - - # Add NIC to VM - $vm = Add-AzureVMNetworkInterface -VM $vm -Id $nicId; - - # Setup Storage - $stoname = 'sto' + $rgname; - $stotype = 'Standard_GRS'; - - New-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname; - - $osDiskName = 'osDisk'; - $osDiskCaching = 'ReadWrite'; - $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; - $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; - - # Add Data Disks - $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1; - $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2; - - # Setup OS & Image - $user = "Foo12"; - $password = 'BaR@123' + $rgname; - $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; - $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); - - $computerName = 'test'; - $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201410.01-en.us-127GB.vhd'; - - $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred; - $vm = Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContainer; - - # Create Virtual Machine - New-AzureVM -ResourceGroupName $rgname -Location $loc -Name $vmname -VM $vm; + Get-AzureVMUsage -Location eastus @@ -4390,44 +5225,58 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - New-AzureVMConfig + New-AzureAvailabilitySet - Create the configurable local VM Object + Create an Availability Set New - AzureVMConfig + AzureAvailabilitySet - This cmdlet allows you to create the configurable local VM Object. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. + This cmdlet allows you to create an Availability Set - New-AzureVMConfig + New-AzureAvailabilitySet - VMName + ResourceGroupName - Name of the VM + Name of Resource Group String - VMSize + Name - Size of the VM + Name of Availability Set String - - AvailabilitySetId + + Location - Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. + Location of the Availability Set String + + PlatformUpdateDomainCount + + + + Nullable`1[Int32] + + + PlatformFaultDomainCount + + + + Nullable`1[Int32] + Profile @@ -4435,13 +5284,27 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - VMName + ResourceGroupName - Name of the VM + Name of Resource Group String @@ -4451,9 +5314,9 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - VMSize + Name - Size of the VM + Name of Availability Set String @@ -4462,10 +5325,10 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - AvailabilitySetId + + Location - Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. + Location of the Availability Set String @@ -4474,6 +5337,30 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + PlatformUpdateDomainCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + + + PlatformFaultDomainCount + + + + Nullable`1[Int32] + + Nullable`1[Int32] + + + + Profile @@ -4486,6 +5373,30 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -4523,15 +5434,11 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - -------------------------- Create a new VM Object -------------------------- + -------------------------- Create an Availability Set -------------------------- PS C:\> - # Get the Availability Set -$as = Get-AzureAvailabilitySet –ResourceGroupName “RG1” –Name “MyASet” - -# Create the VM object -$vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -AvailabilitySetID $as.Id + New-AzureAvailabilitySet -ResourceGroupName "RG1" -Name "myASet" -Location "West US" @@ -4553,23 +5460,23 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureAvailabilitySet + New-AzureStorageAccount - Remove an Availability Set from Azure + Allows you to create a new Storage Account - Remove - AzureAvailabilitySet + New + AzureStorageAccount - Remove an Availability Set from Azure + This cmdlet allows you to create a new Storage Account. - Remove-AzureAvailabilitySet + New-AzureStorageAccount ResourceGroupName @@ -4580,7 +5487,25 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av Name - Name of the Availability Set + Name of the Storage Account + + String + + + Type + + Type of Storage Account. Valid values are +• Standard_LRS (Locally-redundant storage) +• Standard_ZRS (Zone-redundant storage) +• Standard_GRS (Geo-redundant storage) +• Standard_RAGRS (Read access geo-redundant storage) + + String + + + Location + + Location of the Storage Account String @@ -4591,6 +5516,20 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -4609,7 +5548,35 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av Name - Name of the Availability Set + Name of the Storage Account + + String + + String + + + + + + Type + + Type of Storage Account. Valid values are +• Standard_LRS (Locally-redundant storage) +• Standard_ZRS (Zone-redundant storage) +• Standard_GRS (Geo-redundant storage) +• Standard_RAGRS (Read access geo-redundant storage) + + String + + String + + + + + + Location + + Location of the Storage Account String @@ -4630,6 +5597,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -4667,11 +5658,11 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - -------------------------- Remove Availability Set -------------------------- + -------------------------- Example 1 -------------------------- PS C:\> - PS C:\> Remove-AzureAvailabilitySet –Name “MyASet” –ResouceGroupName “RG1” + New-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -Location "US West" -AccountType "Standard_GRS" @@ -4693,43 +5684,45 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVM + New-AzureStorageAccountKey - Remove VM from Azure + Regenerates a storage key for an Azure storage account. - Remove - AzureVM + New + AzureStorageAccountKey - Remove VM from Azure + Regenerates a storage key for an Azure storage account. - Remove-AzureVM + New-AzureStorageAccountKey ResourceGroupName - Name of the Resource Group + Name of the Resource Group the storage account is in String Name - Name of the VM + Name of the Storage Account String - - Force + + KeyName - + Specifies which key to regenerate. Supported value set: +- “key1” +- “key2” - SwitchParameter + String Profile @@ -4738,13 +5731,27 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile - - - - + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + ResourceGroupName - Name of the Resource Group + Name of the Resource Group the storage account is in String @@ -4756,7 +5763,7 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av Name - Name of the VM + Name of the Storage Account String @@ -4765,14 +5772,16 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - Force + + KeyName - + Specifies which key to regenerate. Supported value set: +- “key1” +- “key2” - SwitchParameter + String - SwitchParameter + String @@ -4789,6 +5798,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -4826,11 +5859,12 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - -------------------------- Remove a VM -------------------------- + -------------------------- Example 1 -------------------------- PS C:\> - PS C:\> Remove-AzureVM -ResourceGroupName "myRG" -Name "crpVM" + #Regenerate a key +New-AzureStorageKey -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -keyName "key1" @@ -4852,51 +5886,58 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVMAccessExtension + New-AzureVM - Remove the VMAccess extension from the VM + Create a new VM - Remove - AzureVMAccessExtension + New + AzureVM - Remove the VMAccess extension from the VM + This cmdlet allows you to create a new VM in Azure. This cmdlet takes a VM object as input which can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - Remove-AzureVMAccessExtension - - Force + New-AzureVM + + ResourceGroupName - + Name of the Resource Group - SwitchParameter + String - - ResourceGroupName + + Location - Resource Group of the VM + Location of the VM String - - VMName + + VM - Name of the VM + VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - String + PSVirtualMachine - + Name - Name of extension + String + + Tags + + + + Hashtable[] + Profile @@ -4904,25 +5945,39 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - Force + + ResourceGroupName - + Name of the Resource Group - SwitchParameter + String - SwitchParameter + String - - ResourceGroupName + + Location - Resource Group of the VM + Location of the VM String @@ -4931,22 +5986,22 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - VMName + + VM - Name of the VM + VM object that is configured and represents the state of the VM to be created. The VM object can be created using the New-AzureVMConfig cmdlet. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - String + PSVirtualMachine - String + PSVirtualMachine - + Name - Name of extension + String @@ -4955,6 +6010,18 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + Tags + + + + Hashtable[] + + Hashtable[] + + + + Profile @@ -4967,6 +6034,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -5003,6 +6094,84 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + -------------------------- Create a VM with two Data Disks -------------------------- + + PS C:\> + + PS C:\> # Common + $rgname = "myrg" + $loc = 'West US'; + $vmsize = 'Standard_A2'; + $vmname = 'vm' + $rgname; + + # Create Resource Group + New-AzureResourceGroup -Name $rgname -Location $loc; + + # Create VM Object + $vm = New-AzureVMConfig -VMName $vmname -VMSize $vmsize; + + # Setup Networking + $subnet = New-AzureVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24" -DnsServer "10.1.1.1"; + $vnet = New-AzureVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnetId = $vnet.Properties.Subnets[0].Id; + $pubip = New-AzurePublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzurePublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubipId = $pubip.Id; + $nic = New-AzureNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nicId = $nic.Id; + + # Add NIC to VM + $vm = Add-AzureVMNetworkInterface -VM $vm -Id $nicId; + + # Setup Storage + $stoname = 'sto' + $rgname; + $stotype = 'Standard_GRS'; + + New-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureStorageAccount -ResourceGroupName $rgname -Name $stoname; + + $osDiskName = 'osDisk'; + $osDiskCaching = 'ReadWrite'; + $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; + $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; + $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; + + # Add Data Disks + $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1; + $vm = Add-AzureVMDataDisk -VM $vm -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2; + + # Setup OS & Image + $user = "Foo12"; + $password = 'BaR@123' + $rgname; + $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; + $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); + + $computerName = 'test'; + $vhdContainer = "https://$stoname.blob.core.windows.net/test"; + $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201410.01-en.us-127GB.vhd'; + + $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -Credential $cred; + $vm = Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContainer; + + # Create Virtual Machine + New-AzureVM -ResourceGroupName $rgname -Location $loc -Name $vmname -VM $vm; + + + + + + + + + + + + + + @@ -5010,48 +6179,41 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVMCustomScriptExtension + New-AzureVMConfig - Remove the Custom Script extension from the VM + Create the configurable local VM Object - Remove - AzureVMCustomScriptExtension + New + AzureVMConfig - Remove the Custom Script extension from the VM + This cmdlet allows you to create the configurable local VM Object. The VM object must then be configured correctly using appropriate cmdlets such as Set-AzureVMOperatingSystem, Set-AzureVMSourceImage, Set-AzureVMNetworkInterface etc. before the VM can be created in Azure succesfully. - Remove-AzureVMCustomScriptExtension - - Force + New-AzureVMConfig + + VMName - + Name of the VM - SwitchParameter - - - ResourceGroupName - - Resource Group of the VM - - String + String - VMName + VMSize - Name of the VM + Size of the VM String - - Name + + AvailabilitySetId - Name of the extension to remove + Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. String @@ -5062,25 +6224,27 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - Force - - - - SwitchParameter - - SwitchParameter - - - - - ResourceGroupName + VMName - Resource Group of the VM + Name of the VM String @@ -5090,9 +6254,9 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - VMName + VMSize - Name of the VM + Size of the VM String @@ -5101,10 +6265,10 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - Name + + AvailabilitySetId - Name of the extension to remove + Id of the Availability Set. This can be gotten through Get-AzureAvailabilitySet cmdlet. String @@ -5125,6 +6289,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -5161,6 +6349,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + -------------------------- Create a new VM Object -------------------------- + + PS C:\> + + # Get the Availability Set +$as = Get-AzureAvailabilitySet –ResourceGroupName “RG1” –Name “MyASet” + +# Create the VM object +$vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -AvailabilitySetID $as.Id + + + + + + + + + + + + + + @@ -5168,34 +6380,34 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVMDataDisk + Remove-AzureAvailabilitySet - Remove a Data Disk from the VM + Remove an Availability Set from Azure Remove - AzureVMDataDisk + AzureAvailabilitySet - This cmdlet allows you to remove a Data Disk from the VM + Remove an Availability Set from Azure - Remove-AzureVMDataDisk - - VM + Remove-AzureAvailabilitySet + + ResourceGroupName - Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. + Name of the Resource Group - PSVirtualMachine + String - + Name - Name of the Data Disk to be removed + Name of the Availability Set String @@ -5206,25 +6418,39 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - VM + + ResourceGroupName - Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. + Name of the Resource Group - PSVirtualMachine + String - PSVirtualMachine + String - + Name - Name of the Data Disk to be removed + Name of the Availability Set String @@ -5245,6 +6471,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -5282,18 +6532,11 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - -------------------------- Remove a Data Disk -------------------------- + -------------------------- Remove Availability Set -------------------------- PS C:\> - PS C:\> # Get the VM - $vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" - - # Remove "disk3" Data Disk from the local object - Remove-AzureVMDataDisk -VM $vm -Name 'disk3' - - # Update the state of the Azure VM - Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm + PS C:\> Remove-AzureAvailabilitySet –Name “MyASet” –ResouceGroupName “RG1” @@ -5315,77 +6558,77 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVMExtension + Remove-AzureStorageAccount - Remove an Extension from a VM + Remove Storage Account from Azure Remove - AzureVMExtension + AzureStorageAccount - Remove an extension from a VM + Remove Storage Account from Azure - Remove-AzureVMExtension - - Force - - - - SwitchParameter - + Remove-AzureStorageAccount ResourceGroupName - Name of Resource Group + Name of the Resource Group String - VMName + Name Name of the VM String - - Name + + Profile - Name of the Extension + - String + AzureProfile - Profile + InformationAction - AzureProfile + ActionPreference + + + InformationVariable + + + + String - - Force + + ResourceGroupName - + Name of the Resource Group - SwitchParameter + String - SwitchParameter + String - - ResourceGroupName + + Name - Name of Resource Group + Name of the VM String @@ -5394,38 +6637,38 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - VMName + + Profile - Name of the VM + - String + AzureProfile - String + AzureProfile - - Name + + InformationAction - Name of the Extension + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -5467,11 +6710,11 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - -------------------------- Remove an Extension -------------------------- + -------------------------- Remove Storage Account -------------------------- PS C:\> - PS C:\> Remove-AzureVMExtension –ResouceGroupName "RG" –Name "myext" -VMName "vm1" + PS C:\> Remove-AzureStorageAccount -ResourceGroupName "RG1" -AccountName "myStorageAccount" @@ -5493,19 +6736,1009 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Remove-AzureVMNetworkInterface + Remove-AzureVM - Remove the network interface from the VM + Remove VM from Azure Remove - AzureVMNetworkInterface + AzureVM - Remove the network interface from the VM + Remove VM from Azure + + + + Remove-AzureVM + + ResourceGroupName + + Name of the Resource Group + + String + + + Name + + Name of the VM + + String + + + Force + + + + SwitchParameter + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ResourceGroupName + + Name of the Resource Group + + String + + String + + + + + + Name + + Name of the VM + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Remove a VM -------------------------- + + PS C:\> + + PS C:\> Remove-AzureVM -ResourceGroupName "myRG" -Name "crpVM" + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMAccessExtension + + Remove the VMAccess extension from the VM + + + + + Remove + AzureVMAccessExtension + + + + Remove the VMAccess extension from the VM + + + + Remove-AzureVMAccessExtension + + ResourceGroupName + + Resource Group of the VM + + String + + + VMName + + Name of the VM + + String + + + Name + + Name of extension + + String + + + Force + + + + SwitchParameter + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ResourceGroupName + + Resource Group of the VM + + String + + String + + + + + + VMName + + Name of the VM + + String + + String + + + + + + Name + + Name of extension + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMCustomScriptExtension + + Remove the Custom Script extension from the VM + + + + + Remove + AzureVMCustomScriptExtension + + + + Remove the Custom Script extension from the VM + + + + Remove-AzureVMCustomScriptExtension + + ResourceGroupName + + Resource Group of the VM + + String + + + VMName + + Name of the VM + + String + + + Name + + Name of the extension to remove + + String + + + Force + + + + SwitchParameter + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ResourceGroupName + + Resource Group of the VM + + String + + String + + + + + + VMName + + Name of the VM + + String + + String + + + + + + Name + + Name of the extension to remove + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMDataDisk + + Remove a Data Disk from the VM + + + + + Remove + AzureVMDataDisk + + + + This cmdlet allows you to remove a Data Disk from the VM + + + + Remove-AzureVMDataDisk + + VM + + Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. + + PSVirtualMachine + + + Name + + Name of the Data Disk to be removed + + String + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + VM + + Local VM object to remove the Data Disk from. This object can be gotten from the Get-AzureVM cmdlet. + + PSVirtualMachine + + PSVirtualMachine + + + + + + Name + + Name of the Data Disk to be removed + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Remove a Data Disk -------------------------- + + PS C:\> + + PS C:\> # Get the VM + $vm = Get-AzureVM -ResourceGroupName "myRG" -Name "crpVM" + + # Remove "disk3" Data Disk from the local object + Remove-AzureVMDataDisk -VM $vm -Name 'disk3' + + # Update the state of the Azure VM + Update-AzureVM -ResourceGroupName "myRG" -Name "crpVM" –VM $vm + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMExtension + + Remove an Extension from a VM + + + + + Remove + AzureVMExtension + + + + Remove an extension from a VM + + + + Remove-AzureVMExtension + + ResourceGroupName + + Name of Resource Group + + String + + + VMName + + Name of the VM + + String + + + Name + + Name of the Extension + + String + + + Force + + + + SwitchParameter + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ResourceGroupName + + Name of Resource Group + + String + + String + + + + + + VMName + + Name of the VM + + String + + String + + + + + + Name + + Name of the Extension + + String + + String + + + + + + Force + + + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Remove an Extension -------------------------- + + PS C:\> + + PS C:\> Remove-AzureVMExtension –ResouceGroupName "RG" –Name "myext" -VMName "vm1" + + + + + + + + + + + + + + + + + + + + + + Remove-AzureVMNetworkInterface + + Remove the network interface from the VM + + + + + Remove + AzureVMNetworkInterface + + + + Remove the network interface from the VM @@ -5515,12 +7748,170 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av The VM object - PSVirtualMachine + PSVirtualMachine + + + Id + + + + String + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + VM + + The VM object + + PSVirtualMachine + + PSVirtualMachine + + + + + + Id + + + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Restart-AzureVM + + Restart a VM + + + + + Restart + AzureVM + + + + Restart a VM + + + + Restart-AzureVM + + ResourceGroupName + + Name of Resource Group + + String - Id + Name - + Name of the VM String @@ -5531,25 +7922,39 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - - VM + + ResourceGroupName - The VM object + Name of Resource Group - PSVirtualMachine + String - PSVirtualMachine + String - Id + Name - + Name of the VM String @@ -5570,6 +7975,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -5606,6 +8035,26 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + -------------------------- Example 1 -------------------------- + + PS C:\> + + PS C:\> Restart-AzureVM -ResourceGroupName "myRG" -Name "crpVM" + + + + + + + + + + + + + + @@ -5613,37 +8062,59 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Restart-AzureVM + Save-AzureVMImage - Restart a VM + Allows you to capture your VM as a VMImage - Restart - AzureVM + Save + AzureVMImage - Restart a VM + Allows you to capture your VM as a VMImage. Required step before this is to sysprep the VM and mark it generalized using the Set-AzureVM -Generalize cmdlet. + The output is a JSON template that can be used to deploy from your captured image. - Restart-AzureVM + Save-AzureVMImage ResourceGroupName - Name of Resource Group + Resource Group of the VM String - Name + VMName Name of the VM String + + DestinationContainerName + + This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. + + String + + + VHDNamePrefix + + This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk + + String + + + Overwrite + + Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. + + SwitchParameter + Profile @@ -5651,13 +8122,27 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + ResourceGroupName - Name of Resource Group + Resource Group of the VM String @@ -5667,7 +8152,7 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Name + VMName Name of the VM @@ -5678,6 +8163,42 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + DestinationContainerName + + This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. + + String + + String + + + + + + VHDNamePrefix + + This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk + + String + + String + + + + + + Overwrite + + Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. + + SwitchParameter + + SwitchParameter + + + + Profile @@ -5690,6 +8211,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -5731,9 +8276,9 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av PS C:\> - PS C:\> Restart-AzureVM -ResourceGroupName "myRG" -Name "crpVM" + Save-AzureVMImage -ResourceGroupName "RG1" -VMName "VM1" -DestinationContainerName "VM1" -VHDNamePrefix "VM1" - + Captures the VMImage. The Output property returns a JSON template that can be used to deploy from the captured VMImage. @@ -5753,65 +8298,167 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - Save-AzureVMImage + Set-AzureStorageAccount - Allows you to capture your VM as a VMImage + Update the Storage Account properties - Save - AzureVMImage + Set + AzureStorageAccount - Allows you to capture your VM as a VMImage. Required step before this is to sysprep the VM and mark it generalized using the Set-AzureVM -Generalize cmdlet. - The output is a JSON template that can be used to deploy from your captured image. + This cmdlet allows you to update the Storage Account properties. - Save-AzureVMImage + Set-AzureStorageAccount + + ResourceGroupName + + Name of the Resource Group + + String + + + Name + + Name of the Storage Account + + String + + + Type + + Specifies the account type of the storage account. One of four options: + • Standard_LRS (Locally-redundant storage) + • Standard_GRS (Geo-redundant storage) + • Standard_RAGRS (Read access geo-redundant storage) + • Standard_ZRS + + Note that Standard_ZRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS. + + String + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Set-AzureStorageAccount + + ResourceGroupName + + Name of the Resource Group + + String + + + Name + + Name of the Storage Account + + String + + + CustomDomainName + + The name of the custom domain. + + String + + + UseSubDomain + + + + Nullable`1[Boolean] + + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Set-AzureStorageAccount ResourceGroupName - Resource Group of the VM + Name of the Resource Group String - VMName + Name - Name of the VM + Name of the Storage Account String - - DestinationContainerName + + Tags - This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. + - String + Hashtable[] - - VHDNamePrefix + + Profile - This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk + - String + AzureProfile - - Overwrite + + InformationAction - Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. + - SwitchParameter + ActionPreference - Profile + InformationVariable - AzureProfile + String @@ -5819,7 +8466,7 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av ResourceGroupName - Resource Group of the VM + Name of the Resource Group String @@ -5829,9 +8476,9 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - VMName + Name - Name of the VM + Name of the Storage Account String @@ -5841,9 +8488,15 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - DestinationContainerName + Type - This is the name of the container inside which the vhds constituting the VMImage will reside. If they are spread across multiple storage accounts, one container with this name will be created in each storage account. + Specifies the account type of the storage account. One of four options: + • Standard_LRS (Locally-redundant storage) + • Standard_GRS (Geo-redundant storage) + • Standard_RAGRS (Read access geo-redundant storage) + • Standard_ZRS + + Note that Standard_ZRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS. String @@ -5852,10 +8505,34 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - VHDNamePrefix + + Profile - This is the prefix in the name of the blobs that will constitute the storage profile of the VMImage. For e.g. the OSDisk can be named vhdPrefix-osdisk + + + AzureProfile + + AzureProfile + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + String @@ -5864,26 +8541,50 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - Overwrite + + CustomDomainName - Indicates if any vhds with same Prefix inside the destination Container are encountered, should they be overwritten or not. + The name of the custom domain. - SwitchParameter + String - SwitchParameter + String - - Profile + + UseSubDomain - AzureProfile + Nullable`1[Boolean] - AzureProfile + Nullable`1[Boolean] + + + + + + Tags + + + + Hashtable[] + + Hashtable[] + + + + + + UseSubDomainName + + + + nullable`1[boolean] + + nullable`1[boolean] @@ -5925,13 +8626,35 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - -------------------------- Example 1 -------------------------- + -------------------------- Set Storage Account type -------------------------- PS C:\> - Save-AzureVMImage -ResourceGroupName "RG1" -VMName "VM1" -DestinationContainerName "VM1" -VHDNamePrefix "VM1" + PS C:\> # Set account type + Set-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -AccountType "Standard_RAGRS" - Captures the VMImage. The Output property returns a JSON template that can be used to deploy from the captured VMImage. + + + + + + + + + + + + + + + -------------------------- Set Custom Domain -------------------------- + + PS C:\> + + PS C:\> #Set custom domain + Set-AzureStorageAccount -ResourceGroupName "myResourceGroup" -AccountName "myStorageAccount" -CustomDomainName "domain name" –UseSubDomain “true” + + @@ -5996,6 +8719,20 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -6047,6 +8784,30 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -6127,6 +8888,27 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av Set-AzureVMAccessExtension + + ResourceGroupName + + Resource Group of the VM + + String + + + VMName + + Name of the VM + + String + + + Name + + Name of the extension + + String + TypeHandlerVersion @@ -6155,37 +8937,66 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av String - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName + + Profile - Name of the VM + - String + AzureProfile - - Name + + InformationAction - Name of the extension + - String + ActionPreference - Profile + InformationVariable - AzureProfile + String + + ResourceGroupName + + Resource Group of the VM + + String + + String + + + + + + VMName + + Name of the VM + + String + + String + + + + + + Name + + Name of the extension + + String + + String + + + + TypeHandlerVersion @@ -6234,50 +9045,38 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName + + Profile - Name of the VM + - String + AzureProfile - String + AzureProfile - - Name + + InformationAction - Name of the extension + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -6368,6 +9167,27 @@ Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vm Set-AzureVMCustomScriptExtension + + ResourceGroupName + + Resource Group of the VM + + String + + + VMName + + Name of the VM + + String + + + Name + + Name of the extension + + String + TypeHandlerVersion @@ -6431,6 +9251,30 @@ Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vm String + + Profile + + + + AzureProfile + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Set-AzureVMCustomScriptExtension ResourceGroupName @@ -6452,16 +9296,6 @@ Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vm String - - Profile - - - - AzureProfile - - - - Set-AzureVMCustomScriptExtension TypeHandlerVersion @@ -6497,37 +9331,66 @@ Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vm String - - ResourceGroupName - - Resource Group of the VM - - String - - - VMName + + Profile - Name of the VM + - String + AzureProfile - - Name + + InformationAction - Name of the extension + - String + ActionPreference - Profile + InformationVariable - AzureProfile + String + + ResourceGroupName + + Resource Group of the VM + + String + + String + + + + + + VMName + + Name of the VM + + String + + String + + + + + + Name + + Name of the extension + + String + + String + + + + TypeHandlerVersion @@ -6636,50 +9499,38 @@ Set-AzureVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vm - - ResourceGroupName - - Resource Group of the VM - - String - - String - - - - - - VMName + + Profile - Name of the VM + - String + AzureProfile - String + AzureProfile - - Name + + InformationAction - Name of the extension + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -6854,6 +9705,20 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + Set-AzureVMExtension @@ -6927,6 +9792,20 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -7050,6 +9929,30 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + SettingString @@ -7298,6 +10201,20 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + Set-AzureVMOperatingSystem @@ -7352,6 +10269,20 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -7477,26 +10408,50 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa - - WinRMCertificateUrl + + WinRMCertificateUrl + + URL of certificate in KeyVault to be used for WinRM HTTPS + + Uri + + Uri + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + InformationAction - URL of certificate in KeyVault to be used for WinRM HTTPS + - Uri + ActionPreference - Uri + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -7720,6 +10675,20 @@ $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -C AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + Set-AzureVMOSDisk @@ -7788,6 +10757,20 @@ $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -C AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -7896,6 +10879,30 @@ $vm = Set-AzureVMOperatingSystem -VM $vm -Windows -ComputerName $computerName -C + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + Linux @@ -8036,6 +11043,20 @@ $vm = Set-AzureVMOSDisk -VM $vm -Name $osDiskName -VhdUri $osDiskVhdUri -Caching AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + Set-AzureVMSourceImage @@ -8060,6 +11081,20 @@ $vm = Set-AzureVMOSDisk -VM $vm -Name $osDiskName -VhdUri $osDiskVhdUri -Caching AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -8135,6 +11170,30 @@ $vm = Set-AzureVMOSDisk -VM $vm -Name $osDiskName -VhdUri $osDiskVhdUri -Caching + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + Name @@ -8332,6 +11391,20 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + @@ -8371,6 +11444,30 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + @@ -8451,6 +11548,20 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine Stop-AzureVM + + ResourceGroupName + + Name of the Resource Group + + String + + + Name + + Name of the VM + + String + Force @@ -8465,30 +11576,54 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine SwitchParameter - - ResourceGroupName + + Profile - Name of the Resource Group + - String + AzureProfile - - Name + + InformationAction - Name of the VM + - String + ActionPreference - Profile + InformationVariable - AzureProfile + String + + ResourceGroupName + + Name of the Resource Group + + String + + String + + + + + + Name + + Name of the VM + + String + + String + + + + Force @@ -8513,38 +11648,38 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine - - ResourceGroupName + + Profile - Name of the Resource Group + - String + AzureProfile - String + AzureProfile - - Name + + InformationAction - Name of the VM + - String + ActionPreference - String + ActionPreference - Profile + InformationVariable - AzureProfile + String - AzureProfile + String @@ -8629,27 +11764,34 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine Update-AzureVM - + ResourceGroupName Name of the Resource Group String - + VM The local VM object that contains the updating VM state PSVirtualMachine - + Name Name of the VM String + + Tags + + + + Hashtable[] + Profile @@ -8657,10 +11799,24 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine AzureProfile + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + - + ResourceGroupName Name of the Resource Group @@ -8672,7 +11828,7 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine - + VM The local VM object that contains the updating VM state @@ -8684,7 +11840,7 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine - + Name Name of the VM @@ -8696,6 +11852,18 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine + + Tags + + + + Hashtable[] + + Hashtable[] + + + + Profile @@ -8708,6 +11876,30 @@ Set-AzureVMSourceImage -VM $vm -Name $img -DestinationVhdsContainer $vhdContaine + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.generated.ps1xml b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.generated.ps1xml index e5d31fb83a4f..c79e0451f380 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.generated.ps1xml +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.generated.ps1xml @@ -214,6 +214,14 @@ StorageProfileText + + + DataDiskNames + + + + NetworkInterfaceIds + diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.ps1xml b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.ps1xml index 10a34543f006..e74b2ea3694c 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.ps1xml +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.ps1xml @@ -60,10 +60,6 @@ - - - TrackingOperationId - Status @@ -72,6 +68,10 @@ Output + + + ErrorText + StartTime @@ -81,8 +81,81 @@ EndTime - - ErrorText + + TrackingOperationId + + + + + + + + Microsoft.Azure.Commands.Compute.Models.PSOperationResponse + + Microsoft.Azure.Commands.Compute.Models.PSOperationResponse + + + + + + + + StatusCode + + + + RequestId + + + + + + + + Microsoft.Azure.Management.Compute.Models.DataDisk + + Microsoft.Azure.Management.Compute.Models.DataDisk + + + + + + + + Name + + + + DiskSizeGB + + + + Lun + + + + Caching + + + + CreateOption + + + + SourceImage + + + + + if ($_.VirtualHardDisk -ne $null) + { + $_.VirtualHardDisk.Uri; + } + else + { + $_.VirtualHardDisk; + } + diff --git a/src/ResourceManager/Compute/Commands.Compute/Models/PSOperationResponse.cs b/src/ResourceManager/Compute/Commands.Compute/Models/PSOperationResponse.cs new file mode 100644 index 000000000000..a3a633e2918e --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/Models/PSOperationResponse.cs @@ -0,0 +1,27 @@ +// +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// + +using System.Net; + +namespace Microsoft.Azure.Commands.Compute.Models +{ + public class PSOperationResponse + { + public string RequestId { get; set; } + + public HttpStatusCode StatusCode { get; set; } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/Models/PSVirtualMachine.cs b/src/ResourceManager/Compute/Commands.Compute/Models/PSVirtualMachine.cs index ad992f937933..567609e3a15a 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Models/PSVirtualMachine.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Models/PSVirtualMachine.cs @@ -33,6 +33,7 @@ public string ResourceGroupName { get { + if (string.IsNullOrEmpty(Id)) return null; Regex r = new Regex(@"(.*?)/resourcegroups/(?\S+)/providers/(.*?)", RegexOptions.IgnoreCase); Match m = r.Match(Id); return m.Success ? m.Groups["rgname"].Value : null; @@ -134,5 +135,37 @@ public string StorageProfileText { get { return JsonConvert.SerializeObject(StorageProfile, Formatting.Indented); } } + + [JsonIgnore] + public string [] DataDiskNames + { + get + { + if (this.StorageProfile == null) return null; + + var dataDiskNames = new List(); + foreach (var disk in StorageProfile.DataDisks) + { + dataDiskNames.Add(disk.Name); + } + return dataDiskNames.ToArray(); + } + } + + [JsonIgnore] + public string[] NetworkInterfaceIds + { + get + { + if (this.NetworkProfile == null) return null; + + var nicIds = new List(); + foreach (var nic in NetworkProfile.NetworkInterfaces) + { + nicIds.Add(nic.ReferenceUri); + } + return nicIds.ToArray(); + } + } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs index c7605bac79fa..c1b6347ff8d3 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs @@ -60,6 +60,24 @@ internal Resources() { } } + /// + /// Looks up a localized string similar to Availability set removal operation. + /// + public static string AvailabilitySetRemovalCaption { + get { + return ResourceManager.GetString("AvailabilitySetRemovalCaption", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This cmdlet will remove the specified availability set. Do you want to continue?. + /// + public static string AvailabilitySetRemovalConfirmation { + get { + return ResourceManager.GetString("AvailabilitySetRemovalConfirmation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot specify both Windows and Linux configurations.. /// @@ -78,6 +96,24 @@ public static string CustomScriptExtensionTryToUseTheFirstSpecifiedFileAsRunScri } } + /// + /// Looks up a localized string similar to Get-AzureVMExtensionImageDetail cmdlet will be deprecated in a future release of Azure PowerShell. The functionality is merged into Get-AzureVMExtensionImage cmdlet.. + /// + public static string DeprecationOfGetAzureVMExtensionImageDetail { + get { + return ResourceManager.GetString("DeprecationOfGetAzureVMExtensionImageDetail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get-AzureVMImageDetail cmdlet will be deprecated in a future release of Azure PowerShell. The functionality is merged into Get-AzureVMImage cmdlet.. + /// + public static string DeprecationOfGetAzureVMImageDetail { + get { + return ResourceManager.GetString("DeprecationOfGetAzureVMImageDetail", resourceCulture); + } + } + /// /// Looks up a localized string similar to Virtual machine extension removal operation. /// diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx index c14a2af5faf2..246fc5627a0c 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx @@ -117,12 +117,24 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Availability set removal operation + + + This cmdlet will remove the specified availability set. Do you want to continue? + Cannot specify both Windows and Linux configurations. No Run File has been assigned, and the Custom Script extension will try to use the first specified File Name as the Run File. + + Get-AzureVMExtensionImageDetail cmdlet will be deprecated in a future release of Azure PowerShell. The functionality is merged into Get-AzureVMExtensionImage cmdlet. + + + Get-AzureVMImageDetail cmdlet will be deprecated in a future release of Azure PowerShell. The functionality is merged into Get-AzureVMImage cmdlet. + Virtual machine extension removal operation diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs index ee266482c8ce..cb1ded572da9 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs @@ -38,13 +38,14 @@ public class RemoveAzureVMDataDiskCommand : AzurePSCmdlet [ValidateNotNullOrEmpty] public PSVirtualMachine VM { get; set; } + [Alias("Name")] [Parameter( Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = HelpMessages.VMDataDiskName)] [ValidateNotNullOrEmpty] - public string Name { get; set; } + public string [] DataDiskNames { get; set; } public override void ExecuteCmdlet() { @@ -54,7 +55,10 @@ public override void ExecuteCmdlet() { var disks = storageProfile.DataDisks.ToList(); var comp = StringComparison.OrdinalIgnoreCase; - disks.RemoveAll(d => string.Equals(d.Name, this.Name, comp)); + foreach (var diskName in DataDiskNames) + { + disks.RemoveAll(d => string.Equals(d.Name, diskName, comp)); + } storageProfile.DataDisks = disks; } diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs index f3cae6436a86..c4bcd1c44265 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs @@ -41,30 +41,35 @@ public class RemoveAzureVMNetworkInterfaceCommand : AzurePSCmdlet [ValidateNotNullOrEmpty] public PSVirtualMachine VM { get; set; } - [Alias("NicId", "NetworkInterfaceId")] + [Alias("Id", "NicIds")] [Parameter( Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = HelpMessages.VMNetworkInterfaceID)] [ValidateNotNullOrEmpty] - public string Id { get; set; } + public string[] NetworkInterfaceIds { get; set; } public override void ExecuteCmdlet() { var networkProfile = this.VM.NetworkProfile; - if (networkProfile != null && networkProfile.NetworkInterfaces != null && networkProfile.NetworkInterfaces.Any(nic => string.Equals(nic.ReferenceUri, this.Id, StringComparison.OrdinalIgnoreCase))) + foreach (var id in this.NetworkInterfaceIds) { - var nicReference = networkProfile.NetworkInterfaces.First(nic => string.Equals(nic.ReferenceUri, this.Id, StringComparison.OrdinalIgnoreCase)); - networkProfile.NetworkInterfaces.Remove(nicReference); - - if (!networkProfile.NetworkInterfaces.Any()) + if (networkProfile != null && + networkProfile.NetworkInterfaces != null && + networkProfile.NetworkInterfaces.Any(nic => + string.Equals(nic.ReferenceUri, id, StringComparison.OrdinalIgnoreCase))) { - networkProfile = null; + var nicReference = networkProfile.NetworkInterfaces.First(nic => string.Equals(nic.ReferenceUri, id, StringComparison.OrdinalIgnoreCase)); + networkProfile.NetworkInterfaces.Remove(nicReference); } } + if (!networkProfile.NetworkInterfaces.Any()) + { + networkProfile = null; + } this.VM.NetworkProfile = networkProfile; WriteObject(this.VM); diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj index 2a7c6ad6af41..d38771eab2a5 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj @@ -64,7 +64,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.18.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.7-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.10-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll False diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs index 74b2ccf0bc6d..b8cdaf5a0186 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs @@ -39,6 +39,8 @@ public void TestOnPremDatasourceEncryptionSQLAuth() string linkedServiceType = "OnPremisesSqlLinkedService"; string nonCredentialValue = "Driver=mydriver;server=myserver"; string authenticationType = "Basic"; + string serverName = null; + string databaseName = null; var cmdlet = new NewAzureDataFactoryEncryptValueCommand { @@ -50,17 +52,19 @@ public void TestOnPremDatasourceEncryptionSQLAuth() GatewayName = GatewayName, Type = linkedServiceType, NonCredentialValue = nonCredentialValue, - AuthenticationType = authenticationType + AuthenticationType = authenticationType, + Server = serverName, + Database = databaseName }; // Arrange - this.dataFactoriesClientMock.Setup(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, null, linkedServiceType, nonCredentialValue, authenticationType)).Returns(expectedOutput); + this.dataFactoriesClientMock.Setup(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, null, linkedServiceType, nonCredentialValue, authenticationType, serverName, databaseName)).Returns(expectedOutput); // Action cmdlet.ExecuteCmdlet(); // Assert - this.dataFactoriesClientMock.Verify(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, null, linkedServiceType, nonCredentialValue, authenticationType), Times.Once()); + this.dataFactoriesClientMock.Verify(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, null, linkedServiceType, nonCredentialValue, authenticationType, serverName, databaseName), Times.Once()); this.commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); } @@ -76,6 +80,8 @@ public void TestOnPremDatasourceEncryptionWinAuth() string linkedServiceType = "OnPremisesFileSystemLinkedService"; string nonCredentialValue = "Driver=mydriver;server=myserver"; string authenticationType = "Basic"; + string serverName = null; + string databaseName = null; var cmdlet = new NewAzureDataFactoryEncryptValueCommand { @@ -88,17 +94,19 @@ public void TestOnPremDatasourceEncryptionWinAuth() Credential = credential, Type = linkedServiceType, NonCredentialValue = nonCredentialValue, - AuthenticationType = authenticationType + AuthenticationType = authenticationType, + Server = serverName, + Database = databaseName }; // Arrange - this.dataFactoriesClientMock.Setup(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, credential, linkedServiceType, nonCredentialValue, authenticationType)).Returns(expectedOutput); + this.dataFactoriesClientMock.Setup(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, credential, linkedServiceType, nonCredentialValue, authenticationType, serverName, databaseName)).Returns(expectedOutput); // Action cmdlet.ExecuteCmdlet(); // Assert - this.dataFactoriesClientMock.Verify(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, credential, linkedServiceType, nonCredentialValue, authenticationType), Times.Once()); + this.dataFactoriesClientMock.Verify(f => f.OnPremisesEncryptString(secureString, ResourceGroupName, DataFactoryName, GatewayName, credential, linkedServiceType, nonCredentialValue, authenticationType, serverName, databaseName), Times.Once()); this.commandRuntimeMock.Verify(f => f.WriteObject(expectedOutput), Times.Once()); } } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config index a89699bf2ff3..17b6f5fde259 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config @@ -6,7 +6,7 @@ - + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index 39c56e72a5bd..239ece82a8fe 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -63,7 +63,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.7-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.10-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll False @@ -73,7 +73,8 @@ ..\..\..\packages\Microsoft.DataFactories.Runtime.0.11.1-preview\lib\net45\Microsoft.DataFactories.Runtime.dll - ..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.4.0-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll + ..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.5.0-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll + True False diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs index cdb52cfc0ebd..b8f5c76e11de 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs @@ -40,7 +40,7 @@ internal DataFactoryClient DataFactoryClient { if (this.dataFactoryClient == null) { - this.dataFactoryClient = new DataFactoryClient(Profile.Context); + this.dataFactoryClient = new DataFactoryClient(Profile); } return this.dataFactoryClient; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs index bf798bd7ce54..b8ad8dbac32e 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs @@ -46,9 +46,14 @@ public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet [Parameter(ParameterSetName = ByFactoryName, Position = 4, Mandatory = false, HelpMessage = "The windows authentication credential.")] public PSCredential Credential { get; set; } - [Parameter(ParameterSetName = ByFactoryObject, Position = 4, Mandatory = false, HelpMessage = "The linked service type.")] - [Parameter(ParameterSetName = ByFactoryName, Position = 5, Mandatory = false, HelpMessage = "The linked service type.")] - [ValidateSet("OnPremisesSqlLinkedService", "OnPremisesFileSystemLinkedService", "OnPremisesOracleLinkedService", "OnPremisesOdbcLinkedService", IgnoreCase = true)] + [Parameter(ParameterSetName = ByFactoryObject, Position = 4, Mandatory = false, + HelpMessage = "The linked service type.")] + [Parameter(ParameterSetName = ByFactoryName, Position = 5, Mandatory = false, + HelpMessage = "The linked service type.")] + [ValidateSet("OnPremisesSqlLinkedService", "OnPremisesFileSystemLinkedService", "OnPremisesOracleLinkedService", + "OnPremisesOdbcLinkedService", "OnPremisesPostgreSqlLinkedService", "OnPremisesTeradataLinkedService", + "OnPremisesMySQLLinkedService", "OnPremisesDB2LinkedService", "OnPremisesSybaseLinkedService", + IgnoreCase = true)] public string Type { get; set; } [Parameter(ParameterSetName = ByFactoryObject, Position = 5, Mandatory = false, HelpMessage = "The non-credential value.")] @@ -60,6 +65,14 @@ public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet [ValidateSet("Windows", "Basic", "Anonymous", IgnoreCase = true)] public string AuthenticationType { get; set; } + [Parameter(ParameterSetName = ByFactoryObject, Position = 7, Mandatory = false, HelpMessage = "The server name.")] + [Parameter(ParameterSetName = ByFactoryName, Position = 8, Mandatory = false, HelpMessage = "The server name.")] + public string Server { get; set; } + + [Parameter(ParameterSetName = ByFactoryObject, Position = 8, Mandatory = false, HelpMessage = "The database name.")] + [Parameter(ParameterSetName = ByFactoryName, Position = 9, Mandatory = false, HelpMessage = "The database name.")] + public string Database { get; set; } + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] public override void ExecuteCmdlet() { @@ -85,7 +98,8 @@ public override void ExecuteCmdlet() else { // On-premises encryption with Gateway - encryptedValue = DataFactoryClient.OnPremisesEncryptString(Value, ResourceGroupName, DataFactoryName, GatewayName, Credential, Type, NonCredentialValue, AuthenticationType); + encryptedValue = DataFactoryClient.OnPremisesEncryptString(Value, ResourceGroupName, DataFactoryName, + GatewayName, Credential, Type, NonCredentialValue, AuthenticationType, Server, Database); } WriteObject(encryptedValue); diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml index 73b4c253be53..1049f108e1b1 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml @@ -1,6540 +1,6614 @@ - - - Get-AzureDataFactory - - Gets information about Data Factory. - - - - - Get - AzureDataFactory - - - - The Get-AzureDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactory - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. - - String - - - Name - - Specifies the name of the data factory about which to get information. - - String - - - - - - Name - - Specifies the name of the data factory about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory - - - - - - - - - - - - - Example 1: Get all data factories - - - - - PS C:\> Get-AzureDataFactory -ResourceGroupName "ADF" - DataFactoryName : WikiADF - ResourceGroupName : ADF - Location : WestUS - Tags : {} - Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + Get-AzureDataFactory + + Gets information about Data Factory. + + + + + Get + AzureDataFactory + + + + The Get-AzureDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactory + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. + + String + + + Name + + Specifies the name of the data factory about which to get information. + + String + + + + + + Name + + Specifies the name of the data factory about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about data factories that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory + + + + + + + + + + + + + Example 1: Get all data factories + + + + + PS C:\> Get-AzureDataFactory -ResourceGroupName "ADF" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : WestUS + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration - DataFactoryName : WikiADF2 - ResourceGroupName : ADF - Location : westus - Tags : {} - Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration - - - Displays information about all data factories in the Azure subscription. - - - - - - - - - Example 2: Get a specific data factory - - - - - PS C:\> $DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" - DataFactoryName : WikiADF - ResourceGroupName : ADF - Location : westus - Tags : {} - Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration - - - This command displays information about the data factory named WikiADF in the subscription for the resource group named ADF, and then stores it in the $DataFactory variable. Specify the DataFactory parameter in subsequent cmdlets to use the data factory stored in $DataFactory. - - - - - - - - - - - New-AzureDataFactory - - - - Remove-AzureDataFactory - - - - - - - Get-AzureDataFactoryGateway - - Gets information about logical gateways in Data Factory. - - - - - Get - AzureDataFactoryGateway - - - - The Get-AzureDataFactoryGateway cmdlet gets information about logical gateways in Azure Data Factory. If you specify the name of a gateway, this cmdlet gets information about that gateway. If you do not specify a name, this cmdlet gets information about all gateways for a data factory. - If you want to add an on-premises MicrosoftSQL Server as a linked service to a data factory, you must install a gateway on your on-premises computer. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryGateway - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the logical gateway about which to get information. - - String - - - - Get-AzureDataFactoryGateway - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the logical gateway about which to get information. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. - - String - - String - - - - - - Name - - Specifies the name of the logical gateway about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway - - - - - - - - - - - - - Example 1: Get all logical gateways in a data factory - - - - - PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -DataFactoryName "WikiADF" - Name : gateway1 - Description : - Version : 1.3.5338.1 - Status : Online - VersionStatus : UpToDate - CreateTime : 8/22/2014 1:40:34 AM - RegisterTime : 8/22/2014 1:41:46 AM - LastConnectTime : 8/22/2014 1:44:56 AM - ExpiryTime : + DataFactoryName : WikiADF2 + ResourceGroupName : ADF + Location : westus + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + Displays information about all data factories in the Azure subscription. + + + + + + + + + Example 2: Get a specific data factory + + + + + PS C:\> $DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : westus + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + This command displays information about the data factory named WikiADF in the subscription for the resource group named ADF, and then stores it in the $DataFactory variable. Specify the DataFactory parameter in subsequent cmdlets to use the data factory stored in $DataFactory. + + + + + + + + + + + New-AzureDataFactory + + + + Remove-AzureDataFactory + + + + + + + Get-AzureDataFactoryGateway + + Gets information about logical gateways in Data Factory. + + + + + Get + AzureDataFactoryGateway + + + + The Get-AzureDataFactoryGateway cmdlet gets information about logical gateways in Azure Data Factory. If you specify the name of a gateway, this cmdlet gets information about that gateway. If you do not specify a name, this cmdlet gets information about all gateways for a data factory. + If you want to add an on-premises MicrosoftSQL Server as a linked service to a data factory, you must install a gateway on your on-premises computer. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + + + Get-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about logical gateways in the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the logical gateway about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about logical gateways that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway + + + + + + + + + + + + + Example 1: Get all logical gateways in a data factory + + + + + PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + Name : gateway1 + Description : + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : 8/22/2014 1:41:46 AM + LastConnectTime : 8/22/2014 1:44:56 AM + ExpiryTime : - Name : gateway2 - Description : - Version : 1.3.5338.1 - Status : Offline - VersionStatus : UpToDate - CreateTime : 8/29/2014 1:46:44 AM - RegisterTime : 8/29/2014 1:48:36 AM - LastConnectTime : 8/29/2014 1:56:56 AM - ExpiryTime : - - - This command gets information about all logical gateways for the data factory named WikiADF in the resource group named ADF. - - - - - - - - - Example 2: Get a specific logical gateway in a data factory - - - - - PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "Gateway01" -DataFactoryName "WikiADF" - Name : Gateway01 - Description : - Version : 1.3.5338.1 - Status : Online - VersionStatus : UpToDate - CreateTime : 8/22/2014 1:40:34 AM - RegisterTime : 8/22/2014 1:41:46 AM - LastConnectTime : 8/22/2014 1:44:56 AM - ExpiryTime : - - - This command gets information about the logical gateway named Gateway01 in the data factory named WikiADF in the resource group named ADF. - - - - - - - - - - - New-AzureDataFactoryGateway - - - - Remove-AzureDataFactoryGateway - - - - Set-AzureDataFactoryGateway - - - - - - - Get-AzureDataFactoryHub - - Gets information about hubs in Data Factory. - - - - - Get - AzureDataFactoryHub - - - - The Get-AzureDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets information about that hub. If you do not specify a name, this cmdlet gets information about all of the hubs in a data factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryHub - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the hub about which to get information. - - String - - - - Get-AzureDataFactoryHub - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the hub about which to get information. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. - - String - - String - - - - - - Name - - Specifies the name of the hub about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Get all data hubs - - - - - PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" - - - - This command gets all data hubs in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. - - - - - - - - - Example 2: Get a specific data hub - - - - - PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub" + Name : gateway2 + Description : + Version : 1.3.5338.1 + Status : Offline + VersionStatus : UpToDate + CreateTime : 8/29/2014 1:46:44 AM + RegisterTime : 8/29/2014 1:48:36 AM + LastConnectTime : 8/29/2014 1:56:56 AM + ExpiryTime : + + + This command gets information about all logical gateways for the data factory named WikiADF in the resource group named ADF. + + + + + + + + + Example 2: Get a specific logical gateway in a data factory + + + + + PS C:\> Get-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "Gateway01" -DataFactoryName "WikiADF" + Name : Gateway01 + Description : + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : 8/22/2014 1:41:46 AM + LastConnectTime : 8/22/2014 1:44:56 AM + ExpiryTime : + + + This command gets information about the logical gateway named Gateway01 in the data factory named WikiADF in the resource group named ADF. + + + + + + + + + + + New-AzureDataFactoryGateway + + + + Remove-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + Get-AzureDataFactoryHub + + Gets information about hubs in Data Factory. + + + + + Get + AzureDataFactoryHub + + + + The Get-AzureDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets information about that hub. If you do not specify a name, this cmdlet gets information about all of the hubs in a data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub about which to get information. + + String + + + + Get-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets information about hubs in the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the hub about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets information about hubs that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Get all data hubs + + + + + PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" - - - This command gets information about the hub named MyDataHub in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. - - - - - - - - - - - - Online Version: - - - - New-AzureDataFactoryHub - - - - Remove-AzureDataFactoryHub - - - - - - - Get-AzureDataFactoryLinkedService - - Gets information about linked services in Data Factory. - - - - - Get - AzureDataFactoryLinkedService - - - - The Get-AzureDataFactoryLinkedService cmdlet gets information about linked services in Azure Data Factory. If you specify the name of a linked service, this cmdlet gets information about that linked service. If you do not specify a name, this cmdlet gets information about all the linked services in the data factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryLinkedService - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the linked service about which to get information. - - String - - - - Get-AzureDataFactoryLinkedService - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the linked service about which to get information. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. - - String - - String - - - - - - Name - - Specifies the name of the linked service about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService - - - - - - - - - - - - - Example 1: Get information about all linked services - - - - - PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" | Format-List - - - PS C:\>$df = Get-AzureDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureDataFactoryLinkedService -DataFactory $df | format-list - LinkedServiceName : HDILinkedService - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.HDInsightBYOCLinkedService + + + This command gets all data hubs in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + Example 2: Get a specific data hub + + + + + PS C:\>Get-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub" - LinkedServiceName : LinkedServiceCuratedWikiData - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.AzureStorageLinkedService + + + This command gets information about the hub named MyDataHub in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + + Online Version: + + + + New-AzureDataFactoryHub + + + + Remove-AzureDataFactoryHub + + + + + + + Get-AzureDataFactoryLinkedService + + Gets information about linked services in Data Factory. + + + + + Get + AzureDataFactoryLinkedService + + + + The Get-AzureDataFactoryLinkedService cmdlet gets information about linked services in Azure Data Factory. If you specify the name of a linked service, this cmdlet gets information about that linked service. If you do not specify a name, this cmdlet gets information about all the linked services in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the linked service about which to get information. + + String + + + + Get-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the linked service about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets linked services that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the linked service about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets linked services that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService + + + + + + + + + + + + + Example 1: Get information about all linked services + + + + + PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" | Format-List + + + PS C:\>$df = Get-AzureDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureDataFactoryLinkedService -DataFactory $df | format-list + LinkedServiceName : HDILinkedService + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.HDInsightBYOCLinkedService - LinkedServiceName : LinkedServiceHDIStorage - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.AzureStorageLinkedService - - LinkedServiceName : LinkedServiceWikiAggregatedData - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.AzureSqlLinkedService - - LinkedServiceName : LinkedServiceWikipediaClickEvents - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.AzureStorageLinkedService - - - This command gets information about all linked services in the data factory named WikiADF, and then passes the linked services to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. - You can use either one of the following ways: - - - - - - - - - Example 2: Get information about a specific linked service - - - - - PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "HDILinkedService" - LinkedServiceName ResourceGroupName DataFactoryName Properties - ----------------- ----------------- --------------- ---------- - HDILinkedService ADF WikiADF Microsoft.DataFactories.HDInsightBYOCAsset - - - This command gets information about the linked service named HDILinkedService in the data factory named WikiADF. - - - - - - - - - Example 3: Get information about a specific linked service by specifying the DataFactory parameter - - - - - PS C:\>$DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "ContosoFactory"PS C:\> Get-AzureDataFactoryLinkedService -DataFactory $DataFactory | Format-Table -Property LinkedServiceName, DataFactoryName, ResourceGroupName - - - The first command uses the Get-AzureDataFactory cmdlet to get the data factory named ContosoFactory, and then stores it in the $DataFactory variable. - The second command gets information about the linked service for the data factory stored in $DataFactory, and then passes that information to the Format-Table cmdlet by using the pipeline operator. The Format-Table cmdlet formats the output as a table with the specified properties as table columns. - - - - - - - - - - - New-AzureDataFactoryLinkedService - - - - Remove-AzureDataFactoryLinkedService - - - - - - - Get-AzureDataFactoryPipeline - - Gets information about pipelines in Data Factory. - - - - - Get - AzureDataFactoryPipeline - - - - The Get-AzureDataFactoryPipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryPipeline - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. - - String - - - Name - - Specifies the name of the pipeline about which to get information. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. - - String - - - - Get-AzureDataFactoryPipeline - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the pipeline about which to get information. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. - - String - - String - - - - - - Name - - Specifies the name of the pipeline about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSPipeline, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSPipeline - - - - - - - - - - - - - Example 1: Get information about all pipelines - - - - - PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF" - - - PS C:\>$df = Get-AzureDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureDataFactoryPipeline -DataFactory $df - PipelineName ResourceGroupName DataFactoryName Properties - ------------ ----------------- --------------- ---------- - DPWikisample ADF WikiADF Microsoft.DataFactories.PipelineProperties - DPTwittersample ADF WikiADF Microsoft.DataFactories.PipelineProperties - - - This command gets information about all pipelines in the data factory named WikiADF. You can either one of the following example commands. The second one uses a DataFactory object as a parameter. - - - - - - - - - Example 2: Get information about a specific pipeline - - - - - PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List - PipelineName : DPWikisample - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.PipelineProperties - - - This command gets information about the pipeline named DPWikisample in the data factory named WikiADF. The command passes that information to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. - - - - - - - - - Example 3: Get the properties for a specific pipeline - - - - - PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Properties - Activities : {WikiHiveActivity, BlobToSqlCopyActivity} - Description : DP Wikipedia Sample Pipelines - End : 6/6/2014 8:00:00 AM - IsPaused : - RuntimeInfo : Microsoft.DataFactories.PipelineRuntimeInfo - Start : 6/5/2014 8:00:00 PM - - - This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Properties property associated with that pipeline. - - - - - - - - - Example 4: Get the activities for a specific pipeline - - - - - PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.Activities - Transformation : Microsoft.DataFactories.HDInsightActivityProperties - Description : - Inputs : {DAWikipediaClickEvents} - LinkedServiceName : HDILinkedService - Name : WikiHiveActivity - Outputs : {DACuratedWikiData} - Policy : Microsoft.DataFactories.ActivityPolicy + LinkedServiceName : LinkedServiceCuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService - Transformation : Microsoft.DataFactories.CopyActivityProperties - Description : - Inputs : {DACuratedWikiData} - LinkedServiceName : HDILinkedService - Name : BlobToSqlCopyActivity - Outputs : {DAWikiAggregatedData} - Policy : Microsoft.DataFactories.ActivityPolicy - - - This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. - - - - - - - - - Example 5: Get the runtime information for a specific pipeline - - - - - PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.RuntimeInfo - DeploymentTime - -------------- - 6/5/2014 10:36:46 PM - - - This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the RuntimeInfo property associated with that pipeline. - - - - - - - - - Example 6: Get information about inputs for the first activity - - - - - PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Properties.Activities[0].Inputs | Format-List - EndTime : - Length : - Name : DAWikipediaClickEvents - StartTime : - - - This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. The command displays the Inputs property of the first element of the Activities array by using the Format-List cmdlet. - - - - - - - - - - - New-AzureDataFactoryPipeline - - - - Remove-AzureDataFactoryPipeline - - - - Resume-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - Suspend-AzureDataFactoryPipeline - - - - - - - Get-AzureDataFactoryRun - - Gets runs for a data slice of a table in Data Factory. - - - - - Get - AzureDataFactoryRun - - - - The Get-AzureDataFactoryRun cmdlet gets the runs for a data slice of a table in Azure Data Factory. A table in a data factory is composed of slices over the time axis. The width of a slice is determined by the schedule, either hourly or daily. A run is a unit of processing for a slice. There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures. A slice is identified by its start time. To obtain the start time of a slice, use the Get-AzureDataFactorySlice cmdlet. - - For example, to get a run for the following slice, use the start time 2015-04-02T20:00:00. + LinkedServiceName : LinkedServiceHDIStorage + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService - ResourceGroupName : ADF - DataFactoryName : SPDataFactory0924 - TableName : MarketingCampaignEffectivenessBlobTable - Start : 5/2/2014 8:00:00 PM - End : 5/3/2014 8:00:00 PM - RetryCount : 0 - Status : Ready - LatencyStatus : - - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryRun - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. - - String - - - TableName - - Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - - DateTime - - - - Get-AzureDataFactoryRun - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - - TableName - - Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - - DateTime - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. - - String - - String - - - - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - - DateTime - - DateTime - - - - - - TableName - - Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSliceRun, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] - - - - - - - - - - - - - Example 1: Get a table - - - - - PS C:\> Get-AzureDataFactoryRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z + LinkedServiceName : LinkedServiceWikiAggregatedData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureSqlLinkedService - Id : a7c4913c-9623-49b3-ae1e-3e45e2b68819 - ResourceGroupName : ADF - DataFactoryName : WikiADF - TableName : DAWikiAggregatedData - PipelineName : 249ea141-ca00-8597-fad9-a148e5e7bdba - ActivityId : fcefe2bd-39b1-2d7a-7b35-bcc2b0432300 - ResumptionToken : a7c4913c-9623-49b3-ae1e-3e45e2b68819 - ContinuationToken : - ProcessingStartTime : 5/21/2014 5:02:41 PM - ProcessingEndTime : 5/21/2014 5:04:12 PM - PercentComplete : 100 - DataSliceStart : 5/21/2014 4:00:00 PM - DataSliceEnd : 5/21/2014 5:00:00 PM - Status : Succeeded - Timestamp : 5/21/2014 5:02:41 PM - RetryAttempt : 0 - Properties : {[errors, ]} - ErrorMessage : - - - This command gets all runs for slices of the table named DAWikiAggregatedData in the data factory named WikiADF that start from 4 PM GMT on 05/21/2014. - - - - - - - - - - - Get-AzureDataFactorySlice - - - - - - - Get-AzureDataFactorySlice - - Gets data slices for a table in Data Factory. - - - - - Get - AzureDataFactorySlice - - - - The Get-AzureDataFactorySlice cmdlet gets data slices for a table in Azure Data Factory. Specify a start time and an end time to define a range of data slices to view. - - The status of a data slice is one of the following values: + LinkedServiceName : LinkedServiceWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + + This command gets information about all linked services in the data factory named WikiADF, and then passes the linked services to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + You can use either one of the following ways: + + + + + + + + + Example 2: Get information about a specific linked service + + + + + PS C:\> Get-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "HDILinkedService" + LinkedServiceName ResourceGroupName DataFactoryName Properties + ----------------- ----------------- --------------- ---------- + HDILinkedService ADF WikiADF Microsoft.DataFactories.HDInsightBYOCAsset + + + This command gets information about the linked service named HDILinkedService in the data factory named WikiADF. + + + + + + + + + Example 3: Get information about a specific linked service by specifying the DataFactory parameter + + + + + PS C:\>$DataFactory = Get-AzureDataFactory -ResourceGroupName "ADF" -Name "ContosoFactory"PS C:\> Get-AzureDataFactoryLinkedService -DataFactory $DataFactory | Format-Table -Property LinkedServiceName, DataFactoryName, ResourceGroupName + + + The first command uses the Get-AzureDataFactory cmdlet to get the data factory named ContosoFactory, and then stores it in the $DataFactory variable. + The second command gets information about the linked service for the data factory stored in $DataFactory, and then passes that information to the Format-Table cmdlet by using the pipeline operator. The Format-Table cmdlet formats the output as a table with the specified properties as table columns. + + + + + + + + + + + New-AzureDataFactoryLinkedService + + + + Remove-AzureDataFactoryLinkedService + + + + + + + Get-AzureDataFactoryPipeline + + Gets information about pipelines in Data Factory. + + + + + Get + AzureDataFactoryPipeline + + + + The Get-AzureDataFactoryPipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + String + + + + Get-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the pipeline about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSPipeline, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSPipeline + + + + + + + + + + + + + Example 1: Get information about all pipelines + + + + + PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + + + PS C:\>$df = Get-AzureDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureDataFactoryPipeline -DataFactory $df + PipelineName ResourceGroupName DataFactoryName Properties + ------------ ----------------- --------------- ---------- + DPWikisample ADF WikiADF Microsoft.DataFactories.PipelineProperties + DPTwittersample ADF WikiADF Microsoft.DataFactories.PipelineProperties + + + This command gets information about all pipelines in the data factory named WikiADF. You can either one of the following example commands. The second one uses a DataFactory object as a parameter. + + + + + + + + + Example 2: Get information about a specific pipeline + + + + + PS C:\> Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List + PipelineName : DPWikisample + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.PipelineProperties + + + This command gets information about the pipeline named DPWikisample in the data factory named WikiADF. The command passes that information to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + Example 3: Get the properties for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Properties + Activities : {WikiHiveActivity, BlobToSqlCopyActivity} + Description : DP Wikipedia Sample Pipelines + End : 6/6/2014 8:00:00 AM + IsPaused : + RuntimeInfo : Microsoft.DataFactories.PipelineRuntimeInfo + Start : 6/5/2014 8:00:00 PM + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Properties property associated with that pipeline. + + + + + + + + + Example 4: Get the activities for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.Activities + Transformation : Microsoft.DataFactories.HDInsightActivityProperties + Description : + Inputs : {DAWikipediaClickEvents} + LinkedServiceName : HDILinkedService + Name : WikiHiveActivity + Outputs : {DACuratedWikiData} + Policy : Microsoft.DataFactories.ActivityPolicy - -- PendingExecution. Data processing has not started. - -- InProgress. Data processing is in progress. - -- Ready. Data processing is completed. The data slice is ready for dependent slices to consume it. - -- Failed. The run that produces the slice failed. - -- Skip. Data Factory skips processing of the slice. - -- Retry. Data Factory retries the run that produces the slice. - -- Timed Out. Data processing has timed out. - -- PendingValidation. Data slice is waiting for validation before it is processed. - -- Retry Validation. Data Factory retries the validation of the slice. - -- Failed Validation. Validation of the slice failed. - - For each of the slices, you can see more information about the run that produces the slice by using the Get-AzureDataFactoryRun cmdlet. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactorySlice - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. - - String - - - TableName - + Transformation : Microsoft.DataFactories.CopyActivityProperties + Description : + Inputs : {DACuratedWikiData} + LinkedServiceName : HDILinkedService + Name : BlobToSqlCopyActivity + Outputs : {DAWikiAggregatedData} + Policy : Microsoft.DataFactories.ActivityPolicy + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. + + + + + + + + + Example 5: Get the runtime information for a specific pipeline + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.RuntimeInfo + DeploymentTime + -------------- + 6/5/2014 10:36:46 PM + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the RuntimeInfo property associated with that pipeline. + + + + + + + + + Example 6: Get information about inputs for the first activity + + + + + PS C:\> (Get-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Properties.Activities[0].Inputs | Format-List + EndTime : + Length : + Name : DAWikipediaClickEvents + StartTime : + + + This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. The command displays the Inputs property of the first element of the Activities array by using the Format-List cmdlet. + + + + + + + + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Get-AzureDataFactoryRun + + Gets runs for a data slice of a table in Data Factory. + + + + + Get + AzureDataFactoryRun + + + + The Get-AzureDataFactoryRun cmdlet gets the runs for a data slice of a table in Azure Data Factory. A table in a data factory is composed of slices over the time axis. The width of a slice is determined by the schedule, either hourly or daily. A run is a unit of processing for a slice. There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures. A slice is identified by its start time. To obtain the start time of a slice, use the Get-AzureDataFactorySlice cmdlet. - Specifies the name of the table for which this cmdlet gets slices. + For example, to get a run for the following slice, use the start time 2015-04-02T20:00:00. + + ResourceGroupName : ADF + DataFactoryName : SPDataFactory0924 + TableName : MarketingCampaignEffectivenessBlobTable + Start : 5/2/2014 8:00:00 PM + End : 5/3/2014 8:00:00 PM + RetryCount : 0 + Status : Ready + LatencyStatus : - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - - Get-AzureDataFactorySlice - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - - TableName - + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryRun + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + + DateTime + + + + Get-AzureDataFactoryRun + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + + DateTime + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets runs for slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets runs for slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets runs for the data slices that match this time period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + + DateTime + + DateTime + + + + + + TableName + + Specifies the name of the table. This cmdlet gets runs for slices that belong to the table that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSliceRun, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] + + + + + + + + + + + + + Example 1: Get a table + + + + + PS C:\> Get-AzureDataFactoryRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z + + Id : a7c4913c-9623-49b3-ae1e-3e45e2b68819 + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + PipelineName : 249ea141-ca00-8597-fad9-a148e5e7bdba + ActivityId : fcefe2bd-39b1-2d7a-7b35-bcc2b0432300 + ResumptionToken : a7c4913c-9623-49b3-ae1e-3e45e2b68819 + ContinuationToken : + ProcessingStartTime : 5/21/2014 5:02:41 PM + ProcessingEndTime : 5/21/2014 5:04:12 PM + PercentComplete : 100 + DataSliceStart : 5/21/2014 4:00:00 PM + DataSliceEnd : 5/21/2014 5:00:00 PM + Status : Succeeded + Timestamp : 5/21/2014 5:02:41 PM + RetryAttempt : 0 + Properties : {[errors, ]} + ErrorMessage : + + + This command gets all runs for slices of the table named DAWikiAggregatedData in the data factory named WikiADF that start from 4 PM GMT on 05/21/2014. + + + + + + + + + + + Get-AzureDataFactorySlice + + + + + + + Get-AzureDataFactorySlice + + Gets data slices for a table in Data Factory. + + + + + Get + AzureDataFactorySlice + + + + The Get-AzureDataFactorySlice cmdlet gets data slices for a table in Azure Data Factory. Specify a start time and an end time to define a range of data slices to view. - Specifies the name of the table for which this cmdlet gets slices. - - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. - - String - - String - - - - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. - - String - - String - - - - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - TableName - - - Specifies the name of the table for which this cmdlet gets slices. - - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSlice, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] - - - - - - - - - - - - - Example 1: Get data slices for a table - - - - - PS C:\> Get-AzureDataFactorySlice -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-20T10:00:00Z + The status of a data slice is one of the following values: - ResourceGroupName : ADF - DataFactoryName : WikiADF - TableName : DAWikiAggregatedData - Start : 5/21/2014 1:00:00 AM - End : 5/21/2014 2:00:00 AM - RetryCount : 0 - Status : Ready + -- PendingExecution. Data processing has not started. + -- InProgress. Data processing is in progress. + -- Ready. Data processing is completed. The data slice is ready for dependent slices to consume it. + -- Failed. The run that produces the slice failed. + -- Skip. Data Factory skips processing of the slice. + -- Retry. Data Factory retries the run that produces the slice. + -- Timed Out. Data processing has timed out. + -- PendingValidation. Data slice is waiting for validation before it is processed. + -- Retry Validation. Data Factory retries the validation of the slice. + -- Failed Validation. Validation of the slice failed. + + For each of the slices, you can see more information about the run that produces the slice by using the Get-AzureDataFactoryRun cmdlet. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactorySlice + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + + Get-AzureDataFactorySlice + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This cmdlet gets slices produced before the time that this parameter specifies. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This cmdlet gets slices produced after the time that this parameter specifies. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + TableName + + + Specifies the name of the table for which this cmdlet gets slices. + + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataSlice, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] + + + + + + + + + + + + + Example 1: Get data slices for a table + + + + + PS C:\> Get-AzureDataFactorySlice -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-20T10:00:00Z - ResourceGroupName : ADF - DataFactoryName : WikiADF - TableName : DAWikiAggregatedData - Start : 5/21/2014 2:00:00 AM - End : 5/21/2014 3:00:00 AM - RetryCount : 0 - Status : Ready + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 1:00:00 AM + End : 5/21/2014 2:00:00 AM + RetryCount : 0 + Status : Ready - . . . + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 2:00:00 AM + End : 5/21/2014 3:00:00 AM + RetryCount : 0 + Status : Ready - ResourceGroupName : ADF - DataFactoryName : WikiADF - TableName : DAWikiAggregatedData - Start : 5/21/2014 8:00:00 PM - End : 5/21/2014 9:00:00 PM - RetryCount : 0 - Status : PendingExecution + . . . - ResourceGroupName : ADF - DataFactoryName : WikiADF - TableName : DAWikiAggregatedData - Start : 5/21/2014 9:00:00 PM - End : 5/21/2014 10:00:00 PM - RetryCount : 0 - Status : PendingExecution + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 8:00:00 PM + End : 5/21/2014 9:00:00 PM + RetryCount : 0 + Status : PendingExecution - . . . - - - - This command gets all the data slices for the table named WikiAggregatedData in the data factory named WikiADF. The command gets slices produced after the time that the StartDateTime parameter specifies. The following example code sets the availability for this table every hour in the JavaScript Object Notation (JSON) file. + ResourceGroupName : ADF + DataFactoryName : WikiADF + TableName : DAWikiAggregatedData + Start : 5/21/2014 9:00:00 PM + End : 5/21/2014 10:00:00 PM + RetryCount : 0 + Status : PendingExecution - availability: - { - period: "Hour", - periodMultiplier: 1 - } - - Some of the results are Ready and others are PendingExecution. Ready slices have already run. The pending slices are waiting to run at the end of each hour in the interval that the Set-AzureDataFactoryPipelineActivePeriod cmdlet specifies. In this example, both start and end periods for the pipeline and the slice have a value of one day (24 hours). - - - - - - - - - - - Set-AzureDataFactorySliceStatus - - - - Get-AzureDataFactoryRun - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - - - - Get-AzureDataFactoryTable - - Gets information about tables in Data Factory. - - - - - Get - AzureDataFactoryTable - - - - The Get-AzureDataFactoryTable cmdlet gets information about tables in Azure Data Factory. If you specify the name of a table, this cmdlet gets information about that table. If you do not specify a name, this cmdlet gets information about all the tables in the data factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Get-AzureDataFactoryTable - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the table about which to get information. - - String - - - - Get-AzureDataFactoryTable - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the table about which to get information. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. - - String - - String - - - - - - Name - - Specifies the name of the table about which to get information. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSTable, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSTable - - - - - - - - - - - - - Example 1: Get information about all tables - - - - - PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" - TableName : DACuratedWikiData - ResourceGroupName : ADF - DataFactoryName : WikiADF - Availability : Microsoft.DataFactories.Availability - Location : - Policy : - Structure : {} - Published : False + . . . + + + + This command gets all the data slices for the table named WikiAggregatedData in the data factory named WikiADF. The command gets slices produced after the time that the StartDateTime parameter specifies. The following example code sets the availability for this table every hour in the JavaScript Object Notation (JSON) file. - TableName : DAWikipediaClickEvents - ResourceGroupName : ADF - DataFactoryName : WikiADF - Availability : Microsoft.DataFactories.Availability - Location : - Policy : - Structure : {} - Published : False + availability: + { + period: "Hour", + periodMultiplier: 1 + } + + Some of the results are Ready and others are PendingExecution. Ready slices have already run. The pending slices are waiting to run at the end of each hour in the interval that the Set-AzureDataFactoryPipelineActivePeriod cmdlet specifies. In this example, both start and end periods for the pipeline and the slice have a value of one day (24 hours). + + + + + + + + + + + Set-AzureDataFactorySliceStatus + + + + Get-AzureDataFactoryRun + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + + + + Get-AzureDataFactoryTable + + Gets information about tables in Data Factory. + + + + + Get + AzureDataFactoryTable + + + + The Get-AzureDataFactoryTable cmdlet gets information about tables in Azure Data Factory. If you specify the name of a table, this cmdlet gets information about that table. If you do not specify a name, this cmdlet gets information about all the tables in the data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Get-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table about which to get information. + + String + + + + Get-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table about which to get information. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet gets tables that belong to the data factory that this parameter specifies. + + String + + String + + + + + + Name + + Specifies the name of the table about which to get information. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet gets tables that belong to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSTable, Microsoft.WindowsAzure.Commands.Utilities, Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSTable + + + + + + + + + + + + + Example 1: Get information about all tables + + + + + PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + TableName : DACuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False - TableName : DAWikiAggregatedData - ResourceGroupName : ADF - DataFactoryName : WikiADF - Availability : Microsoft.DataFactories.Availability - Location : - Policy : - Structure : {} - Published : False - - - This command gets information about all tables in the data factory named WikiADF. - - - - - - - - - Example 2: Get information about a specific table - - - - - PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" - TableName : DAWikipediaClickEvents - ResourceGroupName : ADF - DataFactoryName : WikiADF - Availability : Microsoft.DataFactories.Availability - Location : Microsoft.DataFactories.AzureBlobLocation - Policy : Microsoft.DataFactories.Policy - Structure : {} - Published : False - - - This command gets information about the table named DAWikipediaClickEvents in the data factory named WikiADF. - - - - - - - - - Example 3: Get the location for a specific table - - - - - PS C:\> (Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location - BlobPath : wikidatagateway/wikisampledatain/ - FilenamePrefix : - Format : - LinkedServiceName : LinkedServiceWikipediaClickEvents - PartitionBy : {} - - - This command gets information for the table named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation to view the Location associated with that table. Alternatively, assign the output of the Get-AzureDataFactoryTable cmdlet to a variable, and then use dot notation to view the Location property associated with the table object stored in that variable. - - - - - - - - - - - New-AzureDataFactoryTable - - - - Remove-AzureDataFactoryTable - - - - - - - New-AzureDataFactory - - Creates a data factory. - - - - - New - AzureDataFactory - - - - The New-AzureDataFactory cmdlet creates a data factory with the specified resource group name and location. - - Perform these operations in the following order: + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False - -- Create a data factory. - -- Create linked services. - -- Create tables. - -- Create a pipeline. - - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactory - - ResourceGroupName - - - Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. - - - String - - - Name - - Specifies the name of the data factory to create. - - String - - - Location - - Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. - - String - - - Tags - + TableName : DAWikiAggregatedData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : + Policy : + Structure : {} + Published : False + + + This command gets information about all tables in the data factory named WikiADF. + + + + + + + + + Example 2: Get information about a specific table + + + + + PS C:\> Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : Microsoft.DataFactories.AzureBlobLocation + Policy : Microsoft.DataFactories.Policy + Structure : {} + Published : False + + + This command gets information about the table named DAWikipediaClickEvents in the data factory named WikiADF. + + + + + + + + + Example 3: Get the location for a specific table + + + + + PS C:\> (Get-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} + + + This command gets information for the table named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation to view the Location associated with that table. Alternatively, assign the output of the Get-AzureDataFactoryTable cmdlet to a variable, and then use dot notation to view the Location property associated with the table object stored in that variable. + + + + + + + + + + + New-AzureDataFactoryTable + + + + Remove-AzureDataFactoryTable + + + + + + + New-AzureDataFactory + + Creates a data factory. + + + + + New + AzureDataFactory + + + + The New-AzureDataFactory cmdlet creates a data factory with the specified resource group name and location. - Specifies tags for the data factory. + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. - - Hashtable - - - Force - - Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. - - - - - - - Force - - Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Location - - Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. - - String - - String - - - - - - Name - - Specifies the name of the data factory to create. - - String - - String - - - - - - ResourceGroupName + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactory + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + + String + + + Name + + Specifies the name of the data factory to create. + + String + + + Location + + Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. + + String + + + Tags + + + Specifies tags for the data factory. + + + Hashtable + + + Force + + Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. + + + + + + + Force + + Indicates that this cmdlet replaces an existing data factory without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Location + + Specifies the location for the data factory, such as WestUS or EastUS. Only WestUS is currently supported. + + String + + String + + + + + + Name + + Specifies the name of the data factory to create. + + String + + String + + + + + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + + String + + String + + + + + + Tags + + + Specifies tags for the data factory. + + + Hashtable + + Hashtable + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory + + + + + + + + + + + + + Example 1: Create a data factory + + + + + PS C:\> New-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS" + DataFactoryName : WikiADF + ResourceGroupName : ADF + Location : WestUS + Tags : {} + Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration + + + This command creates a data factory named WikiADF in the resource group named ADF in the WestUS location. + + + + + + + + + + + Get-AzureDataFactory + + + + Remove-AzureDataFactory + + + + + + + New-AzureDataFactoryEncryptValue + + Encrypts sensitive data. + + + + + New + AzureDataFactoryEncryptValue + + + + The New-AzureDataFactoryEncryptValue cmdlet encrypts sensitive data, such as a password or a MicrosoftSQL Server connection string, and returns an encrypted value. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryEncryptValue + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. + + String + + + Value + + Specifies the value to encrypt. For an on-premises SQL Server linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. + + SecureString + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + + Credential + + Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. + + PSCredential + + + Type + + Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, OnPremisesOdbcLinkedService, "OnPremisesPostgreSqlLinkedService", "OnPremisesTeradataLinkedService", "OnPremisesMySQLLinkedService", "OnPremisesDB2LinkedService", and "OnPremisesSybaseLinkedService". + + String + + + NonCredentialValue + + Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. + + String + + + AuthenticationType + + Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. + + String + + + Server + + Specifies the server name of the linked service. + + String + + + Database + + Specifies the database name of the linked service. + + String + + + + New-AzureDataFactoryEncryptValue + + DataFactory + + Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. + + PSDataFactory + + + Value + + Specifies the value to encrypt. For an on-premises SQL linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. + + SecureString + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + + Credential + + Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. + + PSCredential + + + Type + + Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, OnPremisesOdbcLinkedService, "OnPremisesPostgreSqlLinkedService", "OnPremisesTeradataLinkedService", "OnPremisesMySQLLinkedService", "OnPremisesDB2LinkedService", and "OnPremisesSybaseLinkedService". + + String + + + NonCredentialValue + + Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. + + String + + + AuthenticationType + + Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. + + String + + + Server + + Specifies the server name of the linked service. + + String + + + Database + + Specifies the database name of the linked service. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. + + String + + String + + + + + + GatewayName + + Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. + + String + + String + + + + + + Value + + Specifies the value to encrypt. For an on-premises SQL Server linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For an on-premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. + + SecureString + + SecureString + + + + + + Credential + + Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. + + PSCredential + + PSCredential + + + + + + Type + + Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, OnPremisesOdbcLinkedService, "OnPremisesPostgreSqlLinkedService", "OnPremisesTeradataLinkedService", "OnPremisesMySQLLinkedService", "OnPremisesDB2LinkedService", and "OnPremisesSybaseLinkedService". + + String + + String + + + + + + NonCredentialValue + + Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. + + String + + String + + + + + + AuthenticationType + + Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. + + String + + String + + + + + + Server + + Specifies the server name of the linked service. + + String + + String + + + + + + Database + + Specifies the database name of the linked service. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.String + + + + + + + + + + + + + Example 1: Encrypt a non-ODBC connection string + + + + + PS C:\>$Value = ConvertTo-SecureString 'Data Source=ContosoServer;Initial Catalog=catelog;user id =user123;password=password123' -AsPlainText -Force + + + PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesSqlLinkedService + data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed values: SQL Server or Oracle connection string. + The second command creates an encrypted value for the object stored in $Value for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + Example 2: Encrypt a non-ODBC connection string that uses Windows authentication. + + + + + PS C:\>$Value = ConvertTo-SecureString 'Data Source=ContosoServer;Initial Catalog=catelog;Integrated Security=True' -AsPlainText -Force + + + PS C:\>$Credential = Get-Credential + + + PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesSqlLinkedService + data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed value: SQL Server connection string. + The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. + The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + Example 3: Encrypt server name and credentials for File system linked service + + + + + PS C:\> $Value = ConvertTo-SecureString '\\servername' -AsPlainText -Force + PS C:\> $Credential = Get-Credential + PS C:\> New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesFileSystemLinkedService + KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified string to a SecureString object, and then stores that object in the $Value variable. + The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. + The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + Example 4: Encrypt an ODBC connection string + + + + + PS C:\>$Value = ConvertTo-SecureString 'UID=user123;PWD=password123;AuthMode=mode1;Token=token1' -AsPlainText -Force + + + PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Basic" + Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed values: ODBC credential connection string. + The second command creates an encrypted value for the object stored in $Value for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + Example 5: Encrypt a windows authentication ODBC connection string + + + + + PS C:\>$Value = ConvertTo-SecureString 'AuthMode=mode1;Token=token1' -AsPlainText -Force + + + PS C:\>$Credential = Get-Credential + + + PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Windows" + Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== + + + The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed value: ODBC credential connection string. + The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. + The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + Example 6: Encrypt PostgreSql, Teradata, MySQL, DB2 and Sybase linked service credentials + + + + + PS C:\>$Credential = Get-Credential + + + PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesPostgreSqlLinkedService -AuthenticationType "Windows" -Server "ContosoServer" -Database "ContosoDatabase" + KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XA== + + + The first command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. + The second command creates an encrypted value for the object stored in $Credential for the specified data factory, gateway, resource group, and linked service type. + + + + + + + + + + + + + + + + + + New-AzureDataFactoryGateway + + Creates a gateway for Data Factory. + + + + + New + AzureDataFactoryGateway + + + + The New-AzureDataFactoryGateway cmdlet creates a gateway in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway to create. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + New-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway to create. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. + + String + + String + + + + + + Description + + Specifies a description for the gateway. + + String + + String + + + + + + Name + + Specifies the name of the gateway to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey + + + + + + + + + + + + + Example 1: Create a gateway + + + + + PS C:\> New-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" + Name : ContosoGateway + Description : my gateway + Version : + Status : NeedRegistration + VersionStatus : None + CreateTime : 8/22/2014 1:40:34 AM + RegisterTime : + LastConnectTime : + ExpiryTime : + + + This command creates a gateway named ContosoGateway in the data factory named WikiADF in the resource group named ADF. + + + + + + + + + + + Remove-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + New-AzureDataFactoryGatewayKey + + Creates a gateway key for Data Factory. + + + + + New + AzureDataFactoryGatewayKey + + - - Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. - - - String - - String - - - - - - Tags - - - Specifies tags for the data factory. - - - Hashtable - - Hashtable - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSDataFactory - - - - - - - - - - - - - Example 1: Create a data factory - - - - - PS C:\> New-AzureDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS" - DataFactoryName : WikiADF - ResourceGroupName : ADF - Location : WestUS - Tags : {} - Properties : Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryConfiguration - - - This command creates a data factory named WikiADF in the resource group named ADF in the WestUS location. - - - - - - - - - - - Get-AzureDataFactory - - - - Remove-AzureDataFactory - - - - - - - New-AzureDataFactoryEncryptValue - - Encrypts sensitive data. - - - - - New - AzureDataFactoryEncryptValue - - - - The New-AzureDataFactoryEncryptValue cmdlet encrypts sensitive data, such as a password or a MicrosoftSQL Server connection string, and returns an encrypted value. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryEncryptValue - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. - - String - - - Value - - Specifies the value to encrypt. For an on-premises SQL Server linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. - - SecureString - - - GatewayName - - Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. - - String - - - Credential - - Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. - - PSCredential - - - Type - - Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, and OnPremisesOdbcLinkedService. - - String - - - NonCredentialValue - - Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. - - String - - - AuthenticationType - - Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. - - String - - - - New-AzureDataFactoryEncryptValue - - DataFactory - - Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. - - PSDataFactory - - - Value - - Specifies the value to encrypt. For an on-premises SQL linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. - - SecureString - - - GatewayName - - Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. - - String - - - Credential - - Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. - - PSCredential - - - Type - - Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, and OnPremisesOdbcLinkedService. - - String - - - NonCredentialValue - - Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. - - String - - - AuthenticationType - - Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet encrypts data for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet encrypts data for the data factory that this parameter specifies. - - String - - String - - - - - - GatewayName - - Specifies the name of the gateway. This cmdlet encrypts data for the gateway that this parameter specifies. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet encrypts data for the group that this parameter specifies. - - String - - String - - - - - - Value - - Specifies the value to encrypt. For an on-premises SQL Server linked service and an on-premises Oracle linked service, use a connection string. For an on-premises ODBC linked service, use the credential part of the connection string. For an on-premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername. - - SecureString - - SecureString - - - - - - Credential - - Specifies the Windows authentication credentials (user name and password) to be used. This cmdlet encrypts the credential data you specify here. - - PSCredential - - PSCredential - - - - - - Type - - Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService, OnPremisesFileSystemLinkedService, OnPremisesOracleLinkedService, and OnPremisesOdbcLinkedService. - - String - - String - - - - - - NonCredentialValue - - Specifies the non-credential part of the ODBC connection string. This parameter is applicable only for the ODBC linked service. - - String - - String - - - - - - AuthenticationType - - Specifies the type of authentication to be used to connect to the data source. Allowed values: Windows, Basic, or Anonymous. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.String - - - - - - - - - - - - - Example 1: Encrypt a non-ODBC connection string - - - - - PS C:\>$Value = ConvertTo-SecureString 'Data Source=ContosoServer;Initial Catalog=catelog;user id =user123;password=password123' -AsPlainText -Force - - - PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesSqlLinkedService - data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== - - - The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed values: SQL Server or Oracle connection string. - The second command creates an encrypted value for the object stored in $Value for the specified data factory, gateway, resource group, and linked service type. - - - - - - - - - Example 2: Encrypt a non-ODBC connection string that uses Windows authentication. - - - - - PS C:\>$Value = ConvertTo-SecureString 'Data Source=ContosoServer;Initial Catalog=catelog;Integrated Security=True' -AsPlainText -Force - - - PS C:\>$Credential = Get-Credential - - - PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesSqlLinkedService - data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== - - - The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed value: SQL Server connection string. - The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. - The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. - - - - - - - - - Example 3: Encrypt server name and credentials for File system linked service - - - - - PS C:\> $Value = ConvertTo-SecureString '\\servername' -AsPlainText -Force - PS C:\> $Credential = Get-Credential - PS C:\> New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesFileSystemLinkedService - KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== - - - The first command uses the ConvertTo-SecureString cmdlet to convert the specified string to a SecureString object, and then stores that object in the $Value variable. - The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. - The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. - - - - - - - - - Example 4: Encrypt an ODBC connection string - - - - - PS C:\>$Value = ConvertTo-SecureString 'UID=user123;PWD=password123;AuthMode=mode1;Token=token1' -AsPlainText -Force - - - PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Basic" - Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== - - - The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed values: ODBC credential connection string. - The second command creates an encrypted value for the object stored in $Value for the specified data factory, gateway, resource group, and linked service type. - - - - - - - - - Example 5: Encrypt a windows authentication ODBC connection string - - - - - PS C:\>$Value = ConvertTo-SecureString 'AuthMode=mode1;Token=token1' -AsPlainText -Force - - - PS C:\>$Credential = Get-Credential - - - PS C:\>New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Windows" - Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== - - - The first command uses the ConvertTo-SecureString cmdlet to convert the specified connection string to a SecureString object, and then stores that object in the $Value variable. For more information, type Get-Help ConvertTo-SecureString. Allowed value: ODBC credential connection string. - The second command uses the Get-Credential cmdlet to collect the windows authentication (user name and password), and then stores that PSCredential object in the $Credential variable. For more information, type Get-Help Get-Credential. - The third command creates an encrypted value for the object stored in $Value and $Credential for the specified data factory, gateway, resource group, and linked service type. - - - - - - - - - - - - - - - - - - New-AzureDataFactoryGateway - - Creates a gateway for Data Factory. - - - - - New - AzureDataFactoryGateway - - - - The New-AzureDataFactoryGateway cmdlet creates a gateway in Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryGateway - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the gateway to create. - - String - - - Description - - Specifies a description for the gateway. - - String - - - - New-AzureDataFactoryGateway - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the gateway to create. - - String - - - Description - - Specifies a description for the gateway. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a gateway for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a gateway for the data factory that this parameter specifies. - - String - - String - - - - - - Description - - Specifies a description for the gateway. - - String - - String - - - - - - Name - - Specifies the name of the gateway to create. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a gateway that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey - - - - - - - - - - - - - Example 1: Create a gateway - - - - - PS C:\> New-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" - Name : ContosoGateway - Description : my gateway - Version : - Status : NeedRegistration - VersionStatus : None - CreateTime : 8/22/2014 1:40:34 AM - RegisterTime : - LastConnectTime : - ExpiryTime : - - - This command creates a gateway named ContosoGateway in the data factory named WikiADF in the resource group named ADF. - - - - - - - - - - - Remove-AzureDataFactoryGateway - - - - Set-AzureDataFactoryGateway - - - - - - - New-AzureDataFactoryGatewayKey - - Creates a gateway key for Data Factory. - - - - - New - AzureDataFactoryGatewayKey - - - - - The New-AzureDataFactoryGatewayKey cmdlet creates a gateway key for a specified Azure Data Factory gateway. You register the gateway with a cloud service by using this key. - - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryGatewayKey - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. - - String - - - GatewayName - - - Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. - - - String - - - - New-AzureDataFactoryGatewayKey - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. - - PSDataFactory - - - GatewayName - - Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + The New-AzureDataFactoryGatewayKey cmdlet creates a gateway key for a specified Azure Data Factory gateway. You register the gateway with a cloud service by using this key. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. - - String - - String - - - - - - GatewayName - - - Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. - - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey - - - - - - - - - - - - - Example 1: Create a gateway key - - - - - PS C:\> New-AzureDataFactoryGatewayKey -ResourceGroupName "ADF" -GatewayName "ContosoGateway" -DataFactoryName "WikiADF" | Format-List - Gateway Key : ADF#40cbb3d9-2736-4794-a8a6-e6b839b4894f@a2d875ce-c9d7-4b8b-ad65-dd3ebbb9a940@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@xz#Y9R0NhAeH3u7wgnrJyiWj4Y/QIhH4fFilIdzZgwsVQA= - - - This command creates a gateway key for the data factory gateway named ContosoGateway, and then passes the gateway key to the Format-List cmdlet by using the pipeline operator. For more information, type Get-Help Format-List. - - - - - - - - - - - - New-AzureDataFactoryGateway - - - - - - - New-AzureDataFactoryHub - - Creates a hub for Data Factory. - - - - - New - AzureDataFactoryHub - - - - The New-AzureDataFactoryHub cmdlet creates a hub for Azure Data Factory in the specified Azure resource group and in the specified data factory with the specified file definition. After you create the hub, you can use it to store and manage linked services in a group, and you can add pipelines to the hub. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryHub - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the hub to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. - - String - - - Force - - Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. - - - - - New-AzureDataFactoryHub - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the hub to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. - - String - - - Force - - Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. - - String - - String - - - - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. - - String - - String - - - - - - Force - - Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the hub to create. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Create a hub - - - - - PS C:\>New-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" -File "C:\Hub.json" + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryGatewayKey + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + String + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + + + New-AzureDataFactoryGatewayKey + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + PSDataFactory + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a gateway key for the data factory that this parameter specifies. + + String + + String + + + + + + GatewayName + + + Specifies the name of the gateway. This cmdlet creates a key for the gateway that this parameter specifies. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a key for a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGatewayKey + + + + + + + + + + + + + Example 1: Create a gateway key + + + + + PS C:\> New-AzureDataFactoryGatewayKey -ResourceGroupName "ADF" -GatewayName "ContosoGateway" -DataFactoryName "WikiADF" | Format-List + Gateway Key : ADF#40cbb3d9-2736-4794-a8a6-e6b839b4894f@a2d875ce-c9d7-4b8b-ad65-dd3ebbb9a940@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@xz#Y9R0NhAeH3u7wgnrJyiWj4Y/QIhH4fFilIdzZgwsVQA= + + + This command creates a gateway key for the data factory gateway named ContosoGateway, and then passes the gateway key to the Format-List cmdlet by using the pipeline operator. For more information, type Get-Help Format-List. + + + + + + + + + + + + New-AzureDataFactoryGateway + + + + + + + New-AzureDataFactoryHub + + Creates a hub for Data Factory. + + + + + New + AzureDataFactoryHub + + + + The New-AzureDataFactoryHub cmdlet creates a hub for Azure Data Factory in the specified Azure resource group and in the specified data factory with the specified file definition. After you create the hub, you can use it to store and manage linked services in a group, and you can add pipelines to the hub. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + + + + New-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a hub for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a hub for the data factory that this parameter specifies. + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the hub. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing hub without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the hub to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a hub that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Create a hub + + + + + PS C:\>New-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" -File "C:\Hub.json" - - - This command creates a hub named ContosoDataHub in the resource group ADFResourceGroup and the data factory named ADFDataFactory. - - - - - - - - - - - Online Version: - - - - Get-AzureDataFactoryHub - - - - Remove-AzureDataFactoryHub - - - - - - - New-AzureDataFactoryLinkedService - - Links a data store or a cloud service to Data Factory. - - - - - New - AzureDataFactoryLinkedService - - - - The New-AzureDataFactoryLinkedService cmdlet links a data store or a cloud service to Azure Data Factory. If you specify a name for a linked service that already exists, this cmdlet prompts you for confirmation before it replaces the linked service. If you specify the Force parameter, the cmdlet replaces the existing linked service without confirmation. - - Perform these operations in the following order: - - -- Create a data factory. - -- Create linked services. - -- Create tables. - -- Create a pipeline. - - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryLinkedService - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. - - String - - - DataFactoryName - + + + This command creates a hub named ContosoDataHub in the resource group ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + Online Version: + + + + Get-AzureDataFactoryHub + + + + Remove-AzureDataFactoryHub + + + + + + + New-AzureDataFactoryLinkedService + + Links a data store or a cloud service to Data Factory. + + + + + New + AzureDataFactoryLinkedService + + + + The New-AzureDataFactoryLinkedService cmdlet links a data store or a cloud service to Azure Data Factory. If you specify a name for a linked service that already exists, this cmdlet prompts you for confirmation before it replaces the linked service. If you specify the Force parameter, the cmdlet replaces the existing linked service without confirmation. - Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. - - - String - - - Name - - Specifies the name of the linked service to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. - - String - - - Force - - Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. - - - - - New-AzureDataFactoryLinkedService - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the linked service to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. - - String - - - Force - - Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - - Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. - - - String - - String - - - - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. - - String - - String - - - - - - Force - - Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the linked service to create. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService - - - - - - - - - - - - - Example 1: Create a linked service - - - - - PS C:\> New-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceCuratedWikiData" -File "C:\\samples\\WikiSample\\LinkedServiceCuratedWikiData.json" | Format-List - LinkedServiceName : LinkedServiceCuratedWikiData - ResourceGroupName : ADF - DataFactoryName : WikiADF - Properties : Microsoft.DataFactories.AzureStorageLinkedService - - - This command creates a linked service named LinkedServiceCuratedWikiData in the data factory named WikiADF. This linked service links an Azure blob store specified in the file to the data factory named WikiADF. The command passes the result to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. - - - - - - - - - - - Get-AzureDataFactoryLinkedService - - - - Remove-AzureDataFactoryLinkedService - - - - - - - New-AzureDataFactoryPipeline - - Creates a pipeline in Data Factory. - - - - - New - AzureDataFactoryPipeline - - - - The New-AzureDataFactoryPipeline cmdlet creates a pipeline in Azure Data Factory. If you specify a name for a pipeline that already exists, the cmdlet prompts you for confirmation before it replaces the pipeline. If you specify the Force parameter, the cmdlet replaces the existing pipeline without confirmation. - - Perform these operations in the following order: + Perform these operations in the following order: - -- Create a data factory. - -- Create linked services. - -- Create tables. - -- Create a pipeline. - - If a pipeline with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing pipeline with the new pipeline. If you confirm to overwrite the existing pipeline, the pipeline definition is also replaced. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryPipeline - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. - - String - - - Name - - Specifies the name of the pipeline to create. - - String - - - DataFactoryName - - - Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. - - String - - - File - + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. + + String + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. + + + String + + + Name + + Specifies the name of the linked service to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + + + + New-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the linked service to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a linked service for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a linked service for the data factory that this parameter specifies. + + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the linked service. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing linked service without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the linked service to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a linked service for the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSLinkedService + + + + + + + + + + + + + Example 1: Create a linked service + + + + + PS C:\> New-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceCuratedWikiData" -File "C:\\samples\\WikiSample\\LinkedServiceCuratedWikiData.json" | Format-List + LinkedServiceName : LinkedServiceCuratedWikiData + ResourceGroupName : ADF + DataFactoryName : WikiADF + Properties : Microsoft.DataFactories.AzureStorageLinkedService + + + This command creates a linked service named LinkedServiceCuratedWikiData in the data factory named WikiADF. This linked service links an Azure blob store specified in the file to the data factory named WikiADF. The command passes the result to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + + + Get-AzureDataFactoryLinkedService + + + + Remove-AzureDataFactoryLinkedService + + + + + + + New-AzureDataFactoryPipeline + + Creates a pipeline in Data Factory. + + + + + New + AzureDataFactoryPipeline + + + + The New-AzureDataFactoryPipeline cmdlet creates a pipeline in Azure Data Factory. If you specify a name for a pipeline that already exists, the cmdlet prompts you for confirmation before it replaces the pipeline. If you specify the Force parameter, the cmdlet replaces the existing pipeline without confirmation. - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + Perform these operations in the following order: + + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. - - String - - - Force - - Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. - - - - - New-AzureDataFactoryPipeline - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the pipeline to create. - - String - - - File - + If a pipeline with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing pipeline with the new pipeline. If you confirm to overwrite the existing pipeline, the pipeline definition is also replaced. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to create. + + String + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + + String + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + + + + New-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to create. + + String + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + + Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. + + + String + + String + + + + + + File + + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. + + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSPipeline + + + + + + + + + + + + + Example 1: Create a pipeline + + + + + PS C:\> New-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" -File "C:\DPWikisample.json" + PipelineName : DPWikisample + ResourceGroupName : ADF + DataFactoryName : WikiADF11 + Properties : Microsoft.DataFactories.PipelineProperties + + + This command creates a pipeline named DPWikisample in the data factory named ADF. The command bases the pipeline on information in the DPWikisample.json file. This file includes information about activities such as Copy Activity and HDInsight Activity in the pipeline. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + New-AzureDataFactoryTable + + Creates a table in Data Factory. + + + + + New + AzureDataFactoryTable + + + + The New-AzureDataFactoryTable cmdlet creates a table in Azure Data Factory. If you specify a name for a table that already exists, this cmdlet prompts you for confirmation before it replaces the table. If you specify the Force parameter, the cmdlet replaces the existing table without confirmation. - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. - - - String - - - Force - - Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a pipeline for the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - - Specifies the name of a data factory. This cmdlet creates a pipeline for the data factory that this parameter specifies. - - - String - - String - - - - - - File - - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the pipeline. - - - String - - String - - - - - - Force - - Indicates that this cmdlet replaces an existing pipeline without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the pipeline to create. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a pipeline for the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSPipeline - - - - - - - - - - - - - Example 1: Create a pipeline - - - - - PS C:\> New-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" -File "C:\DPWikisample.json" - PipelineName : DPWikisample - ResourceGroupName : ADF - DataFactoryName : WikiADF11 - Properties : Microsoft.DataFactories.PipelineProperties - - - This command creates a pipeline named DPWikisample in the data factory named ADF. The command bases the pipeline on information in the DPWikisample.json file. This file includes information about activities such as Copy Activity and HDInsight Activity in the pipeline. - - - - - - - - - - - Get-AzureDataFactoryPipeline - - - - Remove-AzureDataFactoryPipeline - - - - Resume-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - Suspend-AzureDataFactoryPipeline - - - - - - - New-AzureDataFactoryTable - - Creates a table in Data Factory. - - - - - New - AzureDataFactoryTable - - - - The New-AzureDataFactoryTable cmdlet creates a table in Azure Data Factory. If you specify a name for a table that already exists, this cmdlet prompts you for confirmation before it replaces the table. If you specify the Force parameter, the cmdlet replaces the existing table without confirmation. - - Perform these operations in the following order: + Perform these operations in the following order: - -- Create a data factory. - -- Create linked services. - -- Create tables. - -- Create a pipeline. - - If a table with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing table with the new table. If you confirm to overwrite the existing table, the table definition is also replaced. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - New-AzureDataFactoryTable - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the table to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. - - String - - - Force - - Indicates that this cmdlet replaces an existing table without prompting you for confirmation. - - - - - New-AzureDataFactoryTable - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the table to create. - - String - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. - - String - - - Force - - Indicates that this cmdlet replaces an existing table without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. - - String - - String - - - - - - File - - Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. - - String - - String - - - - - - Force - - Indicates that this cmdlet replaces an existing table without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the table to create. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.WindowsAzure.Commands.Utilities.PSTable - - - - - - - - - - - - - Example 1: Create a table - - - - - PS C:\> New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" - TableName : DAWikipediaClickEvents - ResourceGroupName : ADF - DataFactoryName : WikiADF - Availability : Microsoft.DataFactories.Availability - Location : Microsoft.DataFactories.AzureBlobLocation - Policy : Microsoft.DataFactories.Policy - Structure : {} - Published : False - - - This command creates a table named DA_WikipediaClickEvents in the data factory named WikiADF. The command bases the table on information in the DAWikipediaClickEvents.json file. - - - - - - - - - Example 2: View availability for a new table - - - - - PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Availability - AnchorDateTime : - Frequency : Hour - Interval : 1 - Offset : - WaitOnExternal : Microsoft.DataFactories.WaitOnExternal - - - The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. - The second command uses standard dot notation to display details about the Availability property of the table. - - - - - - - - - Example 3: View location for a new table - - - - - PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Location - BlobPath : wikidatagateway/wikisampledatain/ - FilenamePrefix : - Format : - LinkedServiceName : LinkedServiceWikipediaClickEvents - PartitionBy : {} - - - The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. - The second command displays details about the Location property of the table. - - - - - - - - - Example 4: View validation rules for a new table - - - - - PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Policy.Validation | Format-List $table.Location + -- Create a data factory. + -- Create linked services. + -- Create tables. + -- Create a pipeline. + + If a table with the same name already exists in the data factory, this cmdlet prompts you to confirm whether to overwrite the existing table with the new table. If you confirm to overwrite the existing table, the table definition is also replaced. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + New-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + + + + New-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table to create. + + String + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet creates a table in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet creates a table in the data factory that this parameter specifies. + + String + + String + + + + + + File + + Specifies the full path of the JavaScript Object Notation (JSON) file that contains the description of the table. + + String + + String + + + + + + Force + + Indicates that this cmdlet replaces an existing table without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the table to create. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a table in the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.Utilities.PSTable + + + + + + + + + + + + + Example 1: Create a table + + + + + PS C:\> New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + TableName : DAWikipediaClickEvents + ResourceGroupName : ADF + DataFactoryName : WikiADF + Availability : Microsoft.DataFactories.Availability + Location : Microsoft.DataFactories.AzureBlobLocation + Policy : Microsoft.DataFactories.Policy + Structure : {} + Published : False + + + This command creates a table named DA_WikipediaClickEvents in the data factory named WikiADF. The command bases the table on information in the DAWikipediaClickEvents.json file. + + + + + + + + + Example 2: View availability for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Availability + AnchorDateTime : + Frequency : Hour + Interval : 1 + Offset : + WaitOnExternal : Microsoft.DataFactories.WaitOnExternal + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command uses standard dot notation to display details about the Availability property of the table. + + + + + + + + + Example 3: View location for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Location + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command displays details about the Location property of the table. + + + + + + + + + Example 4: View validation rules for a new table + + + + + PS C:\> $Table = New-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\> $Table.Policy.Validation | Format-List $table.Location - BlobPath : wikidatagateway/wikisampledatain/ - FilenamePrefix : - Format : - LinkedServiceName : LinkedServiceWikipediaClickEvents - PartitionBy : {} + BlobPath : wikidatagateway/wikisampledatain/ + FilenamePrefix : + Format : + LinkedServiceName : LinkedServiceWikipediaClickEvents + PartitionBy : {} - MinimumRows : - MinimumSizeMB : 1 - - - The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. - The second command gets details about the validation rules for the table, and then passes them to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. - - - - - - - - - - - Get-AzureDataFactoryTable - - - - Remove-AzureDataFactoryTable - - - - - - - Remove-AzureDataFactory - - Removes a data factory. - - - - - Remove - AzureDataFactory - - - - The Remove-AzureDataFactory cmdlet removes a data factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactory - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. - - String - - - Name - - - Specifies the name of the data factory to remove. - - - String - - - Force - - Indicates that this cmdlet removes a data factory without prompting you for confirmation. - - - - - Remove-AzureDataFactory - - DataFactory - - Specifies the PSDataFactory object to remove. - - PSDataFactory - - - Force - - Indicates that this cmdlet removes a data factory without prompting you for confirmation. - - - - - - - DataFactory - - Specifies the PSDataFactory object to remove. - - PSDataFactory - - PSDataFactory - - - - - - Force - - Indicates that this cmdlet removes a data factory without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - - Specifies the name of the data factory to remove. - - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Remove a data factory - - - - - PS C:\> Remove-AzureDataFactory -Name "WikiADF" -ResourceGroupName "ADF" - Confirm - Are you sure you want to remove data factory 'WikiADF' in resource group 'ADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - True - - - This command removes the data factory named WikiADF from the resource group named ADF. This command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactory - - - - New-AzureDataFactory - - - - - - - Remove-AzureDataFactoryGateway - - Removes a gateway from Data Factory. - - - - - Remove - AzureDataFactoryGateway - - - - The Remove-AzureDataFactoryGateway cmdlet removes the specified gateway from Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactoryGateway - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the gateway to remove. - - String - - - Force - - Indicates that this cmdlet removes a gateway without prompting you for confirmation. - - - - - Remove-AzureDataFactoryGateway - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the gateway to remove. - - String - - - Force - - Indicates that this cmdlet removes a gateway without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet removes a gateway without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the gateway to remove. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Remove a gateway - - - - - PS C:\> Remove-AzureDataFactoryGateway -Name "ContosoGateway" -DataFactoryName "WikiADF" -ResourceGroupName "ADF" - Confirm - Are you sure you want to remove gateway 'ContosoGateway' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is Y): Y - True - - - This command removes the gateway named ContosoGateway from the data factory named WikiADF. - - - - - - - - - - - Get-AzureDataFactoryGateway - - - - New-AzureDataFactoryGateway - - - - Set-AzureDataFactoryGateway - - - - - - - Remove-AzureDataFactoryHub - - Removes a hub from Data Factory. - - - - - Remove - AzureDataFactoryHub - - - - The Remove-AzureDataFactoryHub cmdlet removes a hub from Azure Data Factory in the specified Azure resource group and in the specified data factory. If you remove a hub, all linked services and pipelines in the hub are also removed. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactoryHub - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the hub to remove. - - String - - - Force - - Indicates that this cmdlet removes a hub without prompting you for confirmation. - - - - - Remove-AzureDataFactoryHub - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the hub to remove. - - String - - - Force - - Indicates that this cmdlet removes a hub without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet removes a hub without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the hub to remove. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Remove a hub - - - - - PS C:\>Remove-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" + MinimumRows : + MinimumSizeMB : 1 + + + The first command creates a table named DA_WikipediaClickEvents, as in a previous example, and then assigns that table to the $Table variable. + The second command gets details about the validation rules for the table, and then passes them to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List. + + + + + + + + + + + Get-AzureDataFactoryTable + + + + Remove-AzureDataFactoryTable + + + + + + + Remove-AzureDataFactory + + Removes a data factory. + + + + + Remove + AzureDataFactory + + + + The Remove-AzureDataFactory cmdlet removes a data factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactory + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. + + String + + + Name + + + Specifies the name of the data factory to remove. + + + String + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + + + + Remove-AzureDataFactory + + DataFactory + + Specifies the PSDataFactory object to remove. + + PSDataFactory + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + + + + + + DataFactory + + Specifies the PSDataFactory object to remove. + + PSDataFactory + + PSDataFactory + + + + + + Force + + Indicates that this cmdlet removes a data factory without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + + Specifies the name of the data factory to remove. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a data factory from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a data factory + + + + + PS C:\> Remove-AzureDataFactory -Name "WikiADF" -ResourceGroupName "ADF" + Confirm + Are you sure you want to remove data factory 'WikiADF' in resource group 'ADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command removes the data factory named WikiADF from the resource group named ADF. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactory + + + + New-AzureDataFactory + + + + + + + Remove-AzureDataFactoryGateway + + Removes a gateway from Data Factory. + + + + + Remove + AzureDataFactoryGateway + + + + The Remove-AzureDataFactoryGateway cmdlet removes the specified gateway from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway to remove. + + String + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + + + + Remove-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway to remove. + + String + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a gateway from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a gateway from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a gateway without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the gateway to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a gateway + + + + + PS C:\> Remove-AzureDataFactoryGateway -Name "ContosoGateway" -DataFactoryName "WikiADF" -ResourceGroupName "ADF" + Confirm + Are you sure you want to remove gateway 'ContosoGateway' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is Y): Y + True + + + This command removes the gateway named ContosoGateway from the data factory named WikiADF. + + + + + + + + + + + Get-AzureDataFactoryGateway + + + + New-AzureDataFactoryGateway + + + + Set-AzureDataFactoryGateway + + + + + + + Remove-AzureDataFactoryHub + + Removes a hub from Data Factory. + + + + + Remove + AzureDataFactoryHub + + + + The Remove-AzureDataFactoryHub cmdlet removes a hub from Azure Data Factory in the specified Azure resource group and in the specified data factory. If you remove a hub, all linked services and pipelines in the hub are also removed. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryHub + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the hub to remove. + + String + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + + + + Remove-AzureDataFactoryHub + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the hub to remove. + + String + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a hub from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a hub from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a hub without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the hub to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a hub from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove a hub + + + + + PS C:\>Remove-AzureDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" - - - This command removes the hub named ContosoDataHub from the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. - - - - - - - - - - - Online Version: - - - - New-AzureDataFactoryHub - - - - Get-AzureDataFactoryHub - - - - - - - Remove-AzureDataFactoryLinkedService - - Removes a linked service from Data Factory. - - - - - Remove - AzureDataFactoryLinkedService - - - - The Remove-AzureDataFactoryLinkedService cmdlet removes a linked service from Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactoryLinkedService - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. - - String - - - Name - - - Specifies the name of the linked service to remove. Name of the linked service. - - - String - - - Force - - Indicates that this cmdlet removes a linked service without prompting you for confirmation. - - - - - Remove-AzureDataFactoryLinkedService - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. - - PSDataFactory - - - Name - - - Specifies the name of the linked service to remove. Name of the linked service. - - - String - - - Force - - Indicates that this cmdlet removes a linked service without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet removes a linked service without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - - Specifies the name of the linked service to remove. Name of the linked service. - - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Remove a linked service - - - - - PS C:\> Remove-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceTest" - Confirm - Are you sure you want to remove linked service 'LinkedServiceTest' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - True - - - This command removes the linked service named LinkedServiceTest from the data factory named WikiADF. This command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactoryLinkedService - - - - New-AzureDataFactoryLinkedService - - - - - - - Remove-AzureDataFactoryPipeline - - Removes a pipeline from Data Factory. - - - - - Remove - AzureDataFactoryPipeline - - - - The Remove-AzureDataFactoryPipeline cmdlet removes a pipeline from Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactoryPipeline - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the pipeline to remove. - - String - - - Force - - Indicates that this cmdlet removes a pipeline without prompting you for confirmation. - - - - - Remove-AzureDataFactoryPipeline - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the pipeline to remove. - - String - - - Force - - Indicates that this cmdlet removes a pipeline without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet removes a pipeline without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the pipeline to remove. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Remove a pipeline - - - - - PS C:\> Remove-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" - Confirm - Are you sure you want to remove pipeline 'DPWikisample' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - True - - - This cmdlet removes the pipeline named DPWikisample from the data factory named WikiADF. The command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactoryPipeline - - - - New-AzureDataFactoryPipeline - - - - Resume-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - Suspend-AzureDataFactoryPipeline - - - - - - - Remove-AzureDataFactoryTable - - Removes a table from Data Factory. - - - - - Remove - AzureDataFactoryTable - - - - The Remove-AzureDataFactoryTable cmdlet removes a table from Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Remove-AzureDataFactoryTable - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the table to remove. - - String - - - Force - - Indicates that this cmdlet removes a table without prompting you for confirmation. - - - - - Remove-AzureDataFactoryTable - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the table to remove. - - String - - - Force - - Indicates that this cmdlet removes a table without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet removes a table without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the table to remove. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Remove a table - - - - - PS C:\> Remove-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikiAggregatedData" - Confirm - Are you sure you want to remove table 'DAWikiAggregatedData' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y - True - - - This command removes the table named DAWikiAggregatedData from the data factory named WikiADF. The command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactoryTable - - - - New-AzureDataFactoryTable - - - - - - - Resume-AzureDataFactoryPipeline - - Resumes a suspended pipeline in Data Factory. - - - - - Resume - AzureDataFactoryPipeline - - - - The Resume-AzureDataFactoryPipeline cmdlet resumes a suspended pipeline in Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Resume-AzureDataFactoryPipeline - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the pipeline to resume. - - String - - - Force - - Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. - - - - - Resume-AzureDataFactoryPipeline - - DataFactory - - Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the pipeline to resume. - - String - - - Force - - Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the pipeline to resume. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Resume a pipeline - - - - - PS C:\> Resume-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" - Confirm - Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - True - - - This command resumes the pipeline named DPWikisample in the data factory named WikiADF. Use the Suspend-AzureDataFactoryPipeline cmdlet to suspend a pipeline. The command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactoryPipeline - - - - New-AzureDataFactoryPipeline - - - - Remove-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - Suspend-AzureDataFactoryPipeline - - - - - - - Save-AzureDataFactoryLog - - Downloads log files from HDInsight processing. - - - - - Save - AzureDataFactoryLog - - - - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - The Save-AzureDataFactoryLog cmdlet downloads log files associated with Azure HDInsight processing of Pig or Hive projects or for custom activities to your local hard drive. You first run the Get-AzureDataFactoryRun cmdlet to get an ID for an activity run for a data slice, and then use that ID to retrieve log files from the binary large object (BLOB) storage associated with the HDInsight cluster. - If you do not specify –DownloadLogs parameter, the cmdlet just returns the location of log files. - If you specify –DownloadLogs parameter without specifying an output directory (-Output parameter), the log files are downloaded to the default Documents folder. - If you specify –DownloadLogs parameter along with an output folder (-Output), the log files are downloaded to the specified folder. - - - - Save-AzureDataFactoryLog - - DataFactory - - - - PSDataFactory - - - Id - - Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. - - String - - - Output - - Specifies the output folder in which the downloaded log files are saved. - - String - - - DownloadLogs - - Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. - - - - - Save-AzureDataFactoryLog - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. - - String - - - Id - - Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. - - String - - - Output - - Specifies the output folder in which the downloaded log files are saved. - - String - - - DownloadLogs - - Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. - - - - - - - DataFactory - - - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. - - String - - String - - - - - - DownloadLogs - - Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. - - SwitchParameter - - SwitchParameter - - - - - - Id - - Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. - - String - - String - - - - - - Output - - Specifies the output folder in which the downloaded log files are saved. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example 1: Save log files to a specific folder - - - - - PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs -Output "C:\Test" + + + This command removes the hub named ContosoDataHub from the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory. + + + + + + + + + + + Online Version: + + + + New-AzureDataFactoryHub + + + + Get-AzureDataFactoryHub + + + + + + + Remove-AzureDataFactoryLinkedService + + Removes a linked service from Data Factory. + + + + + Remove + AzureDataFactoryLinkedService + + + + The Remove-AzureDataFactoryLinkedService cmdlet removes a linked service from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryLinkedService + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. + + String + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + + + + Remove-AzureDataFactoryLinkedService + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a linked service from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a linked service from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a linked service without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + + Specifies the name of the linked service to remove. Name of the linked service. + + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a linked service from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a linked service + + + + + PS C:\> Remove-AzureDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceTest" + Confirm + Are you sure you want to remove linked service 'LinkedServiceTest' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command removes the linked service named LinkedServiceTest from the data factory named WikiADF. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryLinkedService + + + + New-AzureDataFactoryLinkedService + + + + + + + Remove-AzureDataFactoryPipeline + + Removes a pipeline from Data Factory. + + + + + Remove + AzureDataFactoryPipeline + + + + The Remove-AzureDataFactoryPipeline cmdlet removes a pipeline from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to remove. + + String + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + + + + Remove-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to remove. + + String + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a pipeline from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a pipeline from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a pipeline + + + + + PS C:\> Remove-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to remove pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This cmdlet removes the pipeline named DPWikisample from the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Remove-AzureDataFactoryTable + + Removes a table from Data Factory. + + + + + Remove + AzureDataFactoryTable + + + + The Remove-AzureDataFactoryTable cmdlet removes a table from Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Remove-AzureDataFactoryTable + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the table to remove. + + String + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + + + + Remove-AzureDataFactoryTable + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the table to remove. + + String + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet removes a table from the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet removes a table from the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet removes a table without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the table to remove. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet removes a table from the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Remove a table + + + + + PS C:\> Remove-AzureDataFactoryTable -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikiAggregatedData" + Confirm + Are you sure you want to remove table 'DAWikiAggregatedData' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + True + + + This command removes the table named DAWikiAggregatedData from the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryTable + + + + New-AzureDataFactoryTable + + + + + + + Resume-AzureDataFactoryPipeline + + Resumes a suspended pipeline in Data Factory. + + + + + Resume + AzureDataFactoryPipeline + + + + The Resume-AzureDataFactoryPipeline cmdlet resumes a suspended pipeline in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Resume-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to resume. + + String + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + + + + Resume-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to resume. + + String + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet resumes a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet resumes a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to resume. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet resumes a pipeline that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Resume a pipeline + + + + + PS C:\> Resume-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command resumes the pipeline named DPWikisample in the data factory named WikiADF. Use the Suspend-AzureDataFactoryPipeline cmdlet to suspend a pipeline. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Save-AzureDataFactoryLog + + Downloads log files from HDInsight processing. + + + + + Save + AzureDataFactoryLog + + + + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + The Save-AzureDataFactoryLog cmdlet downloads log files associated with Azure HDInsight processing of Pig or Hive projects or for custom activities to your local hard drive. You first run the Get-AzureDataFactoryRun cmdlet to get an ID for an activity run for a data slice, and then use that ID to retrieve log files from the binary large object (BLOB) storage associated with the HDInsight cluster. + If you do not specify –DownloadLogs parameter, the cmdlet just returns the location of log files. + If you specify –DownloadLogs parameter without specifying an output directory (-Output parameter), the log files are downloaded to the default Documents folder. + If you specify –DownloadLogs parameter along with an output folder (-Output), the log files are downloaded to the specified folder. + + + + Save-AzureDataFactoryLog + + DataFactory + + + + PSDataFactory + + + Id + + Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. + + String + + + Output + + Specifies the output folder in which the downloaded log files are saved. + + String + + + DownloadLogs + + Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. + + + + + Save-AzureDataFactoryLog + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. + + String + + + Id + + Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. + + String + + + Output + + Specifies the output folder in which the downloaded log files are saved. + + String + + + DownloadLogs + + Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. + + + + + + + DataFactory + + + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet downloads log files for the data factory that this parameter specifies. + + String + + String + + + + + + DownloadLogs + + Indicates that this cmdlet downloads log files to your local computer. If Ouptut folder is not specified, files are saved to Documents folder under a subfolder. + + SwitchParameter + + SwitchParameter + + + + + + Id + + Specifies the ID of the activity run for the data slice. Use the Get-AzureDataFactoryRun cmdlet to get an ID. + + String + + String + + + + + + Output + + Specifies the output folder in which the downloaded log files are saved. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet creates a data factory that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Save log files to a specific folder + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs -Output "C:\Test" - - - This command saves log files for the activity run with the ID of 841b77c9-d56c-48d1-99a3-8c16c3e77d39 where the activity belongs to a pipeline in the data factory named LogProcessingFactory in the resource group named ADF. The log files are saved to the C:\Test folder. - - - - - - - - - Example 2: Save log files to default Documents folder - - - - - PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs + + + This command saves log files for the activity run with the ID of 841b77c9-d56c-48d1-99a3-8c16c3e77d39 where the activity belongs to a pipeline in the data factory named LogProcessingFactory in the resource group named ADF. The log files are saved to the C:\Test folder. + + + + + + + + + Example 2: Save log files to default Documents folder + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs - - - This command saves log files to Documents folder (default). - - - - - - - - - Example 3: Get the location of log files - - - - - PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" + + + This command saves log files to Documents folder (default). + + + + + + + + + Example 3: Get the location of log files + + + + + PS C:\>Save-AzureDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" - - - This command returns the location of log files. Note that –DownloadLogs parameter is not specified. - - - - - - - - - - - Online Version: - - - - Get-AzureDataFactoryRun - - - - Get-AzureDataFactoryPipeline - - - - New-AzureDataFactoryPipeline - - - - Remove-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - Suspend-AzureDataFactoryPipeline - - - - - - - Set-AzureDataFactoryGateway - - Sets the description for a gateway in Data Factory. - - - - - Set - AzureDataFactoryGateway - - - - The Set-AzureDataFactoryGateway cmdlet sets the description for the specified gateway in Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Set-AzureDataFactoryGateway - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the gateway for which to set a description. - - String - - - Description - - Specifies a description for the gateway. - - String - - - - Set-AzureDataFactoryGateway - - DataFactory - - Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the gateway for which to set a description. - - String - - - Description - - Specifies a description for the gateway. - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. - - String - - String - - - - - - Description - - Specifies a description for the gateway. - - String - - String - - - - - - Name - - Specifies the name of the gateway for which to set a description. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway - - - - - - - - - - - - - Example 1: Set the description for a gateway - - - - - PS C:\> Set-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" - Name : ContosoGateway - Description : my gateway - Version : 1.3.5338.1 - Status : Online - VersionStatus : UpToDate - CreateTime : 8/22/2014 1:31:09 AM - RegisterTime : 8/22/2014 1:31:37 AM - LastConnectTime : 8/22/2014 1:41:41 AM - ExpiryTime : + + + This command returns the location of log files. Note that –DownloadLogs parameter is not specified. + + + + + + + + + + + Online Version: + + + + Get-AzureDataFactoryRun + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + Suspend-AzureDataFactoryPipeline + + + + + + + Set-AzureDataFactoryGateway + + Sets the description for a gateway in Data Factory. + + + + + Set + AzureDataFactoryGateway + + + + The Set-AzureDataFactoryGateway cmdlet sets the description for the specified gateway in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactoryGateway + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + Set-AzureDataFactoryGateway + + DataFactory + + Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + + Description + + Specifies a description for the gateway. + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet sets the description for the gateway in the data factory that this parameter specifies. + + String + + String + + + + + + Description + + Specifies a description for the gateway. + + String + + String + + + + + + Name + + Specifies the name of the gateway for which to set a description. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet sets the description for a gateway that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway]], Microsoft.WindowsAzure.Commands.Utilities.PSDataFactoryGateway + + + + + + + + + + + + + Example 1: Set the description for a gateway + + + + + PS C:\> Set-AzureDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" + Name : ContosoGateway + Description : my gateway + Version : 1.3.5338.1 + Status : Online + VersionStatus : UpToDate + CreateTime : 8/22/2014 1:31:09 AM + RegisterTime : 8/22/2014 1:31:37 AM + LastConnectTime : 8/22/2014 1:41:41 AM + ExpiryTime : - - - This command sets the description for the gateway named ContosoGateway in the data factory named WikiADF. The Description parameter specifies the new description. - - - - - - - - - - - Get-AzureDataFactoryGateway - - - - New-AzureDataFactoryGateway - - - - Remove-AzureDataFactoryGateway - - - - - - - Set-AzureDataFactoryPipelineActivePeriod - - Configures the active period for data slices. - - - - - Set - AzureDataFactoryPipelineActivePeriod - - - - The Set-AzureDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureDataFactorySliceStatus cmdlet to modify the status of slices for a table, make sure that the start time and end time for a slice are in the active period of the pipeline. - After you create a pipeline, you can specify the period in which data processing occurs. Specifying the active period for a pipeline defines the time duration in which the data slices are processed based on the Availability properties that were defined for each Data Factory table. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Set-AzureDataFactoryPipelineActivePeriod - - ResourceGroupName - - - Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. - - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. - - String - - - PipelineName - - Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - AutoResolve - - Indicates that this cmdlet uses auto resolve. - - - - Force - - Indicates that this cmdlet sets the active period without prompting you for confirmation. - - - - ForceRecalculate - - Indicates that this cmdlet uses force recalculate. - - - - - Set-AzureDataFactoryPipelineActivePeriod - - DataFactory - - Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - - PipelineName - - Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - AutoResolve - - Indicates that this cmdlet uses auto resolve. - - - - Force - - Indicates that this cmdlet sets the active period without prompting you for confirmation. - - - - ForceRecalculate - - Indicates that this cmdlet uses force recalculate. - - - - - - - AutoResolve - - Indicates that this cmdlet uses auto resolve. - - SwitchParameter - - SwitchParameter - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. - - String - - String - - - - - - EndDateTime - - Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - Force - - Indicates that this cmdlet sets the active period without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - ForceRecalculate - - Indicates that this cmdlet uses force recalculate. - - SwitchParameter - - SwitchParameter - - - - - - PipelineName - - Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. - - String - - String - - - - - - ResourceGroupName - - - Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. - - - String - - String - - - - - - StartDateTime - - Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Configure the active period - - - - - PS C:\> Set-AzureDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-22T16:00:00Z + + + This command sets the description for the gateway named ContosoGateway in the data factory named WikiADF. The Description parameter specifies the new description. + + + + + + + + + + + Get-AzureDataFactoryGateway + + + + New-AzureDataFactoryGateway + + + + Remove-AzureDataFactoryGateway + + + + + + + Set-AzureDataFactoryPipelineActivePeriod + + Configures the active period for data slices. + + + + + Set + AzureDataFactoryPipelineActivePeriod + + + + The Set-AzureDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureDataFactorySliceStatus cmdlet to modify the status of slices for a table, make sure that the start time and end time for a slice are in the active period of the pipeline. + After you create a pipeline, you can specify the period in which data processing occurs. Specifying the active period for a pipeline defines the time duration in which the data slices are processed based on the Availability properties that were defined for each Data Factory table. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactoryPipelineActivePeriod + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. + + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + String + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + + + + Set-AzureDataFactoryPipelineActivePeriod + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + + + + + + AutoResolve + + Indicates that this cmdlet uses auto resolve. + + SwitchParameter + + SwitchParameter + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + Force + + Indicates that this cmdlet sets the active period without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ForceRecalculate + + Indicates that this cmdlet uses force recalculate. + + SwitchParameter + + SwitchParameter + + + + + + PipelineName + + Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies. + + String + + String + + + + + + ResourceGroupName + + + Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies. + + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Configure the active period + + + + + PS C:\> Set-AzureDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-22T16:00:00Z - Confirm - Are you sure you want to set pipeline 'DPWikisample' active period from '05/21/2014 16:00:00' to - '05/22/2014 16:00:00'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y - True - - - This command configures the active period for the data slices that the pipeline named DPWikisample processes. The command provides beginning and end points for the data slices as values. The command returns a value of $True. - - - - - - - - - - - New-AzureDataFactoryPipeline - - - - Set-AzureDataFactorySliceStatus - - - - - - - Set-AzureDataFactorySliceStatus - - Sets the status of slices for a table in Data Factory. - - - - - Set - AzureDataFactorySliceStatus - - - - The Set-AzureDataFactorySliceStatus cmdlet sets the status of slices for a table in Azure Data Factory. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Set-AzureDataFactorySliceStatus - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. - - String - - - TableName - - Specifies the name of the table for which this cmdlet modifies slices. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - Status - - - Specifies a status to assign to the data slice. Valid values are: + Confirm + Are you sure you want to set pipeline 'DPWikisample' active period from '05/21/2014 16:00:00' to + '05/22/2014 16:00:00'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y + True + + + This command configures the active period for the data slices that the pipeline named DPWikisample processes. The command provides beginning and end points for the data slices as values. The command returns a value of $True. + + + + + + + + + + + New-AzureDataFactoryPipeline + + + + Set-AzureDataFactorySliceStatus + + + + + + + Set-AzureDataFactorySliceStatus + + Sets the status of slices for a table in Data Factory. + + + + + Set + AzureDataFactorySliceStatus + + + + The Set-AzureDataFactorySliceStatus cmdlet sets the status of slices for a table in Azure Data Factory. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Set-AzureDataFactorySliceStatus + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + String + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + Status + + + Specifies a status to assign to the data slice. Valid values are: - -- Ready. Data processing has completed and the data slice is ready. - -- PendingExecution. Data processing has not started yet. - -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. - -- Skip. Skip processing of the slice. - - - String - - - UpdateType - - - Specifies the type of update to the slice. Valid values are: + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: - -- Individual. Sets the status of each slice for the table in the specified time range. - -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. - - - String - - - - Set-AzureDataFactorySliceStatus - - DataFactory - - Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - - TableName - - Specifies the name of the table for which this cmdlet modifies slices. - - String - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - - Status - - - Specifies a status to assign to the data slice. Valid values are: + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + + + Set-AzureDataFactorySliceStatus + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + + Status + + + Specifies a status to assign to the data slice. Valid values are: - -- Ready. Data processing has completed and the data slice is ready. - -- PendingExecution. Data processing has not started yet. - -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. - -- Skip. Skip processing of the slice. - - - String - - - UpdateType - - - Specifies the type of update to the slice. Valid values are: + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: - -- Individual. Sets the status of each slice for the table in the specified time range. - -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. - - - String - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. - - String - - String - - - - - - EndDateTime - - Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. - EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. - - String - - String - - - - - - StartDateTime - - Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. - StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) - The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. - - DateTime - - DateTime - - - - - - Status - - - Specifies a status to assign to the data slice. Valid values are: + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies. + + String + + String + + + + + + EndDateTime + + Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date. + EndDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies. + + String + + String + + + + + + StartDateTime + + Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice. + StartDateTime must be specified in the ISO8601 format. Examples: 2015-01-01Z, 2015-01-01T00:00:00Z, 2015-01-01T00:00:00.000Z (UTC), 2015-01-01T00:00:00-08:00 (Pacific Standard Time) + The default time zone designator is UTC. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z. + + DateTime + + DateTime + + + + + + Status + + + Specifies a status to assign to the data slice. Valid values are: - -- Ready. Data processing has completed and the data slice is ready. - -- PendingExecution. Data processing has not started yet. - -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. - -- Skip. Skip processing of the slice. - - - String - - String - - - - - - TableName - - Specifies the name of the table for which this cmdlet modifies slices. - - String - - String - - - - - - UpdateType - - - Specifies the type of update to the slice. Valid values are: + -- Ready. Data processing has completed and the data slice is ready. + -- PendingExecution. Data processing has not started yet. + -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. + -- Skip. Skip processing of the slice. + + + String + + String + + + + + + TableName + + Specifies the name of the table for which this cmdlet modifies slices. + + String + + String + + + + + + UpdateType + + + Specifies the type of update to the slice. Valid values are: - -- Individual. Sets the status of each slice for the table in the specified time range. - -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. - - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Set the status of all slices - - - - - PS C:\> Set-AzureDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-21T20:00:00Z -Status "PendingExecution" -UpdateType "UpstreamInPipeline" - True - - - This command sets the status of all slices for the table named DAWikiAggregatedData to PendingExecution in the data factory named WikiADF. The UpdateType parameter has a value of UpstreamInPipeline, and so the command sets the status of each slice for the table and all dependent tables. Dependent tables are used as input tables for activities in the pipeline. This command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactorySlice - - - - - - - Suspend-AzureDataFactoryPipeline - - Suspends a pipeline in Data Factory. - - - - - Suspend - AzureDataFactoryPipeline - - - - The Suspend-AzureDataFactoryPipeline cmdlet suspends a pipeline in Azure Data Factory. You can resume the pipeline by using the Resume-AzureDataFactoryPipeline cmdlet. - You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. - - - - Suspend-AzureDataFactoryPipeline - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. - - String - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. - - String - - - Name - - Specifies the name of the pipeline to suspend. - - String - - - Force - - Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. - - - - - Suspend-AzureDataFactoryPipeline - - DataFactory - - Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - - Name - - Specifies the name of the pipeline to suspend. - - String - - - Force - - Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. - - - - - - - DataFactory - - Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. - - PSDataFactory - - PSDataFactory - - - - - - DataFactoryName - - Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. - - String - - String - - - - - - Force - - Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - Name - - Specifies the name of the pipeline to suspend. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. - - String - - String - - - - - - - - - - - - - - - - - - - - - System.Boolean - - - - - - - - - - - - - Example 1: Suspend a pipeline - - - - - PS C:\> Suspend-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikiSample" -DataFactoryName "WikiADF" - Confirm - Are you sure you want to suspend pipeline 'DPWikisample' in data factory 'WikiADF'? - [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y - True - - - This command suspends the pipeline named DPWikiSample in the data factory named WikiADF. The command returns a value of $True. - - - - - - - - - - - Get-AzureDataFactoryPipeline - - - - New-AzureDataFactoryPipeline - - - - Remove-AzureDataFactoryPipeline - - - - Resume-AzureDataFactoryPipeline - - - - Set-AzureDataFactoryPipelineActivePeriod - - - - - - - - + -- Individual. Sets the status of each slice for the table in the specified time range. + -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline. + + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Set the status of all slices + + + + + PS C:\> Set-AzureDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-21T20:00:00Z -Status "PendingExecution" -UpdateType "UpstreamInPipeline" + True + + + This command sets the status of all slices for the table named DAWikiAggregatedData to PendingExecution in the data factory named WikiADF. The UpdateType parameter has a value of UpstreamInPipeline, and so the command sets the status of each slice for the table and all dependent tables. Dependent tables are used as input tables for activities in the pipeline. This command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactorySlice + + + + + + + Suspend-AzureDataFactoryPipeline + + Suspends a pipeline in Data Factory. + + + + + Suspend + AzureDataFactoryPipeline + + + + The Suspend-AzureDataFactoryPipeline cmdlet suspends a pipeline in Azure Data Factory. You can resume the pipeline by using the Resume-AzureDataFactoryPipeline cmdlet. + You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager. + + + + Suspend-AzureDataFactoryPipeline + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. + + String + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + String + + + Name + + Specifies the name of the pipeline to suspend. + + String + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + + + + Suspend-AzureDataFactoryPipeline + + DataFactory + + Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + + Name + + Specifies the name of the pipeline to suspend. + + String + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + + + + + + DataFactory + + Specifies a PSDataFactory object. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + PSDataFactory + + PSDataFactory + + + + + + DataFactoryName + + Specifies the name of a data factory. This cmdlet suspends a pipeline that belongs to the data factory that this parameter specifies. + + String + + String + + + + + + Force + + Indicates that this cmdlet suspends a pipeline without prompting you for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + Name + + Specifies the name of the pipeline to suspend. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of an Azure resource group. This cmdlet suspends a pipeline that belongs to the group that this parameter specifies. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Boolean + + + + + + + + + + + + + Example 1: Suspend a pipeline + + + + + PS C:\> Suspend-AzureDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikiSample" -DataFactoryName "WikiADF" + Confirm + Are you sure you want to suspend pipeline 'DPWikisample' in data factory 'WikiADF'? + [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + True + + + This command suspends the pipeline named DPWikiSample in the data factory named WikiADF. The command returns a value of $True. + + + + + + + + + + + Get-AzureDataFactoryPipeline + + + + New-AzureDataFactoryPipeline + + + + Remove-AzureDataFactoryPipeline + + + + Resume-AzureDataFactoryPipeline + + + + Set-AzureDataFactoryPipelineActivePeriod + + + + + + + + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs index 2e05b19925b0..04dc4cfed076 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs @@ -22,11 +22,20 @@ namespace Microsoft.Azure.Commands.DataFactories { public partial class DataFactoryClient { - public virtual string OnPremisesEncryptString(SecureString value, string resourceGroupName, string dataFactoryName, string gatewayName, PSCredential credential, string type, string nonCredentialValue, string authenticationType) + public virtual string OnPremisesEncryptString(SecureString value, + string resourceGroupName, + string dataFactoryName, + string gatewayName, + PSCredential credential, + string type, + string nonCredentialValue, + string authenticationType, + string serverName, string databaseName) { LinkedServiceType linkedServiceType = type == null ? LinkedServiceType.OnPremisesSqlLinkedService : (LinkedServiceType)Enum.Parse(typeof(LinkedServiceType), type, true); - if (linkedServiceType != LinkedServiceType.OnPremisesOdbcLinkedService && (value == null || value.Length == 0)) + if (linkedServiceType == LinkedServiceType.OnPremisesSqlLinkedService && linkedServiceType == LinkedServiceType.OnPremisesOracleLinkedService + && linkedServiceType == LinkedServiceType.OnPremisesFileSystemLinkedService && (value == null || value.Length == 0)) { throw new ArgumentNullException("value"); } @@ -47,7 +56,7 @@ public virtual string OnPremisesEncryptString(SecureString value, string resourc string userName = credential != null ? credential.UserName : null; SecureString password = credential != null ? credential.Password : null; - UserInputConnectionString connectionString = new UserInputConnectionString(value, nonCredentialValue, userName, password, linkedServiceType, authType); + UserInputConnectionString connectionString = new UserInputConnectionString(value, nonCredentialValue, userName, password, linkedServiceType, authType, serverName, databaseName); return GatewayEncryptionClient.Encrypt(connectionString, gatewayEncryptionInfos); } } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs index 3b81cd161286..bf08bb1f7632 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs @@ -29,10 +29,10 @@ public partial class DataFactoryClient { public IDataPipelineManagementClient DataPipelineManagementClient { get; private set; } - public DataFactoryClient(AzureContext context) + public DataFactoryClient(AzureProfile profile) { DataPipelineManagementClient = AzureSession.ClientFactory.CreateClient( - context, AzureEnvironment.Endpoint.ResourceManager); + profile, AzureEnvironment.Endpoint.ResourceManager); } /// diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config index fb4cb877345a..a9cefe6f1f5e 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config @@ -4,13 +4,13 @@ - + - + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj index 5a011786732d..9c96a7ed4369 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj @@ -207,7 +207,11 @@ Resources.Designer.cs - + + + PreserveNewest + + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml new file mode 100644 index 000000000000..cb563bd75660 --- /dev/null +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml @@ -0,0 +1,4583 @@ + + + + + + Add-AzureKeyVaultKey + + Creates a key in a vault or imports a key into a vault. + + + + + Add + AzureKeyVaultKey + + + + The Add-AzureKeyVaultKey cmdlet creates a key in an Azure Key Vault, or imports a key into a vault. Use this cmdlet to add keys by using any of the following methods: + +-- Create a key in a hardware security module (HSM) in the Azure Key Vault service. +-- Create a key in software in the Azure Key Vault service. +-- Import a key from your own hardware security module (HSM) to HSMs in the Azure Key Vault service. +-- Import a key from a .pfx file on your computer. +-- Import a key from a .pfx file on your computer to hardware security modules (HSMs) in the Azure Key Vault service. + +For any of these operations, you can provide key attributes or accept default settings. + +If you create or import a key that has the same name as an existing key in your key vault, the original key is updated with the values that you specify for the new key. You can access the previous values by using the version-specific URI for that version of the key. To learn about key versions and the URI structure, see "About Keys and Secrets" in the Key Vault REST API documentation (http://go.microsoft.com/fwlink/?linkid=518560). + +Note: To import a key from your own hardware security module, you must first generate a BYOK package (a file with a .byok file name extension) by using the Azure Key Vault BYOK toolset. For more information, see How to Generate and Transfer HSM-Protected Keys for Azure Key Vault (http://go.microsoft.com/fwlink/?LinkId=522252). + + + + Add-AzureKeyVaultKey + + VaultName + + Specifies the name of the vault to which this cmdlet adds the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and (the dash symbol). + + String + + + Destination + + Specifies whether to add the key as a software-protected key or an HSM-protected key in the Key Vault service. Valid values are: HSM and Software. + Note: To use HSM as your destination, you must have a key vault that supports HSMs. For more information about the service tiers and capabilities for Azure Key Vault, see the Azure Key Vault Pricing website (http://go.microsoft.com/fwlink/?linkid=512521). + This parameter is required when you create a new key. If you import a key by using the KeyFilePath parameter, this parameter is optional: + +-- If you do not specify this parameter, and this cmdlet imports a key that has .byok file name extension, it imports that key as an HSM-protected key. The cmdlet cannot import that key as software-protected key. +-- If you do not specify this parameter, and this cmdlet imports a key that has a .pfx file name extension, it imports the key as a software-protected key. + + + HSM + Software + + + + Disable + + Indicates that the key you are adding is set to an initial state of disabled. Any attempt to use the key will fail. Use this parameter if you are preloading keys that you intend to enable later. + + + + Expires + + Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. + + Nullable [DateTime] + + + KeyFilePassword + + Specifies a password for the imported file as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. You must specify this password to import a file with a .pfx file name extension. + + SecureString + + + KeyOps + + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key (JWK) specification (http://go.microsoft.com/fwlink/?LinkID=613300&clcid=0x409): + +-- Encrypt +-- Decrypt +-- Wrap +-- Unwrap +-- Sign +-- Verify +-- Backup +-- Restore + + String[] + + + NotBefore + + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. + + Nullable [DateTime] + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Tags + + Specifies a hash table that represents resource tags. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + + KeyFilePath + + Specifies the path of a local file that contains key material that this cmdlet imports. The valid file name extensions are .byok and .pfx. + +-- If the file is a .byok file, the key is automatically protected by HSMs after the import and you cannot override this default. +-- If the file is a .pfx file, the key is automatically protected by software after the import. To override this default, set the Destination parameter to HSM so that the key is HSM-protected. + When you specify this parameter, the Destination parameter is optional. + + String + + + + Add-AzureKeyVaultKey + + VaultName + + Specifies the name of the vault to which this cmdlet adds the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and (the dash symbol). + + String + + + Disable + + Indicates that the key you are adding is set to an initial state of disabled. Any attempt to use the key will fail. Use this parameter if you are preloading keys that you intend to enable later. + + + + Expires + + Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. + + Nullable [DateTime] + + + KeyOps + + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key (JWK) specification (http://go.microsoft.com/fwlink/?LinkID=613300&clcid=0x409): + +-- Encrypt +-- Decrypt +-- Wrap +-- Unwrap +-- Sign +-- Verify +-- Backup +-- Restore + + String[] + + + NotBefore + + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. + + Nullable [DateTime] + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Tags + + Specifies a hash table that represents resource tags. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + + Destination + + Specifies whether to add the key as a software-protected key or an HSM-protected key in the Key Vault service. Valid values are: HSM and Software. + Note: To use HSM as your destination, you must have a key vault that supports HSMs. For more information about the service tiers and capabilities for Azure Key Vault, see the Azure Key Vault Pricing website (http://go.microsoft.com/fwlink/?linkid=512521). + This parameter is required when you create a new key. If you import a key by using the KeyFilePath parameter, this parameter is optional: + +-- If you do not specify this parameter, and this cmdlet imports a key that has .byok file name extension, it imports that key as an HSM-protected key. The cmdlet cannot import that key as software-protected key. +-- If you do not specify this parameter, and this cmdlet imports a key that has a .pfx file name extension, it imports the key as a software-protected key. + + + HSM + Software + + + + + + + Destination + + Specifies whether to add the key as a software-protected key or an HSM-protected key in the Key Vault service. Valid values are: HSM and Software. + Note: To use HSM as your destination, you must have a key vault that supports HSMs. For more information about the service tiers and capabilities for Azure Key Vault, see the Azure Key Vault Pricing website (http://go.microsoft.com/fwlink/?linkid=512521). + This parameter is required when you create a new key. If you import a key by using the KeyFilePath parameter, this parameter is optional: + +-- If you do not specify this parameter, and this cmdlet imports a key that has .byok file name extension, it imports that key as an HSM-protected key. The cmdlet cannot import that key as software-protected key. +-- If you do not specify this parameter, and this cmdlet imports a key that has a .pfx file name extension, it imports the key as a software-protected key. + + String + + String + + + none + + + Disable + + Indicates that the key you are adding is set to an initial state of disabled. Any attempt to use the key will fail. Use this parameter if you are preloading keys that you intend to enable later. + + SwitchParameter + + SwitchParameter + + + none + + + Expires + + Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. + + Nullable [DateTime] + + Nullable [DateTime] + + + none + + + KeyFilePassword + + Specifies a password for the imported file as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. You must specify this password to import a file with a .pfx file name extension. + + SecureString + + SecureString + + + none + + + KeyFilePath + + Specifies the path of a local file that contains key material that this cmdlet imports. The valid file name extensions are .byok and .pfx. + +-- If the file is a .byok file, the key is automatically protected by HSMs after the import and you cannot override this default. +-- If the file is a .pfx file, the key is automatically protected by software after the import. To override this default, set the Destination parameter to HSM so that the key is HSM-protected. + When you specify this parameter, the Destination parameter is optional. + + String + + String + + + none + + + KeyOps + + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key (JWK) specification (http://go.microsoft.com/fwlink/?LinkID=613300&clcid=0x409): + +-- Encrypt +-- Decrypt +-- Wrap +-- Unwrap +-- Sign +-- Verify +-- Backup +-- Restore + + String[] + + String[] + + + none + + + Name + + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and (the dash symbol). + + String + + String + + + none + + + NotBefore + + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. + + Nullable [DateTime] + + Nullable [DateTime] + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + Tags + + Specifies a hash table that represents resource tags. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + System.Collections.Hashtable + + + none + + + VaultName + + Specifies the name of the vault to which this cmdlet adds the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + + + + String, String[], DateTime + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + + + + + + + + + + + + + + + + + Example 1: Create a key + + + + + PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Destination "Software" + + + This command creates a software-protected key named ITSoftware in the vault named Contoso. + + + + + + + + + + + Example 2: Create an HSM-protected key + + + + + PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsm" -Destination "HSM" + + + This command creates an HSM-protected key in the key vault named Contoso. + + + + + + + + + + + Example 3: Create a key with non-default values + + + + + PS C:\>$KeyOperations = 'decrypt', 'verify' +PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $NotBefore = (Get-Date).ToUniversalTime() +PS C:\> $Tags = @{'Severity' = 'high'; 'Accounting' = null} +PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -Destination "HSM" -Expires $Expires -NotBefore $NotBefore -KeyOps $KeyOperations Disable -Tags $Tags + + + The first command stores the values decrypt and verify in the $KeyOperations variable. + The second command creates a DateTime object, defined in UTC, by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date. + The third command creates a DateTime object by using the Get-Date cmdlet. That object specifies current UTC time. The command stores that date in the $NotBefore variable. + The final command creates a key named ITHsmNonDefault that is an HSM-protected key. The command specifies values for allowed key operations stored $KeyOperations. The command specifies times for the Expires and NotBefore parameters created in the previous commands, and tags for high severity and IT. The new key is disabled. You can enable it by using the Set-AzureKeyVaultKey cmdlet. + + + + + + + + + + + Example 4: Import an HSM-protected key + + + + + PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITByok" -KeyFilePath "C:\Contoso\ITByok.byok" -Destination "HSM" + + + This command imports the key named ITByok from the location that the KeyFilePath parameter specifies. The imported key is an HSM-protected key. + To import a key from your own hardware security module, you must first generate a BYOK package (a file with a .byok file name extension) by using the Azure Key Vault BYOK toolset. For more information, see How to Generate and Transfer HSM-Protected Keys for Azure Key Vault (http://go.microsoft.com/fwlink/?LinkId=522252). + + + + + + + + + + + Example 5: Import a software-protected key + + + + + PS C:\>$Password = ConvertTo-SecureString -String "Password" -AsPlainText -Force +PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password + + + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. For more information, type Get-Help ConvertTo-SecureString. + The second command creates a software password in the Contoso vault. The command specifies the location for the key and the password stored in $Password. + + + + + + + + + + + Example 6: Import a key and assign attributes + + + + + PS C:\>$Password = ConvertTo-SecureString -String "password" -AsPlainText -Force +PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $Tags = @{ 'Severity' = 'high'; 'Accounting' = null } +PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destination "HSM" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password -Expires $Expires -Tags $Tags + + + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. + The second command creates a DateTime object by using the Get-Date cmdlet, and then stores that object in the $Expires variable. + The third command creates the $tags variable to set tags for high severity and IT. + The final command imports a key as an HSM key from the specified location. The command specifies the expiration time stored in $Expires and password stored in $Password, and applies the tags stored in $tags. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=520396 + + + Backup-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey + + + + Set-AzureKeyVaultKeyAttribute + + + + + + + Backup-AzureKeyVaultKey + + Backs up a key in a vault. + + + + + Backup + AzureKeyVaultKey + + + + The Backup-AzureKeyVaultKey cmdlet backs up a specified key in a vault by downloading it and storing it in a file. If there are multiple versions of the key, all versions are included in the backup. Because the downloaded content is encrypted, it cannot be used outside of Azure Key Vault. You can restore a backed-up key to any key vault in the subscription that it was backed up from. + Typical reasons to use this cmdlet are: + + -- You want to escrow a copy of your key, so that you have an offline copy in case you accidentally delete your key in your key vault. + -- You created a key using Azure Key Vault and now want to clone the key into a different Azure region, so that you can use it from all instances of your distributed application. Use the Backup-AzureKeyVaultKey cmdlet to retrieve the key in encrypted format and then use the Restore-AzureKeyVaultKey cmdlet and specify a key vault in the second region. + + + + Backup-AzureKeyVaultKey + + VaultName + + Specifies the name of the key vault that contains the key to back up. + + String + + + Name + + Specifies the name of the key to back up. + + String + + + OutputFile + + Specifies the output file in which the backup blob is stored. If you do not specify this parameter, this cmdlet generates a file name for you. If you specify the name of an existing output file, the operation will not complete and returns an error message that the backup file already exists. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + + + + + Name + + Specifies the name of the key to back up. + + String + + String + + + none + + + OutputFile + + Specifies the output file in which the backup blob is stored. If you do not specify this parameter, this cmdlet generates a file name for you. If you specify the name of an existing output file, the operation will not complete and returns an error message that the backup file already exists. + + String + + String + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + AzureProfile + + + none + + + VaultName + + Specifies the name of the key vault that contains the key to back up. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Back up a key with an automatically generated file name + + + + + PS C:\>Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" + + + This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file that is automatically named for you, and displays the file name. + + + + + + + + + + + Example 2: Back up a key to a specified file name + + + + + PS C:\>Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" -OutputFile "C:\Backup.blob" + + + This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file named Backup.blob. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522259 + + + Add-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey + + + + Restore-AzureKeyVaultKey + + + + + + + Get-AzureKeyVaultKey + + Gets the keys in a vault. + + + + + Get + AzureKeyVaultKey + + + + The Get-AzureKeyVaultKey cmdlet gets the keys in an Azure Key Vault. This cmdlet gets a specific Microsoft.Azure.Commands.KeyVault.Models.KeyBundle or a list of all KeyBundle objects in a vault. + + + + Get-AzureKeyVaultKey + + Name + + Specifies the name of the key bundle to get. + + System.String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + IncludeVersions + + Indicates that this cmdlet gets all versions of a key. The current version of a key is the first one on the list. If you specify this parameter you must also specify the Name and VaultName parameters. + If you do not specify the IncludeVersions parameter, this cmdlet gets the current version of the key with the specified Name. + + + + + Get-AzureKeyVaultKey + + VaultName + + Specifies the name of the vault from which this cmdlet gets keys. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your selected environment. + + String + + + Name + + Specifies the name of the key bundle to get. + + System.String + + + Version + + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + Get-AzureKeyVaultKey + + VaultName + + Specifies the name of the vault from which this cmdlet gets keys. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your selected environment. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + + + IncludeVersions + + Indicates that this cmdlet gets all versions of a key. The current version of a key is the first one on the list. If you specify this parameter you must also specify the Name and VaultName parameters. + If you do not specify the IncludeVersions parameter, this cmdlet gets the current version of the key with the specified Name. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the key bundle to get. + + System.String + + System.String + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + VaultName + + Specifies the name of the vault from which this cmdlet gets keys. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your selected environment. + + String + + String + + + none + + + Version + + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + + String + + String + + + none + + + + + + String + + + + + + + + + + + + + + + + List<Microsoft.Azure.Commands.KeyVault.Models.KeyBundle>, Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + + + + + + + + + + + + + + + + + Example 1: Get all the keys in a vault + + + + + PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" + + + This command gets all the keys in the vault named Contoso. + + + + + + + + + + + Example 2: Get the current version of a key + + + + + PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" + + + This command gets the current version of the key named ITPfx in the vault named Contoso. + + + + + + + + + + + Example 3: Get all versions of a key + + + + + PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" -IncludeVersions + + + This command gets all versions the key named ITPfx in the vault named Contoso. + + + + + + + + + + + Example 4: Get a specific version of a key + + + + + PS C:\>$Key = Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" Version "5A12A276385949DB8B5F82AFEE85CAED" + + + This command gets a specific version of the key named ITPfx in the vault named Contoso. After running this command, you can inspect various properties of the key by navigating the $Key object. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521395 + + + Add-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey + + + + Set-AzureKeyVaultKeyAttribute + + + + + + + Get-AzureKeyVaultSecret + + Gets the secrets in a vault. + + + + + Get + AzureKeyVaultSecret + + + + The Get-AzureKeyVaultSecret cmdlet gets secrets in an Azure Key Vault. This cmdlet gets a specific secret or all the secrets in a vault. + + + + Get-AzureKeyVaultSecret + + Name + + Specifies the name of the secret to get. + + System.String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + IncludeVersions + + Indicates that this cmdlet gets all versions of a secret. The current version of a secret is the first one on the list. If you specify this parameter you must also specify the Name and VaultName parameters. + If you do not specify the IncludeVersions parameter, this cmdlet gets the current version of the secret with the specified Name. + + + + + Get-AzureKeyVaultSecret + + VaultName + + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of the secret to get. + + System.String + + + Version + + Specifies the secret version. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + Get-AzureKeyVaultSecret + + VaultName + + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your current environment. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + + + IncludeVersions + + Indicates that this cmdlet gets all versions of a secret. The current version of a secret is the first one on the list. If you specify this parameter you must also specify the Name and VaultName parameters. + If you do not specify the IncludeVersions parameter, this cmdlet gets the current version of the secret with the specified Name. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the secret to get. + + System.String + + System.String + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + VaultName + + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the fully qualified domain name (FQDN) of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + Version + + Specifies the secret version. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + + String + + String + + + none + + + + + + String + + + + + + + + + + + + + + + + List<Microsoft.Azure.Commands.KeyVault.Models.Secret>, Microsoft.Azure.Commands.KeyVault.Models.Secret + + + + + + + + + + + + + + + + + Example 1: Get all current versions of all secrets in a vault + + + + + PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" + + + This command gets the current versions of all secrets in the vault named Contoso. + + + + + + + + + + + Example 2: Get all versions of a specific secret + + + + + PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -IncludeVersions + + + This command gets all versions of the secret named ITSecret in the vault named Contoso. + + + + + + + + + + + Example 3: Get the current version of a specific secret + + + + + PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" + + + This command gets the current version of the secret named ITSecret in the vault named Contoso. + + + + + + + + + + + Example 4: Get a specific version of a specific secret + + + + + PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" Version "6A12A286385949DB8B5F82AFEF85CAE9" + + + This command gets a specific version of the secret named ITSecret in the vault named Contoso. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521396 + + + Remove-AzureKeyVaultSecret + + + + Set-AzureKeyVaultSecret + + + + + + + Get-AzureKeyVault + + Gets Azure Key Vault instances. + + + + + Get + AzureKeyVault + + + + The Get-AzureKeyVault cmdlet gets information about the Azure Key Vault instances in a subscription. You can view all key vault instances in a subscription, or filter your results by a resource group or a particular key vault. + Note that although specifying the resource group is optional for this cmdlet when you get a single key vault, you should do so for better performance. + + + + Get-AzureKeyVault + + VaultName + + Specifies the name of the key vault. + + System.String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault or key vaults being queried. + + System.String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + Get-AzureKeyVault + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault or key vaults being queried. + + System.String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + Get-AzureKeyVault + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Tag + + Specifies the key and value of the specified tag to filter the list of key vaults by hash table. + + System.Collections.Hashtable + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault or key vaults being queried. + + System.String + + System.String + + + none + + + Tag + + Specifies the key and value of the specified tag to filter the list of key vaults by hash table. + + System.Collections.Hashtable + + System.Collections.Hashtable + + + none + + + VaultName + + Specifies the name of the key vault. + + System.String + + System.String + + + none + + + + + + String + + + + + + + + + + + + + + PSVault, List<PSVaultIdentityItem> + + + + + + + + + + + + + + + Example 1: Get all key vaults in your current subscription + + + + + PS C:\>Get-AzureKeyVault + + + This command gets all the key vaults in your current subscription. + + + + + + + + + + + Example 2: Get a specific key vault + + + + + PS C:\>$MyVault = Get-AzureKeyVault -VaultName "Contoso03Vault" + + + This command gets the key vault named Contoso03Vault in your current subscription, and then stores it in the $MyVault variable. You can inspect the properties of $MyVault to get details about the key vault. + + + + + + + + + + + Example 3: Get key vaults in a resource group + + + + + PS C:\>Get-AzureKeyVault -ResourceGroupName "ContosoPayRollResourceGroup" + + + This command gets all the key vaults in the resource group named ContosoPayRollResourceGroup. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522254 + + + New-AzureKeyVault + + + + Remove-AzureKeyVault + + + + + + + New-AzureKeyVault + + Creates an Azure Key Vault instance. + + + + + New + AzureKeyVault + + + + The New-AzureKeyVault cmdlet creates an Azure Key Vault instance in the specified resource group. This cmdlet also grants permissions to the currently logged on user to add, remove, or list keys and secrets in the vault. + + + + New-AzureKeyVault + + VaultName + + Specifies the name of the key vault to create. The name can be any combination of letters, digits, or hyphens. The name must start and end with a letter or digit. The name must be universally unique. + + String + + + ResourceGroupName + + Specifies the name of an existing resource group in which to create the key vault. + + String + + + Location + + Specifies the Azure region in which to create the key vault. Use the command Get-AzureLocation to see your choices. For more information, type Get-Help Get-AzureLocation. + + String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Sku + + Specifies the SKU of the key vault instance. For information about which features are available for each SKU, see the Azure Key Vault Pricing website (http://go.microsoft.com/fwlink/?linkid=512521). + + + standard + premium + + + + Tag + + Specifies a hash table that represents resource tags. + + System.Collections.Hashtable[] + + + + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + Location + + Specifies the Azure region in which to create the key vault. Use the command Get-AzureLocation to see your choices. For more information, type Get-Help Get-AzureLocation. + + String + + String + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + ResourceGroupName + + Specifies the name of an existing resource group in which to create the key vault. + + String + + String + + + none + + + Sku + + Specifies the SKU of the key vault instance. For information about which features are available for each SKU, see the Azure Key Vault Pricing website (http://go.microsoft.com/fwlink/?linkid=512521). + + String + + String + + + none + + + Tag + + Specifies a hash table that represents resource tags. + + System.Collections.Hashtable[] + + System.Collections.Hashtable[] + + + none + + + VaultName + + Specifies the name of the key vault to create. The name can be any combination of letters, digits, or hyphens. The name must start and end with a letter or digit. The name must be universally unique. + + String + + String + + + none + + + + + + String, Guid, Switch, Hash table + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.PSVault + + + + + + + + + + + + + + + + + Example 1: Create a Standard key vault + + + + + PS C:\>New-AzureKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" + + + This command creates a key vault named Contoso03Vault, in the Azure region East US. The command adds the key vault to the resource group named Group14. Because the command does not specify a value for the SKU parameter, it creates a Standard key vault. + + + + + + + + + + + Example 2: Create a Premium key vault + + + + + PS C:\>New-AzureKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" -Sku "Premium" + + + This command creates a key vault, just like the previous example. However, it specifies a value of Premium for the SKU parameter to create a Premium key vault. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522255 + + + Get-AzureKeyVault + + + + Remove-AzureKeyVault + + + + + + + Remove-AzureKeyVaultAccessPolicy + + Removes all permissions for a user or application from the Azure Key Vault. + + + + + Remove + AzureKeyVaultAccessPolicy + + + + The Remove-AzureKeyVaultAccessPolicy cmdlet removes all permissions for a user or application or for all users and applications from the Azure Key Vault. Even if you remove all permissions, the owner of the Azure subscription that contains the vault can add permissions to the key vault. + Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. + + + + Remove-AzureKeyVaultAccessPolicy + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + Remove-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + ServicePrincipalName + + Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + + String + + + + Remove-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + UserPrincipalName + + Specifies the user principal name of the user whose access you want to remove. + + String + + + + Remove-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. + + Guid + + + + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. + + Guid + + Guid + + + none + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + System.String + + + none + + + ServicePrincipalName + + Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + + String + + String + + + none + + + UserPrincipalName + + Specifies the user principal name of the user whose access you want to remove. + + String + + String + + + none + + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + String + + String + + + none + + + + + + String, Guid + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.PSVault + + + + + + + + + + + + + + + + + Example 1: Remove permissions for a user + + + + + PS C:\>Remove-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" + + + This command removes all the permissions that a user PattiFuller@contoso.com has on the key vault named Contoso03Vault. + + + + + + + + + + + Example 2: Remove permissions for an application + + + + + PS C:\>Remove-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" + + + This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by using the service principal name registered in Azure Active Directory, http://payroll.contoso.com. + + + + + + + + + + + Example 3: Remove permissions for an application by using its object ID + + + + + PS C:\>Remove-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectID 34595082-9346-41b6-8d6b-295a2808b8db + + + This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by the object ID of the service principal. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522258 + + + Set-AzureKeyVaultAccessPolicy + + + + + + + Remove-AzureKeyVaultKey + + Deletes a key in a vault. + + + + + Remove + AzureKeyVaultKey + + + + The Remove-AzureKeyVaultKey cmdlet deletes a key in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property. + + + + Remove-AzureKeyVaultKey + + VaultName + + Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + PassThru + + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + String + + + none + + + PassThru + + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + VaultName + + Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + + + + String + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + + + + + + + + This cmdlet returns a value only if you specify the PassThru parameter. + + + + + + + + Example 1: Remove a key from a vault + + + + + PS C:\>Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" + + + This command removes the key named ITSoftware from the vault named Contoso. + + + + + + + + + + + Example 2: Remove a key without user confirmation + + + + + PS C:\>Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Force -Confirm:$False + + + This command removes the key named ITSoftware from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. + + + + + + + + + + + Example 3: Remove keys by using the pipeline operator + + + + + PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" | Where-Object {$_.Attributes.Enabled -eq $False} | Remove-AzureKeyVaultKey + + + This command gets all the keys in the vault named Contoso, and passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet passes the keys that have a value of $False for the Enabled attribute to the current cmdlet. That cmdlet removes those keys. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521397 + + + Add-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Set-AzureKeyVaultKeyAttribute + + + + + + + Remove-AzureKeyVaultSecret + + Deletes a secret in a vault. + + + + + Remove + AzureKeyVaultSecret + + + + The Remove-AzureKeyVaultSecret cmdlet deletes a secret in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property. + + + + Remove-AzureKeyVaultSecret + + VaultName + + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + + + PassThru + + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + Name + + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + String + + + none + + + PassThru + + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + VaultName + + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + + + + String + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.Secret + + + + + + + + This cmdlet returns a value only if you specify the PassThru parameter. + + + + + + + + Example 1: Remove a secret from a vault + + + + + PS C:\>Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" + + + This command removes the secret named FinanceSecret from the vault named Contoso. + + + + + + + + + + + Example 2: Remove a secret from a vault without user confirmation + + + + + PS C:\>Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" -Force -Confirm:$False + + + This command removes the secret named FinanceSecret from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521398 + + + Get-AzureKeyVaultSecret + + + + Set-AzureKeyVaultSecret + + + + + + + Remove-AzureKeyVault + + Deletes an Azure Key Vault instance. + + + + + Remove + AzureKeyVault + + + + The Remove-AzureKeyVault cmdlet deletes the specified Azure Key Vault instance. It also deletes all keys and secrets contained in that instance. + Note that although specifying the resource group is optional for this cmdlet, you should so for better performance. + + + + Remove-AzureKeyVault + + VaultName + + Specifies the name of the key vault to remove. + + String + + + ResourceGroupName + + Specifies the name of a resource group. + + System.String + + + Force + + Indicates that the cmdlet does not prompt you for confirmation. By default, this cmdlet prompts you to confirm that you want to delete the key vault. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + + + + Force + + Indicates that the cmdlet does not prompt you for confirmation. By default, this cmdlet prompts you to confirm that you want to delete the key vault. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + ResourceGroupName + + Specifies the name of a resource group. + + System.String + + System.String + + + none + + + VaultName + + Specifies the name of the key vault to remove. + + String + + String + + + none + + + + + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Remove a key vault + + + + + PS C:\>Remove-AzureKeyVault -VaultName "Contoso03Vault" + + + This command removes the key vault named Contoso03Vault from your current subscription. + + + + + + + + + + + Example 2: Remove a key vault from a specified resource group + + + + + PS C:\>Remove-AzureKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" + + + This command removes the key vault named Contoso03Vault from the named resource group. If you do not specify the resource group name, the cmdlet searches for the named key vault to delete in your current subscription. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522256 + + + Get-AzureKeyVault + + + + New-AzureKeyVault + + + + + + + Restore-AzureKeyVaultKey + + Creates a key in in a vault from a backed-up key. + + + + + Restore + AzureKeyVaultKey + + + + The Restore-AzureKeyVaultKey cmdlets creates a key in the specified key vault. This key is a replica of the backed-up key in the input file and has the same name as the original key. If the key vault already has a key by the same name, this cmdlet fails instead of overwriting the original key. If the backup contains multiple versions of a key, all versions are restored. + The key vault that you restore the key into can be different from the key vault that you backed up the key from. However, the key vault must use the same subscription and be in an Azure region in the same geography (for example, North America). See the Microsoft Azure Trust Center (https://azure.microsoft.com/support/trust-center/) for the mapping of Azure regions to geographies. + + + + Restore-AzureKeyVaultKey + + VaultName + + Specifies the name of the key vault into which to restore the key. + + String + + + InputFile + + Specifies the input file that contains the backup of the key to restore. + + String + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + + + + + InputFile + + Specifies the input file that contains the backup of the key to restore. + + String + + String + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + AzureProfile + + + none + + + VaultName + + Specifies the name of the key vault into which to restore the key. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Example 1: Restore a backed-up key + + + + + PS C:\>Restore-AzureKeyVaultKey -VaultName "MyKeyVault" -InputFile "C:\Backup.blob" + + + This command restores a key, including all of its versions, from the backup file named Backup.blob into the key vault named MyKeyVault. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522260 + + + Add-AzureKeyVaultKey + + + + Backup-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey + + + + + + + Set-AzureKeyVaultAccessPolicy + + Grants or modifies existing permissions for a user or application to perform operations with the Azure Key Vault. + + + + + Set + AzureKeyVaultAccessPolicy + + + + The Set-AzureKeyVaultAccessPolicy cmdlet grants or modifies existing permissions for a user or application to perform the specified operations with the Azure Key Vault. It does not modify the permissions that other users or applications have on the key vault. + The following directories must all be the same Azure directory: + +-- The Azure directory in which the key vault owner's user account resides. +-- The default directory of the Azure subscription in which the key vault resides. +-- The Azure directory in which the application service principal is registered. + Examples of scenarios when these conditions are not met and this cmdlet will not work are: + +-- Authorizing a user from a different organization to manage your key vault. Each organization has its own directory. +-- Your Azure account has multiple directories. If you register an application in a directory other than the default directory, you will not be able to authorize that application to use your key vaults. The application must be in the default directory. + Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. + + + + Set-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + + get + list + set + delete + all + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. + + Guid + + + + Set-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + + get + list + set + delete + all + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + ServicePrincipalName + + Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + + + Set-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + PassThru + + Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + + get + list + set + delete + all + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + UserPrincipalName + + Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + + + Set-AzureKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + PassThru + + Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. + + Guid + + Guid + + + none + + + PassThru + + Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + System.String[] + + System.String[] + + + none + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + System.String[] + + System.String[] + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + System.String + + + none + + + ServicePrincipalName + + Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + String + + + none + + + UserPrincipalName + + Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + String + + + none + + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + String + + String + + + none + + + + + + String, Guid, String[], Switch + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.PSVault + + + + + + + + + + + + + + + + + Example 1: Grant permissions to a user for a key vault and modify the permissions + + + + + PS C:\>Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete +PS C:\> Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToSecrets set,delete,get -PassThru +PS C:\> Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys @() -PassThru + + + The first command grants permissions for a user in your Azure Active Directory, PattiFuller@contoso.com, to perform operations on keys and secrets with a key vault named Contoso03Vault. + The second command modifies the permissions that were granted to PattiFuller@contoso.com in the first command, to now allow getting secrets in addition to setting and deleting them. The permissions to key operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. + The final command further modifies the existing permissions for PattiFuller@contoso.com to remove all permissions to key operations. The permissions to secret operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. + + + + + + + + + + + Example 2: Grant permissions for an application service principal to read and write secrets + + + + + PS C:\>Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" -PermissionsToSecrets "get,set" + + + This command grants permissions for an application for a vault named Contoso03Vault. The ServicePrincipalName parameter specifies the application. The application must be registered in your Azure Active Directory. The value of the ServicePrincipalName parameter must be either the service principal name of the application or the application ID GUID. This example specifies the service principal name http://payroll.contoso.com, and the command grants the application permissions to read and write secrets. + + + + + + + + + + + Example 3: Grant permissions for an application using its object ID + + + + + PS C:\>Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectId 34595082-9346-41b6-8d6b-295a2808b8db -PermissionsToSecrets "get,set" + + + This command grants the application permissions to read and write secrets. This example specifies the application using the object ID of the service principal of the application. + + + + + + + + + + + Example 4: Enable secrets to be retrieved from a vault by the Microsoft.Compute resource provider + + + + + PS C:\>Set-AzureKeyVaultAccessPolicy -VaultName "Contoso03Vault" ResourceGroupName "Group14" -EnabledForDeployment + + + This command grants the permissions for secrets to be retrieved from the Contoso03Vault vault by the Microsoft.Compute resource provider. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=522257 + + + Remove-AzureKeyVaultAccessPolicy + + + + + + + Set-AzureKeyVaultKeyAttribute + + Updates the attributes of a key in a vault. + + + + + Set + AzureKeyVaultKeyAttribute + + + + The Set-AzureKeyVaultKeyAttribute cmdlet updates the editable attributes of a key in an Azure Key Vault. + + + + Set-AzureKeyVaultKeyAttribute + + VaultName + + Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + + Version + + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + + System.String [Boolean] + + + Enable + + Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. + + Nullable [Boolean] + + + Expires + + Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable [DateTime] + + + KeyOps + + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values are: + +-- Encrypt +-- Decrypt +-- Wrap +-- Unwrap +-- Sign +-- Verify +-- Backup +-- Restore + + String[] + + + NotBefore + + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable [DateTime] + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter [Boolean] + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + + + + + Enable + + Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. + + Nullable [Boolean] + + Nullable [Boolean] + + + none + + + Expires + + Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable [DateTime] + + Nullable [DateTime] + + + none + + + KeyOps + + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values are: + +-- Encrypt +-- Decrypt +-- Wrap +-- Unwrap +-- Sign +-- Verify +-- Backup +-- Restore + + String[] + + String[] + + + none + + + Name + + Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + String + + + none + + + NotBefore + + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable [DateTime] + + Nullable [DateTime] + + + none + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter [Boolean] + + SwitchParameter [Boolean] + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + System.Collections.Hashtable + + + none + + + VaultName + + Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + Version + + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + + System.String [Boolean] + + System.String [Boolean] + + + none + + + + + + String, Boolean, DateTime + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + + + + + + + + + + + + + + + + + Example 1: Modify a key to enable it, and set the expiration date and tags + + + + + PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $Tags = @{'Severity' = 'high'; 'Accounting' = null} +PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" -Expires $Expires -Enable $True -Tags $Tags -PassThru + + + The first command creates a DateTime object by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date. + The second command creates a variable to store tag values of high severity and Accounting. + The final command modifies a key named ITSoftware. The command enables the key, sets its expiration time to the time stored in $Expires, and sets the tags that are stored in $Tags. + + + + + + + + + + + Example 2: Modify a key to delete all tags + + + + + PS C:\>Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" Version "7EEA45C6EE50490B9C3176F80AC1A0DG" Tags @{} + + + This commands deletes all tags for a specific version of a key named ITSoftware. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521399 + + + Add-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey + + + + + + + Set-AzureKeyVaultSecretAttribute + + Updates attributes of a secret in a vault. + + + + + Set + AzureKeyVaultSecretAttribute + + + + The Set-AzureKeyVaultSecretAttribute cmdlet updates editable attributes of a secret in an Azure Key Vault. + + + + Set-AzureKeyVaultSecretAttribute + + VaultName + + Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. + + String + + + Name + + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + + Version + + Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + + String + + + ContentType + + Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. + + String + + + Enable + + Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secrets enabled or disabled state. + + Boolean + + + Expires + + Specifies the date and time that a secret expires. + + DateTime + + + NotBefore + + Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. + + DateTime + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + Hashtable + + + + + + ContentType + + Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. + + String + + String + + + none + + + Enable + + Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secrets enabled or disabled state. + + Boolean + + Boolean + + + none + + + Expires + + Specifies the date and time that a secret expires. + + DateTime + + DateTime + + + none + + + Name + + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + String + + + none + + + NotBefore + + Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. + + DateTime + + DateTime + + + none + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + AzureProfile + + AzureProfile + + + none + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + Hashtable + + Hashtable + + + none + + + VaultName + + Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. + + String + + String + + + none + + + Version + + Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + + String + + String + + + none + + + + + + string, bool?, DateTime?, string[], Hashtable, SwitchParameter + + + + + + + + + + + + + + + + Return Microsoft.Azure.Commands.KeyVault.Models.Secret object if PassThru is specified. Otherwise, return nothing. + + + + + + + + + + + + + + + + + Example 1: Modify the attributes of a secret + + + + + PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $Nbf = (Get-Date).ToUniversalTime() +PS C:\> $Tags = @{ "Severity" = "medium"; "HR" = null} +PS C:\> $ContentType= "xml" +PS C:\> Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Expires $Expires -NotBefore $Nbf -ContentType $ContentType -Enable $True -Tags $Tags -PassThru + + + The first four commands define attributes for the expiry date, the NotBefore date, tags, and context type, and store the attributes in variables. + The final command modifies the attributes for the secret named HR in the vault named ContosoVault, using the stored variables. + + + + + + + + + + + Example 2: Delete the tags and content type for a secret + + + + + PS C:\>Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Version "9EEA45C6EE50490B9C3176A80AC1A0DF" -ContentType "" -Tags -@{} + + + This command deletes the tags and the content type for the specified version of the secret named HR in the vault named Contoso. + + + + + + + + + + + Example 3: Disable the current version of secrets whose name begins with IT + + + + + PS C:\>$Vault = "ContosoVault" +PS C:\> $Prefix = "IT" +PS C:\> Get-AzureKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix + '*'} | Set-AzureKeyVaultSecretAttribute -Enable $False + + + The first command stores the string value Contoso in the $Vault variable. + The second command stores the string value IT in the $Prefix variable. + The third command uses the Get-AzureKeyVaultSecret cmdlet to get the secrets in the specified vault, and then passes those secrets to the Where-Object cmdlet. The Where-Object cmdlet filters the secrets for names that begin with the characters IT. The command pipes the secrets that match the filter to the Set-AzureKeyVaultSecretAttribute cmdlet, which disables them. + + + + + + + + + + + Example 4: Set the ContentType for all versions of a secret + + + + + PS C:\>$VaultName = "ContosoVault" +PS C:\> $Name = "HR" +PS C:\> $ContentType = "xml" +PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersions | Set-AzureKeyVaultSecretAttribute -ContentType $ContentType + + + + The first three commands define string variables to use for the VaultName, Name, and ContentType parameters. The fourth command uses the Get-AzureKeyVaultKey cmdlet to get the specified keys, and pipes the keys to the Set-AzureKeyVaultSecretAttribute cmdlet to set their content type to XML. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=534612 + + + Get-AzureKeyVaultKey + + + + Get-AzureKeyVaultSecret + + + + Remove-AzureKeyVaultSecret + + + + Set-AzureKeyVaultSecretAttribute + + + + + + + Set-AzureKeyVaultSecret + + Creates or updates a secret in a vault. + + + + + Set + AzureKeyVaultSecret + + + + The Set-AzureKeyVaultSecret cmdlet creates or updates a secret in an Azure Key Vault. If the secret does not exist, this cmdlet creates it. If the secret already exists, this cmdlet replaces it with the value that you specify. + + + + Set-AzureKeyVaultSecret + + VaultName + + Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + + Name + + Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + + SecretValue + + Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. + + SecureString + + + ContentType + + Specifies the content type of a secret. To delete the existing content type, specify an empty string. + + System.String + + + Disable + + Indicates that this cmdlet disables a secret. + + + + Expires + + Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable [System.DateTime] + + + NotBefore + + Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable [System.DateTime] + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + + + + + ContentType + + Specifies the content type of a secret. To delete the existing content type, specify an empty string. + + System.String + + System.String + + + none + + + Disable + + Indicates that this cmdlet disables a secret. + + SwitchParameter + + SwitchParameter + + + none + + + Expires + + Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable [System.DateTime] + + Nullable [System.DateTime] + + + none + + + Name + + Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + + String + + String + + + none + + + NotBefore + + Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable [System.DateTime] + + Nullable [System.DateTime] + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + Microsoft.Azure.Common.Authentication.Models.AzureProfile + + + none + + + SecretValue + + Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. + + SecureString + + SecureString + + + none + + + Tags + + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + + System.Collections.Hashtable + + System.Collections.Hashtable + + + none + + + VaultName + + Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + + String + + String + + + none + + + + + + String, SecureString + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.KeyVault.Models.Secret + + + + + + + + + + + + + + + + + Example 1: Modify the value of a secret using default attributes + + + + + PS C:\>$Secret = ConvertTo-SecureString -String "Password" -AsPlainText -Force +PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret + + + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. + The second command modifies value of the secret named ITSecret in the vault named Contoso. The secret value becomes the value stored in $Secret. + + + + + + + + + + + Example 2: Modify the value of a secret using custom attributes + + + + + PS C:\>$Secret = ConvertTo-SecureString -String "Password" -AsPlainText -Force +PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $NBF =(Get-Date).ToUniversalTime() +PS C:\> $Tags = @{ "Severity" = "medium"; "IT" = null } +PS C:\> $ContentType = "txt" +PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret -Expires $Expires -NotBefore $NBF -ContentType $ContentType -Enable $True -Tags $Tags -PassThru + + + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. + The next commands define custom attributes for the expiry date, tags, and context type, and store the attributes in variables. + The final command modifies values of the secret named ITSecret in the vault named Contoso, by using the values specified previously as variables. + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=521400 + + + Get-AzureKeyVaultSecret + + + + Remove-AzureKeyVaultSecret + + + + + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs index 83b9d13fa132..f9b06d9793b5 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs @@ -192,7 +192,8 @@ public IEnumerable GetKeys(KeyVaultObjectFilterOptions options) result = this.keyVaultClient.GetKeysNextAsync(options.NextLink).GetAwaiter().GetResult(); options.NextLink = result.NextLink; - return result.Value.Select((keyItem) => { return new KeyIdentityItem(keyItem, this.vaultUriHelper); }); + return (result.Value == null) ? new List() : + result.Value.Select((keyItem) => { return new KeyIdentityItem(keyItem, this.vaultUriHelper); }); } catch (Exception ex) { @@ -349,7 +350,8 @@ public IEnumerable GetSecrets(KeyVaultObjectFilterOptions op result = this.keyVaultClient.GetSecretsNextAsync(options.NextLink).GetAwaiter().GetResult(); options.NextLink = result.NextLink; - return result.Value.Select((secretItem) => { return new SecretIdentityItem(secretItem, this.vaultUriHelper); }); + return (result.Value == null) ? new List() : + result.Value.Select((secretItem) => { return new SecretIdentityItem(secretItem, this.vaultUriHelper); }); } catch (Exception ex) { diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 103768eefda5..02f5e8df65e8 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -109,7 +109,12 @@ CmdletsToExport = '*' VariablesToExport = '*' # Aliases to export from this module -AliasesToExport = @() +AliasesToExport = @( + 'Get-AzureSqlDatabaseServerAuditingPolicy', + 'Remove-AzureSqlDatabaseServerAuditing', + 'Set-AzureSqlDatabaseServerAuditingPolicy', + 'Use-AzureSqlDatabaseServerAuditingPolicy' +) # List of all modules packaged with this module ModuleList = @() diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index 8e42605dbe46..a53c05713d99 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -257,6 +257,9 @@ PreserveNewest + + PreserveNewest + diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs index be2596959af5..69834262df57 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs @@ -14,7 +14,10 @@ using System.Collections.Generic; using System.Management.Automation; +using System.Reflection; using Microsoft.Azure.Commands.Resources.Models; +using System.IO; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.Resources { @@ -22,11 +25,31 @@ namespace Microsoft.Azure.Commands.Resources /// Get the available locations for certain resource types. /// [Cmdlet(VerbsCommon.Get, "AzureLocation"), OutputType(typeof(List))] - public class GetAzureLocationCommand : ResourcesBaseCmdlet + public class GetAzureLocationCommand : ResourcesBaseCmdlet, IModuleAssemblyInitializer { public override void ExecuteCmdlet() { WriteObject(ResourcesClient.GetLocations(), true); } + + /// + /// Load global aliases for ARM + /// + public void OnImport() + { + try + { + System.Management.Automation.PowerShell invoker = null; + invoker = System.Management.Automation.PowerShell.Create(RunspaceMode.CurrentRunspace); + invoker.AddScript(File.ReadAllText(FileUtilities.GetContentFilePath( + Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), + "ResourceManagerStartup.ps1"))); + invoker.Invoke(); + } + catch + { + // This will throw exception for tests, ignore. + } + } } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 b/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 new file mode 100644 index 000000000000..e7c4b1f41a7c --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 @@ -0,0 +1,21 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +@{ + # Sql aliases + "Get-AzureSqlDatabaseServerAuditingPolicy" = "Get-AzureSqlServerAuditingPolicy"; + "Remove-AzureSqlDatabaseServerAuditing" = "Remove-AzureSqlServerAuditing"; + "Set-AzureSqlDatabaseServerAuditingPolicy" = "Set-AzureSqlServerAuditingPolicy"; + "Use-AzureSqlDatabaseServerAuditingPolicy" = "Use-AzureSqlServerAuditingPolicy"; +}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 index 395971a5ec24..cea2a8d16601 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 @@ -245,7 +245,7 @@ function Test-DatabaseDataMaskingNumberRuleLifecycle Assert-AreEqual $rule.NumberTo 56 - Set-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -AliasName "AliasNumber" -NumberFrom 67.26 -NumberTo 78.91 + Set-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -TableName "TableNumber1" -ColumnName "ColumnNumber1" -NumberFrom 67.26 -NumberTo 78.91 $rule = Get-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert @@ -254,7 +254,8 @@ function Test-DatabaseDataMaskingNumberRuleLifecycle Assert-AreEqual $rule.DatabaseName $params.databaseName Assert-AreEqual $rule.RuleId $ruleId Assert-AreEqual $rule.MaskingFunction "Number" - Assert-AreEqual $rule.AliasName "AliasNumber" + Assert-AreEqual $rule.TableName "TableNumber1" + Assert-AreEqual $rule.ColumnName "ColumnNumber1" Assert-AreEqual $rule.NumberFrom 67.26 Assert-AreEqual $rule.NumberTo 78.91 @@ -316,7 +317,7 @@ function Test-DatabaseDataMaskingTextRuleLifecycle Assert-AreEqual $rule.ReplacementString "AAA" Assert-AreEqual $rule.SuffixSize 3 - Set-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -AliasName "AliasText" -PrefixSize 4 -ReplacementString "BBB" -SuffixSize 2 + Set-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -TableName "TableText1" -ColumnName "ColumnText1" -PrefixSize 4 -ReplacementString "BBB" -SuffixSize 2 $rule = Get-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert @@ -325,7 +326,8 @@ function Test-DatabaseDataMaskingTextRuleLifecycle Assert-AreEqual $rule.DatabaseName $params.databaseName Assert-AreEqual $rule.RuleId $ruleId Assert-AreEqual $rule.MaskingFunction "Text" - Assert-AreEqual $rule.AliasName "AliasText" + Assert-AreEqual $rule.TableName "TableText1" + Assert-AreEqual $rule.ColumnName "ColumnText1" Assert-AreEqual $rule.PrefixSize 4 Assert-AreEqual $rule.ReplacementString "BBB" Assert-AreEqual $rule.SuffixSize 2 @@ -371,16 +373,13 @@ function Test-DatabaseDataMaskingRuleCreationFailures Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -MaskingFunction "Default" -TableName "T1" -ColumnName "C1"} Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "NONEXISTING" -TableName "T1" -ColumnName "C1"} Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default"} - Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -ColumnName "C1" -AliasName "A1"} - Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -TableName "T1" -AliasName "A1"} - Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -TableName "T1" -ColumnName "C1" -AliasName "A1"} + Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -ColumnName "C1"} + Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -TableName "T1"} Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Number" -TableName "T1" -ColumnName "C1" -NumberFrom 2 -NumberTo 1} New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -TableName "TT1" -ColumnName "CC1" Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -TableName "TT2" -ColumnName "CC2" } Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId "SHOULD-FAIL" -MaskingFunction "Default" -TableName "TT1" -ColumnName "CC1"} - Set-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -AliasName "AA1" - Assert-Throws { New-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId "SHOULD-FAIL" -MaskingFunction -AliasName "AA1"} Remove-AzureSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force } diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 index 7487dc5e7051..eb3e95393c2d 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SecurityTests.ps1 @@ -55,8 +55,8 @@ function Test-ServerUpdatePolicyWithStorage try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -117,11 +117,11 @@ function Test-ServerUpdatePolicyKeepPreviousStorage try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - $policyBefore = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policyBefore = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - $policyAfter = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + $policyAfter = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policyBefore.StorageAccountName $policyAfter.StorageAccountName @@ -193,15 +193,15 @@ function Test-ServerUpdatePolicyWithEventTypes try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 15 # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 3 @@ -211,8 +211,8 @@ function Test-ServerUpdatePolicyWithEventTypes # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 @@ -297,42 +297,42 @@ function Test-ServerUpdatePolicyWithEventTypeShortcuts try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 15 # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 15 # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Assert-Throws {Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "None"} - Assert-Throws {Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "All"} - Assert-Throws {Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} - Assert-Throws {Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} + Assert-Throws {Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "None"} + Assert-Throws {Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "All"} + Assert-Throws {Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} + Assert-Throws {Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} #Test - If the event types includes new events and deprecated events we throw error - Assert-Throws {Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} + Assert-Throws {Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} } finally { @@ -383,9 +383,9 @@ function Test-DisableServerAuditing try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - Remove-AzureSqlDatabaseServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Remove-AzureSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.AuditState "Disabled" @@ -444,10 +444,10 @@ function Test-ServerDisableEnableKeepProperties try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "TransactionManagement_Success" - Remove-AzureSqlDatabaseServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "TransactionManagement_Success" + Remove-AzureSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -476,8 +476,8 @@ function Test-UseServerDefault try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - Use-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Use-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName $policy = Get-AzureSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert @@ -527,7 +527,7 @@ function Test-FailedServerUpdatePolicyWithNoStorage try { # Assert - Assert-Throws { Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy} + Assert-Throws { Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy} } finally { @@ -550,7 +550,7 @@ function Test-FailedUseServerDefault try { # Assert - Assert-Throws { Use-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } + Assert-Throws { Use-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } } finally { @@ -599,10 +599,10 @@ function Test-FailWithBadServerIndentity try { # Assert - Assert-Throws { Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName } - Assert-Throws { Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" } - Assert-Throws { Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -StorageAccountName $params.storageAccount} - Assert-Throws { Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -StorageAccountName $params.storageAccount} + Assert-Throws { Get-AzureSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName } + Assert-Throws { Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" } + Assert-Throws { Set-AzureSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -StorageAccountName $params.storageAccount} + Assert-Throws { Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -StorageAccountName $params.storageAccount} } finally { @@ -667,22 +667,22 @@ function Test-ServerStorageKeyRotation try { # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Secondary"} # Test - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} @@ -749,8 +749,8 @@ function Test-ServerUpdatePolicyWithRetention { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 10 @@ -807,10 +807,10 @@ function Test-ServerRetentionKeepProperties { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 11; - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 11; + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 11 @@ -818,8 +818,8 @@ function Test-ServerRetentionKeepProperties # Test $retentionTableIdentifier = "retentionTableIdentifier1" + $testSuffix; - Set-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 11 diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 index 5c45662814f9..3aebf522f5e0 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 @@ -30,10 +30,10 @@ function Test-CreateServer try { # With all parameters - $server1 = New-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $serverName -Location $rg.Location -ServerVersion $version -SqlAdminCredentials $credentials + $server1 = New-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $serverName -Location $rg.Location -ServerVersion $version -SqlAdministratorCredentials $credentials Assert-AreEqual $server1.ServerName $serverName Assert-AreEqual $server1.ServerVersion $version - Assert-AreEqual $server1.SqlAdminUserName $serverLogin + Assert-AreEqual $server1.SqlAdministratorLogin $serverLogin } finally { @@ -57,19 +57,19 @@ function Test-UpdateServer $serverPassword = "n3wc00lP@55w0rd" $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force - $server1 = Set-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -SqlAdminPassword $secureString + $server1 = Set-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -SqlAdministratorPassword $secureString Assert-AreEqual $server1.ServerName $server.ServerName Assert-AreEqual $server1.ServerVersion $server.ServerVersion - Assert-AreEqual $server1.SqlAdminUserName $server.SqlAdminUserName + Assert-AreEqual $server1.SqlAdministratorLogin $server.SqlAdministratorLogin # Test piping $serverPassword = "n3wc00lP@55w0rd!!!" $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force - $server2 = $server | Set-AzureSqlServer -SqlAdminPassword $secureString + $server2 = $server | Set-AzureSqlServer -SqlAdministratorPassword $secureString Assert-AreEqual $server2.ServerName $server.ServerName Assert-AreEqual $server2.ServerVersion $server.ServerVersion - Assert-AreEqual $server2.SqlAdminUserName $server.SqlAdminUserName + Assert-AreEqual $server2.SqlAdministratorLogin $server.SqlAdministratorLogin } finally { @@ -94,13 +94,13 @@ function Test-GetServer $resp1 = Get-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server1.ServerName Assert-AreEqual $server1.ServerName $resp1.ServerName Assert-AreEqual $server1.ServerVersion $resp1.ServerVersion - Assert-AreEqual $server1.SqlAdminUserName $resp1.SqlAdminUserName + Assert-AreEqual $server1.SqlAdministratorLogin $resp1.SqlAdministratorLogin # Test piping $resp2 = $server2 | Get-AzureSqlServer Assert-AreEqual $server2.ServerName $resp2.ServerName Assert-AreEqual $server2.ServerVersion $resp2.ServerVersion - Assert-AreEqual $server2.SqlAdminUserName $resp2.SqlAdminUserName + Assert-AreEqual $server2.SqlAdministratorLogin $resp2.SqlAdministratorLogin $all = Get-AzureSqlServer -ResourceGroupName $rg.ResourceGroupName Assert-AreEqual $all.Count 2 diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 index a523a0387f67..9b3bf621386a 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 @@ -157,6 +157,6 @@ function Create-ServerForServerUpgradeTest() $serverPassword = "t357ingP@s5w0rd!" $credentials = New-Object System.Management.Automation.PSCredential($serverLogin, ($serverPassword | ConvertTo-SecureString -asPlainText -Force)) - $server = New-AzureSqlServer -ResourceGroupName $rgName -ServerName $serverName -Location $location -ServerVersion $version -SqlAdminCredentials $credentials + $server = New-AzureSqlServer -ResourceGroupName $rgName -ServerName $serverName -Location $location -ServerVersion $version -SqlAdministratorCredentials $credentials return $server } \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingBasicRuleLifecycle.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingBasicRuleLifecycle.json index 55ce20c6bab2..c21a6bb722ca 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingBasicRuleLifecycle.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingBasicRuleLifecycle.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14993" ], "x-ms-request-id": [ - "8d33bed5-050a-438e-bcf2-43bebbfc272f" + "04b3ebdb-fd67-4c32-960f-073c8c29e4c8" ], "x-ms-correlation-request-id": [ - "8d33bed5-050a-438e-bcf2-43bebbfc272f" + "04b3ebdb-fd67-4c32-960f-073c8c29e4c8" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102731Z:8d33bed5-050a-438e-bcf2-43bebbfc272f" + "WESTEUROPE:20150522T085357Z:04b3ebdb-fd67-4c32-960f-073c8c29e4c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:31 GMT" + "Fri, 22 May 2015 08:53:56 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1196" ], "x-ms-request-id": [ - "8d6e3dca-c02f-4e87-8e25-4898966c8662" + "37443edb-d4b6-460a-86e0-5722683429d3" ], "x-ms-correlation-request-id": [ - "8d6e3dca-c02f-4e87-8e25-4898966c8662" + "37443edb-d4b6-460a-86e0-5722683429d3" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102733Z:8d6e3dca-c02f-4e87-8e25-4898966c8662" + "WESTEUROPE:20150522T085359Z:37443edb-d4b6-460a-86e0-5722683429d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:33 GMT" + "Fri, 22 May 2015 08:53:58 GMT" ] }, "StatusCode": 201 @@ -121,7 +121,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:27:34.4628221Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"98d9fe0f-e304-4f22-aa1d-3f14d4127fdc\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:54:00.1150171Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"78687b61-69c0-4b4d-951c-cc14f4e10724\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1632" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1195" ], "x-ms-request-id": [ - "98d9fe0f-e304-4f22-aa1d-3f14d4127fdc" + "78687b61-69c0-4b4d-951c-cc14f4e10724" ], "x-ms-correlation-request-id": [ - "98d9fe0f-e304-4f22-aa1d-3f14d4127fdc" + "78687b61-69c0-4b4d-951c-cc14f4e10724" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102734Z:98d9fe0f-e304-4f22-aa1d-3f14d4127fdc" + "WESTEUROPE:20150522T085400Z:78687b61-69c0-4b4d-951c-cc14f4e10724" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:33 GMT" + "Fri, 22 May 2015 08:53:59 GMT" ] }, "StatusCode": 200 @@ -175,10 +175,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:27:36.4149966Z\",\r\n \"duration\": \"PT1.2773563S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:54:02.288115Z\",\r\n \"duration\": \"PT1.1125317S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1640" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1194" ], "x-ms-request-id": [ - "f0f2141b-6b48-4c0e-a839-48c764e3d014" + "6a2ed5c4-5eb5-4539-b0dd-e425f04480d9" ], "x-ms-correlation-request-id": [ - "f0f2141b-6b48-4c0e-a839-48c764e3d014" + "6a2ed5c4-5eb5-4539-b0dd-e425f04480d9" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102737Z:f0f2141b-6b48-4c0e-a839-48c764e3d014" + "WESTEUROPE:20150522T085402Z:6a2ed5c4-5eb5-4539-b0dd-e425f04480d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:36 GMT" + "Fri, 22 May 2015 08:54:01 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "14992" ], "x-ms-request-id": [ - "b0141419-32f9-46e0-bd40-afd3b0ccb157" + "686614b3-d809-46cd-af4c-be1b715edac4" ], "x-ms-correlation-request-id": [ - "b0141419-32f9-46e0-bd40-afd3b0ccb157" + "686614b3-d809-46cd-af4c-be1b715edac4" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102737Z:b0141419-32f9-46e0-bd40-afd3b0ccb157" + "WESTEUROPE:20150522T085403Z:686614b3-d809-46cd-af4c-be1b715edac4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:37 GMT" + "Fri, 22 May 2015 08:54:02 GMT" ] }, "StatusCode": 200 @@ -286,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "14990" ], "x-ms-request-id": [ - "3e679c96-fd7b-43f3-aef8-765a093f97e4" + "70e1657d-4131-4828-912a-e9fe337f806f" ], "x-ms-correlation-request-id": [ - "3e679c96-fd7b-43f3-aef8-765a093f97e4" + "70e1657d-4131-4828-912a-e9fe337f806f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102740Z:3e679c96-fd7b-43f3-aef8-765a093f97e4" + "WESTEUROPE:20150522T085406Z:70e1657d-4131-4828-912a-e9fe337f806f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:40 GMT" + "Fri, 22 May 2015 08:54:05 GMT" ] }, "StatusCode": 200 @@ -334,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "14988" ], "x-ms-request-id": [ - "d4f88400-a6f4-403e-abbe-5918e1baa884" + "cd15f906-fa1f-4a7e-afd5-0a82d986d14f" ], "x-ms-correlation-request-id": [ - "d4f88400-a6f4-403e-abbe-5918e1baa884" + "cd15f906-fa1f-4a7e-afd5-0a82d986d14f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102743Z:d4f88400-a6f4-403e-abbe-5918e1baa884" + "WESTEUROPE:20150522T085409Z:cd15f906-fa1f-4a7e-afd5-0a82d986d14f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:43 GMT" + "Fri, 22 May 2015 08:54:08 GMT" ] }, "StatusCode": 200 @@ -367,10 +367,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:44.410613Z\",\r\n \"duration\": \"PT6.5552439S\",\r\n \"trackingId\": \"51b79574-2e19-4431-be73-2036e781709c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:12.2826992Z\",\r\n \"duration\": \"PT9.3543685S\",\r\n \"trackingId\": \"7a104562-1769-4512-ac9f-f4c07cb02a27\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "662" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -382,16 +382,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "14986" ], "x-ms-request-id": [ - "2ef883e8-e41f-496b-ab1a-080bcf1f17f1" + "f34e1592-731b-41ac-b110-039eb2204b13" ], "x-ms-correlation-request-id": [ - "2ef883e8-e41f-496b-ab1a-080bcf1f17f1" + "f34e1592-731b-41ac-b110-039eb2204b13" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102746Z:2ef883e8-e41f-496b-ab1a-080bcf1f17f1" + "WESTEUROPE:20150522T085412Z:f34e1592-731b-41ac-b110-039eb2204b13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +400,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:46 GMT" + "Fri, 22 May 2015 08:54:11 GMT" ] }, "StatusCode": 200 @@ -415,10 +415,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/0BFA2D09CCA07F2F\",\r\n \"operationId\": \"0BFA2D09CCA07F2F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:47.1274848Z\",\r\n \"duration\": \"PT2.6534229S\",\r\n \"trackingId\": \"06452133-fef5-4ba7-9a51-5d454953aa88\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:44.410613Z\",\r\n \"duration\": \"PT6.5552439S\",\r\n \"trackingId\": \"51b79574-2e19-4431-be73-2036e781709c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:12.2826992Z\",\r\n \"duration\": \"PT9.3543685S\",\r\n \"trackingId\": \"7a104562-1769-4512-ac9f-f4c07cb02a27\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1378" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -430,16 +430,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31990" + "14984" ], "x-ms-request-id": [ - "8c05e258-40ea-45b6-9da0-72099faeb23c" + "6dbf7762-aae1-4f36-a029-a1ae63e3892c" ], "x-ms-correlation-request-id": [ - "8c05e258-40ea-45b6-9da0-72099faeb23c" + "6dbf7762-aae1-4f36-a029-a1ae63e3892c" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102749Z:8c05e258-40ea-45b6-9da0-72099faeb23c" + "WESTEUROPE:20150522T085415Z:6dbf7762-aae1-4f36-a029-a1ae63e3892c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:49 GMT" + "Fri, 22 May 2015 08:54:14 GMT" ] }, "StatusCode": 200 @@ -463,10 +463,106 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/0BFA2D09CCA07F2F\",\r\n \"operationId\": \"0BFA2D09CCA07F2F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:47.1274848Z\",\r\n \"duration\": \"PT2.6534229S\",\r\n \"trackingId\": \"06452133-fef5-4ba7-9a51-5d454953aa88\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:44.410613Z\",\r\n \"duration\": \"PT6.5552439S\",\r\n \"trackingId\": \"51b79574-2e19-4431-be73-2036e781709c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/0BFA2D09CCA07F2F\",\r\n \"operationId\": \"0BFA2D09CCA07F2F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:18.1492417Z\",\r\n \"duration\": \"PT5.2330931S\",\r\n \"trackingId\": \"e8eda9d3-0c1b-4d98-9880-497fd7e2d8d0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:12.2826992Z\",\r\n \"duration\": \"PT9.3543685S\",\r\n \"trackingId\": \"7a104562-1769-4512-ac9f-f4c07cb02a27\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1379" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "dc382c7d-4fb7-4c04-9bee-e6e4710c5bc2" + ], + "x-ms-correlation-request-id": [ + "dc382c7d-4fb7-4c04-9bee-e6e4710c5bc2" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085418Z:dc382c7d-4fb7-4c04-9bee-e6e4710c5bc2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:54:18 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzQwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/0BFA2D09CCA07F2F\",\r\n \"operationId\": \"0BFA2D09CCA07F2F\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:18.1492417Z\",\r\n \"duration\": \"PT5.2330931S\",\r\n \"trackingId\": \"e8eda9d3-0c1b-4d98-9880-497fd7e2d8d0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup/operations/4697E309BA82CFAE\",\r\n \"operationId\": \"4697E309BA82CFAE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:12.2826992Z\",\r\n \"duration\": \"PT9.3543685S\",\r\n \"trackingId\": \"7a104562-1769-4512-ac9f-f4c07cb02a27\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1379" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14980" + ], + "x-ms-request-id": [ + "520bba1d-bc71-4e5c-88cf-e2ea62f80c24" + ], + "x-ms-correlation-request-id": [ + "520bba1d-bc71-4e5c-88cf-e2ea62f80c24" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085421Z:520bba1d-bc71-4e5c-88cf-e2ea62f80c24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:54:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzQwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1378" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -478,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31988" + "14991" ], "x-ms-request-id": [ - "00edaa57-7fb2-4f81-b244-7ede6bc5f130" + "2b6029b9-1dfc-44c0-9fbd-ee8f127338d8" ], "x-ms-correlation-request-id": [ - "00edaa57-7fb2-4f81-b244-7ede6bc5f130" + "2b6029b9-1dfc-44c0-9fbd-ee8f127338d8" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102753Z:00edaa57-7fb2-4f81-b244-7ede6bc5f130" + "WESTEUROPE:20150522T085403Z:2b6029b9-1dfc-44c0-9fbd-ee8f127338d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:52 GMT" + "Fri, 22 May 2015 08:54:02 GMT" ] }, "StatusCode": 200 @@ -511,10 +607,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:27:37.7930643Z\",\r\n \"duration\": \"PT2.655424S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -526,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "14989" ], "x-ms-request-id": [ - "2ceee169-7311-4b89-9f46-67dbc1f3bce6" + "508d0ac3-5f42-4ed7-a1f0-656de64bb040" ], "x-ms-correlation-request-id": [ - "2ceee169-7311-4b89-9f46-67dbc1f3bce6" + "508d0ac3-5f42-4ed7-a1f0-656de64bb040" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102738Z:2ceee169-7311-4b89-9f46-67dbc1f3bce6" + "WESTEUROPE:20150522T085406Z:508d0ac3-5f42-4ed7-a1f0-656de64bb040" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -544,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:37 GMT" + "Fri, 22 May 2015 08:54:05 GMT" ] }, "StatusCode": 200 @@ -559,10 +655,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:27:37.7930643Z\",\r\n \"duration\": \"PT2.655424S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -574,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "14987" ], "x-ms-request-id": [ - "54b600d7-33a1-42b8-9dde-cf4ce693e269" + "aa5ae97b-bd2e-46ea-b810-27ef95a62597" ], "x-ms-correlation-request-id": [ - "54b600d7-33a1-42b8-9dde-cf4ce693e269" + "aa5ae97b-bd2e-46ea-b810-27ef95a62597" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102741Z:54b600d7-33a1-42b8-9dde-cf4ce693e269" + "WESTEUROPE:20150522T085409Z:aa5ae97b-bd2e-46ea-b810-27ef95a62597" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:40 GMT" + "Fri, 22 May 2015 08:54:09 GMT" ] }, "StatusCode": 200 @@ -607,10 +703,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:27:37.7930643Z\",\r\n \"duration\": \"PT2.655424S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -622,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "14985" ], "x-ms-request-id": [ - "aa9ba0ba-8849-4683-afba-e57f736c52d4" + "d49e33db-ceb7-49a9-a595-1d2d129d9c23" ], "x-ms-correlation-request-id": [ - "aa9ba0ba-8849-4683-afba-e57f736c52d4" + "d49e33db-ceb7-49a9-a595-1d2d129d9c23" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102744Z:aa9ba0ba-8849-4683-afba-e57f736c52d4" + "WESTEUROPE:20150522T085412Z:d49e33db-ceb7-49a9-a595-1d2d129d9c23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:43 GMT" + "Fri, 22 May 2015 08:54:11 GMT" ] }, "StatusCode": 200 @@ -655,10 +751,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:27:37.7930643Z\",\r\n \"duration\": \"PT2.655424S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -670,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "14983" ], "x-ms-request-id": [ - "106a6d08-7683-42aa-a905-b8fa2ecfb2ec" + "2d9d9d0f-8c56-41e8-8d00-9ea04175c573" ], "x-ms-correlation-request-id": [ - "106a6d08-7683-42aa-a905-b8fa2ecfb2ec" + "2d9d9d0f-8c56-41e8-8d00-9ea04175c573" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102747Z:106a6d08-7683-42aa-a905-b8fa2ecfb2ec" + "WESTEUROPE:20150522T085416Z:2d9d9d0f-8c56-41e8-8d00-9ea04175c573" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:46 GMT" + "Fri, 22 May 2015 08:54:16 GMT" ] }, "StatusCode": 200 @@ -703,10 +799,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:27:37.7930643Z\",\r\n \"duration\": \"PT2.655424S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:54:02.8632044Z\",\r\n \"duration\": \"PT1.6876211S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -718,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "14981" ], "x-ms-request-id": [ - "75527983-f33d-4745-ac52-f375fd20cf96" + "99b3a445-2fe3-43b7-ba23-26e64f776058" ], "x-ms-correlation-request-id": [ - "75527983-f33d-4745-ac52-f375fd20cf96" + "99b3a445-2fe3-43b7-ba23-26e64f776058" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102750Z:75527983-f33d-4745-ac52-f375fd20cf96" + "WESTEUROPE:20150522T085419Z:99b3a445-2fe3-43b7-ba23-26e64f776058" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:49 GMT" + "Fri, 22 May 2015 08:54:19 GMT" ] }, "StatusCode": 200 @@ -751,7 +847,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:27:50.1685494Z\",\r\n \"duration\": \"PT15.0309091S\",\r\n \"correlationId\": \"f0f2141b-6b48-4c0e-a839-48c764e3d014\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db40222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:54:19.6956446Z\",\r\n \"duration\": \"PT18.5200613S\",\r\n \"correlationId\": \"6a2ed5c4-5eb5-4539-b0dd-e425f04480d9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1642" @@ -766,16 +862,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31987" + "14979" ], "x-ms-request-id": [ - "54e35e08-7837-431c-a911-6e9c0ac3c09f" + "28781216-0d4f-4335-802c-849ceea721a3" ], "x-ms-correlation-request-id": [ - "54e35e08-7837-431c-a911-6e9c0ac3c09f" + "28781216-0d4f-4335-802c-849ceea721a3" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102753Z:54e35e08-7837-431c-a911-6e9c0ac3c09f" + "WESTEUROPE:20150522T085422Z:28781216-0d4f-4335-802c-849ceea721a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +880,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:53 GMT" + "Fri, 22 May 2015 08:54:22 GMT" ] }, "StatusCode": 200 @@ -799,10 +895,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"name\": \"sql-dm-cmdlet-server40222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"name\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222\",\r\n \"name\": \"sql-dm-cmdlet-server40222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222\",\r\n \"name\": \"sql-dm-cmdlet-server40222/sql-dm-cmdlet-db40222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "602" ], "Content-Type": [ "application/json; charset=utf-8" @@ -814,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31986" + "14978" ], "x-ms-request-id": [ - "a831e3b2-66d6-4320-96d2-d31e99153a80" + "5c5aaa93-a91e-478c-8ec8-03c0d42ca1ff" ], "x-ms-correlation-request-id": [ - "a831e3b2-66d6-4320-96d2-d31e99153a80" + "5c5aaa93-a91e-478c-8ec8-03c0d42ca1ff" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102755Z:a831e3b2-66d6-4320-96d2-d31e99153a80" + "WESTEUROPE:20150522T085424Z:5c5aaa93-a91e-478c-8ec8-03c0d42ca1ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +928,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:55 GMT" + "Fri, 22 May 2015 08:54:24 GMT" ] }, "StatusCode": 200 @@ -865,16 +961,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "northeurope:51ff7fb1-922f-41c3-8a92-8f694635dd48" + "westeurope:86c15607-458d-49d3-8252-df42862ad9e4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14999" ], "x-ms-correlation-request-id": [ - "7ed7e1f1-b090-4760-8c27-79d4af0f7295" + "cb9ef00b-4577-424c-97fc-a2ccd33c65ed" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102756Z:7ed7e1f1-b090-4760-8c27-79d4af0f7295" + "WESTEUROPE:20150522T085425Z:cb9ef00b-4577-424c-97fc-a2ccd33c65ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -883,7 +979,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:56 GMT" + "Fri, 22 May 2015 08:54:25 GMT" ] }, "StatusCode": 200 @@ -898,7 +994,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4db36739-81b9-4483-9a0c-1f1c4805b511" + "24666946-eb91-443d-a813-325378d0b3c9" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -910,7 +1006,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "1b37144c-0057-4082-84bd-440acd36b2ad" + "4330dcc1-a2b9-4c0b-950e-3b9f902cf9db" ], "X-Content-Type-Options": [ "nosniff" @@ -919,13 +1015,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31983" + "14962" ], "x-ms-correlation-request-id": [ - "06a45245-f714-4e74-8bf4-072c1f7bf869" + "f93164ae-cabe-45fb-b4f5-7317f7ed380d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102758Z:06a45245-f714-4e74-8bf4-072c1f7bf869" + "WESTEUROPE:20150522T085427Z:f93164ae-cabe-45fb-b4f5-7317f7ed380d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -934,7 +1030,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:27:58 GMT" + "Fri, 22 May 2015 08:54:26 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -958,7 +1054,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4db36739-81b9-4483-9a0c-1f1c4805b511" + "24666946-eb91-443d-a813-325378d0b3c9" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -970,7 +1066,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "dc2acf46-6568-45c3-8354-1c73336b0002" + "3bc8e520-347e-4ae5-bed0-bb486107abcf" ], "X-Content-Type-Options": [ "nosniff" @@ -982,13 +1078,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1193" ], "x-ms-correlation-request-id": [ - "9cf8e024-1310-4b13-9bf9-e4a8bf0c377a" + "0a8a07fa-930c-4804-96f9-ff8d9c348139" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102800Z:9cf8e024-1310-4b13-9bf9-e4a8bf0c377a" + "WESTEUROPE:20150522T085428Z:0a8a07fa-930c-4804-96f9-ff8d9c348139" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -997,7 +1093,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:00 GMT" + "Fri, 22 May 2015 08:54:27 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1015,7 +1111,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "61d42bd2-441e-4b46-a56a-0db85ac40310" + "7e7e0eab-ae5a-470c-9cf6-6817fd0a3595" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1027,7 +1123,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "5e5d00e8-1e98-49b3-a330-4b6cc1781417" + "a33f0c09-3d51-4606-bcdc-6077501ea99a" ], "X-Content-Type-Options": [ "nosniff" @@ -1036,13 +1132,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31982" + "14961" ], "x-ms-correlation-request-id": [ - "b83ce9d0-bc22-48dd-abf2-b0f54e0d7c42" + "d695fe20-4ef5-4295-937d-d775c45fcfc1" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102802Z:b83ce9d0-bc22-48dd-abf2-b0f54e0d7c42" + "WESTEUROPE:20150522T085430Z:d695fe20-4ef5-4295-937d-d775c45fcfc1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1051,7 +1147,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:02 GMT" + "Fri, 22 May 2015 08:54:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1069,7 +1165,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "e3c26914-2979-470e-a5de-a0f9ddaf1e12" + "af2e35e9-99ae-4320-9b44-af48f85a0d8f" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1081,7 +1177,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "227a5b00-4e56-4478-af33-d0ec12cee6b0" + "a499b142-fbd2-477e-b28b-686f6b623027" ], "X-Content-Type-Options": [ "nosniff" @@ -1090,13 +1186,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31981" + "14960" ], "x-ms-correlation-request-id": [ - "366b279d-7ef5-47df-935f-5ef31cb1d46e" + "2ee3183a-67e8-40a2-b292-bddeaeb0da8e" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102803Z:366b279d-7ef5-47df-935f-5ef31cb1d46e" + "WESTEUROPE:20150522T085431Z:2ee3183a-67e8-40a2-b292-bddeaeb0da8e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1105,7 +1201,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:03 GMT" + "Fri, 22 May 2015 08:54:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1123,7 +1219,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "5fda891a-6804-4b13-ae1d-7abace69278e" + "03623a10-ffb9-4d47-8099-c7840a7ef060" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table1\",\r\n \"columnName\": \"Column1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1135,7 +1231,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "61ef0757-3e6d-428a-aa61-7452440e1944" + "3759e657-f641-45a4-9719-c747060e20da" ], "X-Content-Type-Options": [ "nosniff" @@ -1144,13 +1240,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" + "14959" ], "x-ms-correlation-request-id": [ - "7b96a7ee-5061-4bf5-b477-2af3d5494e80" + "48c5bbbf-39e0-4884-b099-f1a5b67529e8" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102806Z:7b96a7ee-5061-4bf5-b477-2af3d5494e80" + "WESTEUROPE:20150522T085434Z:48c5bbbf-39e0-4884-b099-f1a5b67529e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1159,7 +1255,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:06 GMT" + "Fri, 22 May 2015 08:54:34 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1177,7 +1273,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b1cb4633-10cc-4296-ab1e-6ece1b81b8da" + "6e77b837-c6db-4116-aa20-867ed6681314" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table1\",\r\n \"columnName\": \"Column1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1189,7 +1285,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "c5a4f81b-226f-42d9-baab-51d037d5fbd3" + "3a0f6a97-2d37-4818-a8a6-a3269ca427d9" ], "X-Content-Type-Options": [ "nosniff" @@ -1198,13 +1294,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31979" + "14958" ], "x-ms-correlation-request-id": [ - "2f462f9c-508b-41a2-b43f-23e54388a144" + "ede15b78-d857-433f-aa14-ed0945be2a44" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102807Z:2f462f9c-508b-41a2-b43f-23e54388a144" + "WESTEUROPE:20150522T085436Z:ede15b78-d857-433f-aa14-ed0945be2a44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1213,7 +1309,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:07 GMT" + "Fri, 22 May 2015 08:54:36 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1231,7 +1327,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "12d6c7ed-cd10-4f57-a233-92c53c63d612" + "f2519ff5-ba4d-4ab1-bf91-fde577d32bb9" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table1\",\r\n \"columnName\": \"Column1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1243,7 +1339,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "d85a35c2-4734-485a-ada4-0a7f66eb4122" + "c24ae66f-e24a-4cf5-aaa2-9c6077a6405c" ], "X-Content-Type-Options": [ "nosniff" @@ -1252,13 +1348,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31978" + "14957" ], "x-ms-correlation-request-id": [ - "e9d8e3c4-933c-445a-9008-6b4abed15667" + "4e883a4a-82e8-4472-806d-08609c546981" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102809Z:e9d8e3c4-933c-445a-9008-6b4abed15667" + "WESTEUROPE:20150522T085437Z:4e883a4a-82e8-4472-806d-08609c546981" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1267,7 +1363,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:08 GMT" + "Fri, 22 May 2015 08:54:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1285,7 +1381,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "09ff6cae-a92f-45b4-9a0d-ad022cbe42a5" + "0fe61c4a-f25a-4888-88d1-626f638bbe61" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table2\",\r\n \"columnName\": \"Column2\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Email\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1297,7 +1393,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "7ede8e23-21ac-46e8-ab4f-8a2aa4f8e362" + "a1735624-ed86-4fd2-9fb1-7021f2523246" ], "X-Content-Type-Options": [ "nosniff" @@ -1306,13 +1402,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31977" + "14956" ], "x-ms-correlation-request-id": [ - "dee9c6ec-ffd4-40ee-afb6-44435dcece45" + "1606eb20-4fd2-4eda-afba-4ccf7c01e280" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102812Z:dee9c6ec-ffd4-40ee-afb6-44435dcece45" + "WESTEUROPE:20150522T085440Z:1606eb20-4fd2-4eda-afba-4ccf7c01e280" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1321,7 +1417,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:11 GMT" + "Fri, 22 May 2015 08:54:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1339,7 +1435,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0d37bfcf-2856-4ee6-985e-6f95bb8abe18" + "42c59ace-364a-4784-b3e5-b28304504649" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table2\",\r\n \"columnName\": \"Column2\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Email\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1351,7 +1447,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "624f6d40-c07d-4f36-b7ba-658b24f15c1c" + "dbe04e6b-bcf3-4fb1-90df-fe73d0c885b7" ], "X-Content-Type-Options": [ "nosniff" @@ -1360,13 +1456,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31976" + "14955" ], "x-ms-correlation-request-id": [ - "c1f0ea2d-21f6-4eff-9a1c-fb77149f62c5" + "c4efcad3-872e-4ef4-a538-7c07aabf7caa" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102813Z:c1f0ea2d-21f6-4eff-9a1c-fb77149f62c5" + "WESTEUROPE:20150522T085442Z:c4efcad3-872e-4ef4-a538-7c07aabf7caa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1375,7 +1471,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:13 GMT" + "Fri, 22 May 2015 08:54:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1393,7 +1489,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0c423265-2187-42f8-8683-6bd2fd52d86b" + "7444f119-2a93-4feb-8de8-131a3ba4e949" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table2\",\r\n \"columnName\": \"Column2\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Email\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1405,7 +1501,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "7759519a-e2da-4746-8b13-a773d72942a5" + "23d4b30e-c4a5-448c-9d76-e50904408b8c" ], "X-Content-Type-Options": [ "nosniff" @@ -1414,13 +1510,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31975" + "14954" ], "x-ms-correlation-request-id": [ - "f3746093-e549-4698-bc19-ff8142c2420c" + "690b8dc9-b560-4bf8-9e79-970949836caf" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102815Z:f3746093-e549-4698-bc19-ff8142c2420c" + "WESTEUROPE:20150522T085443Z:690b8dc9-b560-4bf8-9e79-970949836caf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1429,7 +1525,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:14 GMT" + "Fri, 22 May 2015 08:54:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1447,7 +1543,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "63146350-f7db-400b-983e-c1064bdb4133" + "95a07ec3-0472-4897-9732-730a22b1ed60" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1459,7 +1555,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "328ed1c5-8398-45f4-ac98-4f5a379ae71d" + "0d575aeb-809e-47ce-babd-147391b791eb" ], "X-Content-Type-Options": [ "nosniff" @@ -1468,13 +1564,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31974" + "14953" ], "x-ms-correlation-request-id": [ - "28637a41-9463-48b1-869d-fb16376283d8" + "5926dc9e-9390-465b-a6fa-5216b89a4c01" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102817Z:28637a41-9463-48b1-869d-fb16376283d8" + "WESTEUROPE:20150522T085446Z:5926dc9e-9390-465b-a6fa-5216b89a4c01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1483,7 +1579,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:17 GMT" + "Fri, 22 May 2015 08:54:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1501,7 +1597,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "c822c61c-74cb-450e-801c-fe0dc7c6fe27" + "d8de3255-89cf-4a9d-a415-99b9f3a80c29" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1513,7 +1609,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "722d0924-3213-44fb-8575-cc8645f1757a" + "daba7410-eb69-4c09-b9d1-d49ffa2696ce" ], "X-Content-Type-Options": [ "nosniff" @@ -1522,13 +1618,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31973" + "14952" ], "x-ms-correlation-request-id": [ - "ffc2370c-c7c8-4cc4-9638-f3f326c7ed54" + "dfaf4902-6ad4-491c-bd3c-3aba1f33aa34" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102819Z:ffc2370c-c7c8-4cc4-9638-f3f326c7ed54" + "WESTEUROPE:20150522T085447Z:dfaf4902-6ad4-491c-bd3c-3aba1f33aa34" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1537,7 +1633,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:18 GMT" + "Fri, 22 May 2015 08:54:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1561,7 +1657,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "e3c26914-2979-470e-a5de-a0f9ddaf1e12" + "af2e35e9-99ae-4320-9b44-af48f85a0d8f" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table1\",\r\n \"columnName\": \"Column1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", @@ -1573,7 +1669,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "d3e64654-4bc0-4bd8-a18e-d7c03d3f0ed5" + "5e0f1d21-f376-445f-8030-4bd9a559d68d" ], "X-Content-Type-Options": [ "nosniff" @@ -1585,13 +1681,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1192" ], "x-ms-correlation-request-id": [ - "d017b3a0-fdee-4114-9546-f0eb44d32f2b" + "6d2d3396-d1fe-442e-aabe-5bd2b12c5a0c" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102805Z:d017b3a0-fdee-4114-9546-f0eb44d32f2b" + "WESTEUROPE:20150522T085433Z:6d2d3396-d1fe-442e-aabe-5bd2b12c5a0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1600,7 +1696,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:05 GMT" + "Fri, 22 May 2015 08:54:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1624,7 +1720,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "12d6c7ed-cd10-4f57-a233-92c53c63d612" + "f2519ff5-ba4d-4ab1-bf91-fde577d32bb9" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg40222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server40222/databases/sql-dm-cmdlet-db40222/dataMaskingPolicies/Default/rules/rule1\",\r\n \"name\": \"rule1\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule1\",\r\n \"ruleState\": null,\r\n \"tableName\": \"Table2\",\r\n \"columnName\": \"Column2\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Email\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", @@ -1636,7 +1732,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "67dbd842-1d7e-474d-832c-4c1cbe479cd0" + "39d18f5e-624c-4c0c-b359-7d7c34dc3ac9" ], "X-Content-Type-Options": [ "nosniff" @@ -1648,13 +1744,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1191" ], "x-ms-correlation-request-id": [ - "dc276781-7aa8-42bb-b924-71253113630d" + "7674db95-6ad1-4404-a7d0-c8daa2311499" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102810Z:dc276781-7aa8-42bb-b924-71253113630d" + "WESTEUROPE:20150522T085439Z:7674db95-6ad1-4404-a7d0-c8daa2311499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1663,7 +1759,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:10 GMT" + "Fri, 22 May 2015 08:54:39 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1681,7 +1777,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0c423265-2187-42f8-8683-6bd2fd52d86b" + "7444f119-2a93-4feb-8de8-131a3ba4e949" ] }, "ResponseBody": "", @@ -1690,7 +1786,7 @@ "0" ], "x-ms-request-id": [ - "b2e47420-b21e-43b9-a1cd-2d3dcc34f9b5" + "d07f701c-9732-46cb-806e-a4fad7cdf14b" ], "X-Content-Type-Options": [ "nosniff" @@ -1699,13 +1795,13 @@ "1.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1190" ], "x-ms-correlation-request-id": [ - "1d9fb75f-8c36-4a59-bf29-34848ff52310" + "67683d3e-c798-4933-81f4-64bb86f07f65" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102816Z:1d9fb75f-8c36-4a59-bf29-34848ff52310" + "WESTEUROPE:20150522T085445Z:67683d3e-c798-4933-81f4-64bb86f07f65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1714,7 +1810,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:28:16 GMT" + "Fri, 22 May 2015 08:54:44 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingLevelChanges.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingLevelChanges.json index 0db00252404e..1f43561f310c 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingLevelChanges.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingLevelChanges.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31914" + "14977" ], "x-ms-request-id": [ - "f4b5b0ce-11c1-4541-afc6-b607830dcfed" + "5f6fda8b-f18d-42f1-95cb-8faf4baaecd4" ], "x-ms-correlation-request-id": [ - "f4b5b0ce-11c1-4541-afc6-b607830dcfed" + "5f6fda8b-f18d-42f1-95cb-8faf4baaecd4" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103337Z:f4b5b0ce-11c1-4541-afc6-b607830dcfed" + "WESTEUROPE:20150522T085543Z:5f6fda8b-f18d-42f1-95cb-8faf4baaecd4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:37 GMT" + "Fri, 22 May 2015 08:55:42 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1193" ], "x-ms-request-id": [ - "9fcc907d-7a07-454b-b647-3853380fb4e8" + "cd9cc332-4ce6-45ae-9b80-95b0789ab7d8" ], "x-ms-correlation-request-id": [ - "9fcc907d-7a07-454b-b647-3853380fb4e8" + "cd9cc332-4ce6-45ae-9b80-95b0789ab7d8" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103339Z:9fcc907d-7a07-454b-b647-3853380fb4e8" + "WESTEUROPE:20150522T085545Z:cd9cc332-4ce6-45ae-9b80-95b0789ab7d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:39 GMT" + "Fri, 22 May 2015 08:55:44 GMT" ] }, "StatusCode": 201 @@ -121,7 +121,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:33:40.2168699Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"9b14b1ee-867f-4cc1-b0bc-437f20f99e64\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:55:45.8871755Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"bda0a83e-8c0e-4bb9-8130-a561ea296b46\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1632" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1192" ], "x-ms-request-id": [ - "9b14b1ee-867f-4cc1-b0bc-437f20f99e64" + "bda0a83e-8c0e-4bb9-8130-a561ea296b46" ], "x-ms-correlation-request-id": [ - "9b14b1ee-867f-4cc1-b0bc-437f20f99e64" + "bda0a83e-8c0e-4bb9-8130-a561ea296b46" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103340Z:9b14b1ee-867f-4cc1-b0bc-437f20f99e64" + "WESTEUROPE:20150522T085545Z:bda0a83e-8c0e-4bb9-8130-a561ea296b46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:39 GMT" + "Fri, 22 May 2015 08:55:45 GMT" ] }, "StatusCode": 200 @@ -175,7 +175,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:33:41.7988851Z\",\r\n \"duration\": \"PT0.9162994S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:55:47.7219079Z\",\r\n \"duration\": \"PT1.0894954S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1640" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1191" ], "x-ms-request-id": [ - "5572021f-1e89-4f32-b520-4d7b90e2dfee" + "c2594a30-8010-4f03-8a7b-a198601946d8" ], "x-ms-correlation-request-id": [ - "5572021f-1e89-4f32-b520-4d7b90e2dfee" + "c2594a30-8010-4f03-8a7b-a198601946d8" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103342Z:5572021f-1e89-4f32-b520-4d7b90e2dfee" + "WESTEUROPE:20150522T085548Z:c2594a30-8010-4f03-8a7b-a198601946d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:41 GMT" + "Fri, 22 May 2015 08:55:47 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31913" + "14976" ], "x-ms-request-id": [ - "71c6572f-697b-4b18-9cd0-c15a461be02b" + "61aac4f7-4835-42f1-9874-cf5c6d353d9c" ], "x-ms-correlation-request-id": [ - "71c6572f-697b-4b18-9cd0-c15a461be02b" + "61aac4f7-4835-42f1-9874-cf5c6d353d9c" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103342Z:71c6572f-697b-4b18-9cd0-c15a461be02b" + "WESTEUROPE:20150522T085548Z:61aac4f7-4835-42f1-9874-cf5c6d353d9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:42 GMT" + "Fri, 22 May 2015 08:55:48 GMT" ] }, "StatusCode": 200 @@ -286,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31911" + "14974" ], "x-ms-request-id": [ - "3872ec38-06f0-4d8b-abea-93d715c7f016" + "d989c4fb-27d0-4edc-a35b-8074237fd6ce" ], "x-ms-correlation-request-id": [ - "3872ec38-06f0-4d8b-abea-93d715c7f016" + "d989c4fb-27d0-4edc-a35b-8074237fd6ce" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103346Z:3872ec38-06f0-4d8b-abea-93d715c7f016" + "WESTEUROPE:20150522T085551Z:d989c4fb-27d0-4edc-a35b-8074237fd6ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:45 GMT" + "Fri, 22 May 2015 08:55:51 GMT" ] }, "StatusCode": 200 @@ -334,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" + "14972" ], "x-ms-request-id": [ - "ab321045-b443-4b3a-8ac1-49ad9b712d7f" + "d6c07af8-fac1-4f50-a7d6-7db32782f1d6" ], "x-ms-correlation-request-id": [ - "ab321045-b443-4b3a-8ac1-49ad9b712d7f" + "d6c07af8-fac1-4f50-a7d6-7db32782f1d6" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103349Z:ab321045-b443-4b3a-8ac1-49ad9b712d7f" + "WESTEUROPE:20150522T085554Z:d6c07af8-fac1-4f50-a7d6-7db32782f1d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:48 GMT" + "Fri, 22 May 2015 08:55:54 GMT" ] }, "StatusCode": 200 @@ -382,16 +382,64 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" + "14970" + ], + "x-ms-request-id": [ + "0a34cdee-5de0-4ead-87b2-511c89c6fb35" + ], + "x-ms-correlation-request-id": [ + "0a34cdee-5de0-4ead-87b2-511c89c6fb35" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085557Z:0a34cdee-5de0-4ead-87b2-511c89c6fb35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:55:57 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzIwNzc3L2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:00.0192169Z\",\r\n \"duration\": \"PT9.7365182S\",\r\n \"trackingId\": \"eb8c69a6-03ba-483f-9807-0d0943bc8aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "663" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14968" ], "x-ms-request-id": [ - "5d5dcacb-ddf0-4d2c-b67c-866b18468196" + "964f5bba-cc2e-4979-ad35-bb81f0ee9a28" ], "x-ms-correlation-request-id": [ - "5d5dcacb-ddf0-4d2c-b67c-866b18468196" + "964f5bba-cc2e-4979-ad35-bb81f0ee9a28" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103352Z:5d5dcacb-ddf0-4d2c-b67c-866b18468196" + "WESTEUROPE:20150522T085600Z:964f5bba-cc2e-4979-ad35-bb81f0ee9a28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:51 GMT" + "Fri, 22 May 2015 08:56:00 GMT" ] }, "StatusCode": 200 @@ -415,10 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:53.1919382Z\",\r\n \"duration\": \"PT8.861663S\",\r\n \"trackingId\": \"bb0d19d2-b02c-4867-8e26-bd2fe98d89f1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:00.0192169Z\",\r\n \"duration\": \"PT9.7365182S\",\r\n \"trackingId\": \"eb8c69a6-03ba-483f-9807-0d0943bc8aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "662" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -430,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31905" + "14966" ], "x-ms-request-id": [ - "96929b7c-b57c-4f09-a28b-c1bc404a17a2" + "23d5cd5a-7e16-453b-a9fe-3d3bbdbac7d6" ], "x-ms-correlation-request-id": [ - "96929b7c-b57c-4f09-a28b-c1bc404a17a2" + "23d5cd5a-7e16-453b-a9fe-3d3bbdbac7d6" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103355Z:96929b7c-b57c-4f09-a28b-c1bc404a17a2" + "WESTEUROPE:20150522T085604Z:23d5cd5a-7e16-453b-a9fe-3d3bbdbac7d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +496,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:54 GMT" + "Fri, 22 May 2015 08:56:03 GMT" ] }, "StatusCode": 200 @@ -463,10 +511,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:53.1919382Z\",\r\n \"duration\": \"PT8.861663S\",\r\n \"trackingId\": \"bb0d19d2-b02c-4867-8e26-bd2fe98d89f1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:00.0192169Z\",\r\n \"duration\": \"PT9.7365182S\",\r\n \"trackingId\": \"eb8c69a6-03ba-483f-9807-0d0943bc8aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "662" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -478,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31903" + "14964" ], "x-ms-request-id": [ - "dde8674e-910c-4750-b1f0-bd9b75939a1f" + "65efe146-0ebf-4ac3-83f5-15729af0be83" ], "x-ms-correlation-request-id": [ - "dde8674e-910c-4750-b1f0-bd9b75939a1f" + "65efe146-0ebf-4ac3-83f5-15729af0be83" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103357Z:dde8674e-910c-4750-b1f0-bd9b75939a1f" + "WESTEUROPE:20150522T085607Z:65efe146-0ebf-4ac3-83f5-15729af0be83" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:57 GMT" + "Fri, 22 May 2015 08:56:06 GMT" ] }, "StatusCode": 200 @@ -511,7 +559,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/211B56626F770D4C\",\r\n \"operationId\": \"211B56626F770D4C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:59.6386962Z\",\r\n \"duration\": \"PT5.8621355S\",\r\n \"trackingId\": \"eac0f90b-096f-403a-ba0a-08388e4cb0b9\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:53.1919382Z\",\r\n \"duration\": \"PT8.861663S\",\r\n \"trackingId\": \"bb0d19d2-b02c-4867-8e26-bd2fe98d89f1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/211B56626F770D4C\",\r\n \"operationId\": \"211B56626F770D4C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:07.806701Z\",\r\n \"duration\": \"PT7.1921044S\",\r\n \"trackingId\": \"0255274b-b6b7-4fc3-bb61-3c5fadcf5a25\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:00.0192169Z\",\r\n \"duration\": \"PT9.7365182S\",\r\n \"trackingId\": \"eb8c69a6-03ba-483f-9807-0d0943bc8aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ "1378" @@ -526,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31901" + "14962" ], "x-ms-request-id": [ - "3a72fd8a-2dbe-45f4-bb1c-f4f20e51d156" + "50c1e798-b8ab-44a4-95ab-09fbe31e7d40" ], "x-ms-correlation-request-id": [ - "3a72fd8a-2dbe-45f4-bb1c-f4f20e51d156" + "50c1e798-b8ab-44a4-95ab-09fbe31e7d40" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103401Z:3a72fd8a-2dbe-45f4-bb1c-f4f20e51d156" + "WESTEUROPE:20150522T085610Z:50c1e798-b8ab-44a4-95ab-09fbe31e7d40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -544,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:00 GMT" + "Fri, 22 May 2015 08:56:09 GMT" ] }, "StatusCode": 200 @@ -559,7 +607,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/211B56626F770D4C\",\r\n \"operationId\": \"211B56626F770D4C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:59.6386962Z\",\r\n \"duration\": \"PT5.8621355S\",\r\n \"trackingId\": \"eac0f90b-096f-403a-ba0a-08388e4cb0b9\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:33:53.1919382Z\",\r\n \"duration\": \"PT8.861663S\",\r\n \"trackingId\": \"bb0d19d2-b02c-4867-8e26-bd2fe98d89f1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/211B56626F770D4C\",\r\n \"operationId\": \"211B56626F770D4C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:07.806701Z\",\r\n \"duration\": \"PT7.1921044S\",\r\n \"trackingId\": \"0255274b-b6b7-4fc3-bb61-3c5fadcf5a25\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup/operations/B1D0DB095C697CDE\",\r\n \"operationId\": \"B1D0DB095C697CDE\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:00.0192169Z\",\r\n \"duration\": \"PT9.7365182S\",\r\n \"trackingId\": \"eb8c69a6-03ba-483f-9807-0d0943bc8aa3\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ "1378" @@ -574,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31899" + "14960" ], "x-ms-request-id": [ - "9a692483-2acb-467a-8b91-d590449ebb60" + "10581b4c-78ce-4ef2-b634-b3fb969f45d9" ], "x-ms-correlation-request-id": [ - "9a692483-2acb-467a-8b91-d590449ebb60" + "10581b4c-78ce-4ef2-b634-b3fb969f45d9" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103404Z:9a692483-2acb-467a-8b91-d590449ebb60" + "WESTEUROPE:20150522T085613Z:10581b4c-78ce-4ef2-b634-b3fb969f45d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:03 GMT" + "Fri, 22 May 2015 08:56:12 GMT" ] }, "StatusCode": 200 @@ -607,7 +655,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:33:41.7988851Z\",\r\n \"duration\": \"PT0.9162994S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:55:47.7219079Z\",\r\n \"duration\": \"PT1.0894954S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1640" @@ -622,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31912" + "14975" ], "x-ms-request-id": [ - "701a63d1-4dee-404a-965e-1fe7ef80c0b1" + "ae94b22f-584c-4605-b15e-fba9ee428f40" ], "x-ms-correlation-request-id": [ - "701a63d1-4dee-404a-965e-1fe7ef80c0b1" + "ae94b22f-584c-4605-b15e-fba9ee428f40" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103343Z:701a63d1-4dee-404a-965e-1fe7ef80c0b1" + "WESTEUROPE:20150522T085549Z:ae94b22f-584c-4605-b15e-fba9ee428f40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:43 GMT" + "Fri, 22 May 2015 08:55:48 GMT" ] }, "StatusCode": 200 @@ -655,7 +703,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -670,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "14973" ], "x-ms-request-id": [ - "5576b204-e34c-45b8-9d45-0c76f4fbd8ca" + "28918104-b077-4d69-b17e-b4c33d2b2d5b" ], "x-ms-correlation-request-id": [ - "5576b204-e34c-45b8-9d45-0c76f4fbd8ca" + "28918104-b077-4d69-b17e-b4c33d2b2d5b" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103346Z:5576b204-e34c-45b8-9d45-0c76f4fbd8ca" + "WESTEUROPE:20150522T085552Z:28918104-b077-4d69-b17e-b4c33d2b2d5b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:45 GMT" + "Fri, 22 May 2015 08:55:51 GMT" ] }, "StatusCode": 200 @@ -703,7 +751,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -718,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31908" + "14971" ], "x-ms-request-id": [ - "c51201e4-2a57-4d9f-a6bb-9cc4b2c84ae5" + "7306b428-db96-4787-adfa-e7dac5eac430" ], "x-ms-correlation-request-id": [ - "c51201e4-2a57-4d9f-a6bb-9cc4b2c84ae5" + "7306b428-db96-4787-adfa-e7dac5eac430" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103349Z:c51201e4-2a57-4d9f-a6bb-9cc4b2c84ae5" + "WESTEUROPE:20150522T085555Z:7306b428-db96-4787-adfa-e7dac5eac430" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:48 GMT" + "Fri, 22 May 2015 08:55:54 GMT" ] }, "StatusCode": 200 @@ -751,7 +799,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -766,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "14969" ], "x-ms-request-id": [ - "7bd9446b-5fcf-4a86-8628-1ba2747d63c9" + "246093e5-64fb-427a-a5f5-5104644d7794" ], "x-ms-correlation-request-id": [ - "7bd9446b-5fcf-4a86-8628-1ba2747d63c9" + "246093e5-64fb-427a-a5f5-5104644d7794" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103352Z:7bd9446b-5fcf-4a86-8628-1ba2747d63c9" + "WESTEUROPE:20150522T085558Z:246093e5-64fb-427a-a5f5-5104644d7794" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:51 GMT" + "Fri, 22 May 2015 08:55:57 GMT" ] }, "StatusCode": 200 @@ -799,7 +847,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -814,16 +862,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31904" + "14967" ], "x-ms-request-id": [ - "24ba9499-8a5f-4eb9-855b-59340663dc29" + "c16f7240-5da9-479d-a45e-6ba9028c2ab1" ], "x-ms-correlation-request-id": [ - "24ba9499-8a5f-4eb9-855b-59340663dc29" + "c16f7240-5da9-479d-a45e-6ba9028c2ab1" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103355Z:24ba9499-8a5f-4eb9-855b-59340663dc29" + "WESTEUROPE:20150522T085601Z:c16f7240-5da9-479d-a45e-6ba9028c2ab1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +880,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:54 GMT" + "Fri, 22 May 2015 08:56:00 GMT" ] }, "StatusCode": 200 @@ -847,7 +895,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -862,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31902" + "14965" ], "x-ms-request-id": [ - "10bdc1a0-491d-4e3e-95a9-72b0c3d4e826" + "bff02f09-102e-4d0e-b7d1-28da1e26b577" ], "x-ms-correlation-request-id": [ - "10bdc1a0-491d-4e3e-95a9-72b0c3d4e826" + "bff02f09-102e-4d0e-b7d1-28da1e26b577" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103358Z:10bdc1a0-491d-4e3e-95a9-72b0c3d4e826" + "WESTEUROPE:20150522T085604Z:bff02f09-102e-4d0e-b7d1-28da1e26b577" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +928,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:33:57 GMT" + "Fri, 22 May 2015 08:56:03 GMT" ] }, "StatusCode": 200 @@ -895,7 +943,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:33:43.8801636Z\",\r\n \"duration\": \"PT2.9975779S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -910,16 +958,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31900" + "14963" ], "x-ms-request-id": [ - "97c8d3c2-4b1b-4cc2-a051-1634c52951c2" + "32b2e89f-63a4-44a1-8f60-f0def44fb3ea" ], "x-ms-correlation-request-id": [ - "97c8d3c2-4b1b-4cc2-a051-1634c52951c2" + "32b2e89f-63a4-44a1-8f60-f0def44fb3ea" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103401Z:97c8d3c2-4b1b-4cc2-a051-1634c52951c2" + "WESTEUROPE:20150522T085607Z:32b2e89f-63a4-44a1-8f60-f0def44fb3ea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +976,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:00 GMT" + "Fri, 22 May 2015 08:56:06 GMT" ] }, "StatusCode": 200 @@ -943,10 +991,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:34:02.14839Z\",\r\n \"duration\": \"PT21.2658043S\",\r\n \"correlationId\": \"5572021f-1e89-4f32-b520-4d7b90e2dfee\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:55:49.7833753Z\",\r\n \"duration\": \"PT3.1509628S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1640" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -958,16 +1006,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31898" + "14961" ], "x-ms-request-id": [ - "92e00746-746a-4179-b4d5-484b3362efae" + "b52531f6-29ca-4cd6-b6d5-55459b50ec89" ], "x-ms-correlation-request-id": [ - "92e00746-746a-4179-b4d5-484b3362efae" + "b52531f6-29ca-4cd6-b6d5-55459b50ec89" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103404Z:92e00746-746a-4179-b4d5-484b3362efae" + "WESTEUROPE:20150522T085610Z:b52531f6-29ca-4cd6-b6d5-55459b50ec89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -976,7 +1024,55 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:03 GMT" + "Fri, 22 May 2015 08:56:09 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzIwNzc3L2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db20777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:56:10.6956337Z\",\r\n \"duration\": \"PT24.0632212S\",\r\n \"correlationId\": \"c2594a30-8010-4f03-8a7b-a198601946d8\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1642" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14959" + ], + "x-ms-request-id": [ + "3dc716c0-89bc-40db-a795-3942fa87b8f4" + ], + "x-ms-correlation-request-id": [ + "3dc716c0-89bc-40db-a795-3942fa87b8f4" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085613Z:3dc716c0-89bc-40db-a795-3942fa87b8f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:56:13 GMT" ] }, "StatusCode": 200 @@ -991,10 +1087,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"name\": \"sql-dm-cmdlet-server20777\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"name\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777\",\r\n \"name\": \"sql-dm-cmdlet-server20777\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777\",\r\n \"name\": \"sql-dm-cmdlet-server20777/sql-dm-cmdlet-db20777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "602" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1006,16 +1102,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31897" + "14958" ], "x-ms-request-id": [ - "2119c589-d02b-4a63-a01c-62c63753bf1d" + "3f3dc135-36b3-4335-bd33-5dec6a105487" ], "x-ms-correlation-request-id": [ - "2119c589-d02b-4a63-a01c-62c63753bf1d" + "3f3dc135-36b3-4335-bd33-5dec6a105487" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103406Z:2119c589-d02b-4a63-a01c-62c63753bf1d" + "WESTEUROPE:20150522T085616Z:3f3dc135-36b3-4335-bd33-5dec6a105487" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1024,7 +1120,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:05 GMT" + "Fri, 22 May 2015 08:56:15 GMT" ] }, "StatusCode": 200 @@ -1057,16 +1153,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westeurope:9ccc4efa-261f-44c8-aa44-10460d3ac924" + "westeurope:f3bff442-38dd-4aa8-ac04-2d5392defa1a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31918" + "14951" ], "x-ms-correlation-request-id": [ - "e6944555-c72a-495d-9e98-1ee67f107970" + "8ffa1864-29b9-4e5f-af92-de2d3f0584f9" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103407Z:e6944555-c72a-495d-9e98-1ee67f107970" + "WESTEUROPE:20150522T085616Z:8ffa1864-29b9-4e5f-af92-de2d3f0584f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1075,7 +1171,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:07 GMT" + "Fri, 22 May 2015 08:56:16 GMT" ] }, "StatusCode": 200 @@ -1090,7 +1186,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "98d4282e-9a0f-42f6-957e-95d1976aec16" + "24631cce-11db-490d-b12b-40024875f2a5" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1102,7 +1198,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ce0b791d-f8ba-4f33-a397-b3353d4e89a7" + "0bd98974-c138-4c4d-99f1-055173393547" ], "X-Content-Type-Options": [ "nosniff" @@ -1111,13 +1207,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31960" + "14991" ], "x-ms-correlation-request-id": [ - "361c6b3d-c06c-4527-ab25-fd575fd41d95" + "38ec32fa-0215-4071-84c3-d54101137e1b" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103409Z:361c6b3d-c06c-4527-ab25-fd575fd41d95" + "WESTEUROPE:20150522T085618Z:38ec32fa-0215-4071-84c3-d54101137e1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1126,7 +1222,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:08 GMT" + "Fri, 22 May 2015 08:56:17 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1144,7 +1240,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "3a0c40ef-0a64-44a0-be97-e4c2b65a3b71" + "1d636e67-844a-4ae6-a706-612e2d3e9d0c" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1156,7 +1252,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "b8978e56-86ee-407e-ba13-be551ab13c22" + "4e81248c-55a5-4fd6-be06-4c348c424680" ], "X-Content-Type-Options": [ "nosniff" @@ -1165,13 +1261,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31959" + "14990" ], "x-ms-correlation-request-id": [ - "15ac7bb4-65fd-48ab-8d8b-c3dada69359a" + "0bd207b4-1a04-4eed-8e1c-8c9725f47372" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103412Z:15ac7bb4-65fd-48ab-8d8b-c3dada69359a" + "WESTEUROPE:20150522T085621Z:0bd207b4-1a04-4eed-8e1c-8c9725f47372" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1180,7 +1276,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:11 GMT" + "Fri, 22 May 2015 08:56:21 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1198,7 +1294,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0bd47859-5cfc-47ff-9a48-afa072a03db6" + "63edc78b-6794-4bc8-aa14-5e8e94adf462" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1210,7 +1306,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "53b393a6-bbfc-47cf-8f99-67c51a72f13a" + "7715f419-13ce-44c2-a5d0-d91524f16d65" ], "X-Content-Type-Options": [ "nosniff" @@ -1219,13 +1315,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31958" + "14989" ], "x-ms-correlation-request-id": [ - "754386c4-822f-4ddd-aee2-25b41614538a" + "701e7241-bcb3-46b3-95ee-30c8d8059fa7" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103413Z:754386c4-822f-4ddd-aee2-25b41614538a" + "WESTEUROPE:20150522T085623Z:701e7241-bcb3-46b3-95ee-30c8d8059fa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1234,7 +1330,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:12 GMT" + "Fri, 22 May 2015 08:56:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1252,7 +1348,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "318dc962-80df-4f5c-ab4b-935696427958" + "1bfd6260-ec4f-47e1-b80f-b627dff654a6" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1264,7 +1360,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "9bf5c011-eba6-459f-9d24-05c70dd6946c" + "c620d5ed-3f40-4000-a166-951ec5204361" ], "X-Content-Type-Options": [ "nosniff" @@ -1273,13 +1369,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31957" + "14988" ], "x-ms-correlation-request-id": [ - "03f009cd-0822-4d70-9c93-0aa7ef649e56" + "31495888-080a-4c1e-9ac5-4750da9a5fcf" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103416Z:03f009cd-0822-4d70-9c93-0aa7ef649e56" + "WESTEUROPE:20150522T085626Z:31495888-080a-4c1e-9ac5-4750da9a5fcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1288,7 +1384,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:15 GMT" + "Fri, 22 May 2015 08:56:26 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1306,7 +1402,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "2d55046e-f9fa-4c6a-a418-db5bb87c0556" + "2cabcfd8-b24e-461f-b01b-8461f601e560" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1318,7 +1414,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "bfc10de5-9d2e-41f3-b679-1dc0207eb4c2" + "c3eb3190-94ee-4f9d-bfbb-91ccb447d193" ], "X-Content-Type-Options": [ "nosniff" @@ -1327,13 +1423,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31956" + "14987" ], "x-ms-correlation-request-id": [ - "b9ee630a-852b-4ac8-8a46-a7e02e8d0a12" + "6e5e173d-ab0a-4b14-9fbc-869d070b69fb" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103418Z:b9ee630a-852b-4ac8-8a46-a7e02e8d0a12" + "WESTEUROPE:20150522T085627Z:6e5e173d-ab0a-4b14-9fbc-869d070b69fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1342,7 +1438,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:17 GMT" + "Fri, 22 May 2015 08:56:27 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1360,7 +1456,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "03d6f7e4-c2ee-49df-9280-c3abd8e23cc8" + "3c7b7828-ed44-4e7e-ae85-6d26eb93461c" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1372,7 +1468,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "b54d4654-b176-4bd4-b797-0589d6ed5444" + "df1606c2-224c-4fb6-bb46-b64a776bebaf" ], "X-Content-Type-Options": [ "nosniff" @@ -1381,13 +1477,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31955" + "14986" ], "x-ms-correlation-request-id": [ - "5de85b1a-5de5-41bc-ac9b-69a21875aa42" + "98d2bebb-4b47-4caf-9b16-433fcb71c4f9" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103421Z:5de85b1a-5de5-41bc-ac9b-69a21875aa42" + "WESTEUROPE:20150522T085630Z:98d2bebb-4b47-4caf-9b16-433fcb71c4f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1396,7 +1492,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:20 GMT" + "Fri, 22 May 2015 08:56:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1414,7 +1510,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "906ae3c7-fbaf-43d8-b727-cb58605a08f4" + "cd067c8b-28b2-42f8-bf44-9c8b61deebc8" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1426,7 +1522,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "4d5bd7a6-dd5a-4986-aadb-29b97ebee2f6" + "fc6c21a0-b978-42ab-97c2-7d8b16c19240" ], "X-Content-Type-Options": [ "nosniff" @@ -1435,13 +1531,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31954" + "14985" ], "x-ms-correlation-request-id": [ - "1a37df0f-ba57-446c-a6b4-95af177d9f9c" + "6390df45-9a85-42b1-847f-ca6b04ec19f9" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103422Z:1a37df0f-ba57-446c-a6b4-95af177d9f9c" + "WESTEUROPE:20150522T085632Z:6390df45-9a85-42b1-847f-ca6b04ec19f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1450,7 +1546,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:22 GMT" + "Fri, 22 May 2015 08:56:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1468,7 +1564,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4bf57d3a-4200-4a92-aad4-0b0f500d2edd" + "120afb9e-bded-409f-ac10-498b2fb5f6d8" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1480,7 +1576,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ff2e4b20-79eb-41d5-819b-a0ce2d1cc5cd" + "4ab1e642-5a3a-48b0-885c-7db0da3b74aa" ], "X-Content-Type-Options": [ "nosniff" @@ -1489,13 +1585,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31953" + "14984" ], "x-ms-correlation-request-id": [ - "c4bc4adc-2025-45e1-98e6-323ac8fc7c22" + "44c7b27c-d422-4fdb-a7ee-757241de1449" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103425Z:c4bc4adc-2025-45e1-98e6-323ac8fc7c22" + "WESTEUROPE:20150522T085635Z:44c7b27c-d422-4fdb-a7ee-757241de1449" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1504,7 +1600,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:25 GMT" + "Fri, 22 May 2015 08:56:35 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1528,7 +1624,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "98d4282e-9a0f-42f6-957e-95d1976aec16" + "24631cce-11db-490d-b12b-40024875f2a5" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1540,7 +1636,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "53ceac53-f40e-4eb1-b018-058f8e5d981b" + "e684fc9a-53be-4da5-a2ad-1ac60cdbce92" ], "X-Content-Type-Options": [ "nosniff" @@ -1552,13 +1648,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1195" ], "x-ms-correlation-request-id": [ - "e3beca97-e2d4-40ce-9d9d-cb538a7f459c" + "5c1e1110-b2fa-48e2-a979-b45d12af70ac" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103410Z:e3beca97-e2d4-40ce-9d9d-cb538a7f459c" + "WESTEUROPE:20150522T085620Z:5c1e1110-b2fa-48e2-a979-b45d12af70ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1567,7 +1663,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:10 GMT" + "Fri, 22 May 2015 08:56:19 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1591,7 +1687,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0bd47859-5cfc-47ff-9a48-afa072a03db6" + "63edc78b-6794-4bc8-aa14-5e8e94adf462" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1603,7 +1699,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "e1721474-6231-439a-b32a-6b645b7b78ec" + "e55fa0d8-9b11-48a5-b641-7f06f7efe1f0" ], "X-Content-Type-Options": [ "nosniff" @@ -1615,13 +1711,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1194" ], "x-ms-correlation-request-id": [ - "59f7d44e-a5bc-4709-86e3-26ba2049c4a4" + "432e0a53-a15e-49a2-9980-973bec80a25e" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103415Z:59f7d44e-a5bc-4709-86e3-26ba2049c4a4" + "WESTEUROPE:20150522T085625Z:432e0a53-a15e-49a2-9980-973bec80a25e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1630,7 +1726,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:14 GMT" + "Fri, 22 May 2015 08:56:25 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1654,7 +1750,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "2d55046e-f9fa-4c6a-a418-db5bb87c0556" + "2cabcfd8-b24e-461f-b01b-8461f601e560" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1666,7 +1762,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "832d873f-52a3-4b8c-84c2-92f2a8c8211f" + "7fec1d05-c2bd-4dcb-9895-592b171d5b43" ], "X-Content-Type-Options": [ "nosniff" @@ -1678,13 +1774,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1193" ], "x-ms-correlation-request-id": [ - "d6c99963-c32f-48b9-9a2a-f47e5b8f7c4d" + "486f2751-780a-4afa-a3ef-c2d259c212a3" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103419Z:d6c99963-c32f-48b9-9a2a-f47e5b8f7c4d" + "WESTEUROPE:20150522T085629Z:486f2751-780a-4afa-a3ef-c2d259c212a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1693,7 +1789,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:18 GMT" + "Fri, 22 May 2015 08:56:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1717,7 +1813,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "906ae3c7-fbaf-43d8-b727-cb58605a08f4" + "cd067c8b-28b2-42f8-bf44-9c8b61deebc8" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg20777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server20777/databases/sql-dm-cmdlet-db20777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1729,7 +1825,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "7dd5d6f8-e6f5-423c-adbf-82cabb8ddf0e" + "181f1e89-4260-4bc9-a077-8838db1a5d78" ], "X-Content-Type-Options": [ "nosniff" @@ -1741,13 +1837,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1192" ], "x-ms-correlation-request-id": [ - "96a689c2-7435-4a43-b731-0c640a5864fd" + "f4a352b1-23b2-4c1f-96e2-4ecb0b81bde5" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103424Z:96a689c2-7435-4a43-b731-0c640a5864fd" + "WESTEUROPE:20150522T085633Z:f4a352b1-23b2-4c1f-96e2-4ecb0b81bde5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1756,7 +1852,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:34:24 GMT" + "Fri, 22 May 2015 08:56:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingNumberRuleLifecycle.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingNumberRuleLifecycle.json index 26267906f1fe..7c507ac7bb3b 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingNumberRuleLifecycle.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingNumberRuleLifecycle.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31941" + "14982" ], "x-ms-request-id": [ - "15f33a78-ca43-4447-90b2-c614d98d6a99" + "87839cbf-724e-4e62-b76f-d3ce3c6a4f6f" ], "x-ms-correlation-request-id": [ - "15f33a78-ca43-4447-90b2-c614d98d6a99" + "87839cbf-724e-4e62-b76f-d3ce3c6a4f6f" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103157Z:15f33a78-ca43-4447-90b2-c614d98d6a99" + "WESTEUROPE:20150522T085914Z:87839cbf-724e-4e62-b76f-d3ce3c6a4f6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:57 GMT" + "Fri, 22 May 2015 08:59:14 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1191" ], "x-ms-request-id": [ - "01768b73-0860-485c-afba-713bb66102be" + "6694ad20-f218-4e88-a6e5-8bde95889aae" ], "x-ms-correlation-request-id": [ - "01768b73-0860-485c-afba-713bb66102be" + "6694ad20-f218-4e88-a6e5-8bde95889aae" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103159Z:01768b73-0860-485c-afba-713bb66102be" + "WESTEUROPE:20150522T085916Z:6694ad20-f218-4e88-a6e5-8bde95889aae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:59 GMT" + "Fri, 22 May 2015 08:59:15 GMT" ] }, "StatusCode": 201 @@ -121,10 +121,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:31:59.813952Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"60cc0cc1-ae03-4022-8df9-3ca47ed4dbab\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:59:16.8860294Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"6d0c3852-9a00-427b-adec-1b0b43186d60\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1631" + "1632" ], "Content-Type": [ "application/json; charset=utf-8" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1190" ], "x-ms-request-id": [ - "60cc0cc1-ae03-4022-8df9-3ca47ed4dbab" + "6d0c3852-9a00-427b-adec-1b0b43186d60" ], "x-ms-correlation-request-id": [ - "60cc0cc1-ae03-4022-8df9-3ca47ed4dbab" + "6d0c3852-9a00-427b-adec-1b0b43186d60" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103159Z:60cc0cc1-ae03-4022-8df9-3ca47ed4dbab" + "WESTEUROPE:20150522T085917Z:6d0c3852-9a00-427b-adec-1b0b43186d60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:59 GMT" + "Fri, 22 May 2015 08:59:17 GMT" ] }, "StatusCode": 200 @@ -175,10 +175,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:32:01.3947763Z\",\r\n \"duration\": \"PT0.92327S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:59:19.1036441Z\",\r\n \"duration\": \"PT1.1224053S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1640" ], "Content-Type": [ "application/json; charset=utf-8" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1189" ], "x-ms-request-id": [ - "9751fe95-5fc0-4be7-81f9-62887895755b" + "36549f36-456a-4af3-b7f0-193fb68b750a" ], "x-ms-correlation-request-id": [ - "9751fe95-5fc0-4be7-81f9-62887895755b" + "36549f36-456a-4af3-b7f0-193fb68b750a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103201Z:9751fe95-5fc0-4be7-81f9-62887895755b" + "WESTEUROPE:20150522T085919Z:36549f36-456a-4af3-b7f0-193fb68b750a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:01 GMT" + "Fri, 22 May 2015 08:59:19 GMT" ] }, "StatusCode": 201 @@ -238,64 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31940" - ], - "x-ms-request-id": [ - "9e40bbb8-3f85-4a41-b111-d52d53f9cd5a" - ], - "x-ms-correlation-request-id": [ - "9e40bbb8-3f85-4a41-b111-d52d53f9cd5a" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103202Z:9e40bbb8-3f85-4a41-b111-d52d53f9cd5a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:32:02 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzUwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31938" + "14981" ], "x-ms-request-id": [ - "c52a30b8-be17-4164-a4aa-f56a07e3021f" + "e6ae07f6-7558-46e5-a5aa-68c4e85ab073" ], "x-ms-correlation-request-id": [ - "c52a30b8-be17-4164-a4aa-f56a07e3021f" + "e6ae07f6-7558-46e5-a5aa-68c4e85ab073" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103205Z:c52a30b8-be17-4164-a4aa-f56a07e3021f" + "WESTEUROPE:20150522T085920Z:e6ae07f6-7558-46e5-a5aa-68c4e85ab073" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:05 GMT" + "Fri, 22 May 2015 08:59:19 GMT" ] }, "StatusCode": 200 @@ -334,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31936" + "14979" ], "x-ms-request-id": [ - "f536851c-eca7-420c-8fc9-1faf9984061a" + "8cc642e7-4bc4-4044-bcba-cc0cc416e608" ], "x-ms-correlation-request-id": [ - "f536851c-eca7-420c-8fc9-1faf9984061a" + "8cc642e7-4bc4-4044-bcba-cc0cc416e608" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103208Z:f536851c-eca7-420c-8fc9-1faf9984061a" + "WESTEUROPE:20150522T085923Z:8cc642e7-4bc4-4044-bcba-cc0cc416e608" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:08 GMT" + "Fri, 22 May 2015 08:59:22 GMT" ] }, "StatusCode": 200 @@ -382,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31934" + "14977" ], "x-ms-request-id": [ - "ea5c2345-b131-44fc-bea1-7512d937fdee" + "daa68a22-dc69-4a7d-baf2-7a82f4ce8f0f" ], "x-ms-correlation-request-id": [ - "ea5c2345-b131-44fc-bea1-7512d937fdee" + "daa68a22-dc69-4a7d-baf2-7a82f4ce8f0f" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103211Z:ea5c2345-b131-44fc-bea1-7512d937fdee" + "WESTEUROPE:20150522T085926Z:daa68a22-dc69-4a7d-baf2-7a82f4ce8f0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:11 GMT" + "Fri, 22 May 2015 08:59:25 GMT" ] }, "StatusCode": 200 @@ -415,10 +367,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/C9F6D5B85A56156E\",\r\n \"operationId\": \"C9F6D5B85A56156E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:11.8628836Z\",\r\n \"duration\": \"PT10.0051879S\",\r\n \"trackingId\": \"04b33005-1cbd-4b27-824c-580ab486c751\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/C9F6D5B85A56156E\",\r\n \"operationId\": \"C9F6D5B85A56156E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:59:27.3571589Z\",\r\n \"duration\": \"PT6.6183576S\",\r\n \"trackingId\": \"0f1cc144-3e76-4edc-aa3a-234f9dd038b7\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "664" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -430,16 +382,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31932" + "14975" ], "x-ms-request-id": [ - "c665eb36-7262-4966-b93e-f7a08e132a91" + "3e1580e6-adeb-43f8-9bd9-58cc96855e4a" ], "x-ms-correlation-request-id": [ - "c665eb36-7262-4966-b93e-f7a08e132a91" + "3e1580e6-adeb-43f8-9bd9-58cc96855e4a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103214Z:c665eb36-7262-4966-b93e-f7a08e132a91" + "WESTEUROPE:20150522T085929Z:3e1580e6-adeb-43f8-9bd9-58cc96855e4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +400,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:14 GMT" + "Fri, 22 May 2015 08:59:29 GMT" ] }, "StatusCode": 200 @@ -463,10 +415,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/F20B58865D17757E\",\r\n \"operationId\": \"F20B58865D17757E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:15.7614257Z\",\r\n \"duration\": \"PT3.3019751S\",\r\n \"trackingId\": \"f9feb104-ffdd-4156-b0e4-45212cd847a6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/C9F6D5B85A56156E\",\r\n \"operationId\": \"C9F6D5B85A56156E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:11.8628836Z\",\r\n \"duration\": \"PT10.0051879S\",\r\n \"trackingId\": \"04b33005-1cbd-4b27-824c-580ab486c751\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/F20B58865D17757E\",\r\n \"operationId\": \"F20B58865D17757E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:59:30.9842149Z\",\r\n \"duration\": \"PT3.5131302S\",\r\n \"trackingId\": \"5c00ef4b-6c85-43ed-a548-78807d42acfc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/C9F6D5B85A56156E\",\r\n \"operationId\": \"C9F6D5B85A56156E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:59:27.3571589Z\",\r\n \"duration\": \"PT6.6183576S\",\r\n \"trackingId\": \"0f1cc144-3e76-4edc-aa3a-234f9dd038b7\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1380" + "1379" ], "Content-Type": [ "application/json; charset=utf-8" @@ -478,16 +430,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31930" + "14973" ], "x-ms-request-id": [ - "5e9e0196-507c-46c0-b41b-6f19601be9b2" + "fa6af6bc-c455-48e9-9a13-5e761fcac2d2" ], "x-ms-correlation-request-id": [ - "5e9e0196-507c-46c0-b41b-6f19601be9b2" + "fa6af6bc-c455-48e9-9a13-5e761fcac2d2" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103217Z:5e9e0196-507c-46c0-b41b-6f19601be9b2" + "WESTEUROPE:20150522T085932Z:fa6af6bc-c455-48e9-9a13-5e761fcac2d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,55 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:17 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzUwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/F20B58865D17757E\",\r\n \"operationId\": \"F20B58865D17757E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:15.7614257Z\",\r\n \"duration\": \"PT3.3019751S\",\r\n \"trackingId\": \"f9feb104-ffdd-4156-b0e4-45212cd847a6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup/operations/C9F6D5B85A56156E\",\r\n \"operationId\": \"C9F6D5B85A56156E\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:11.8628836Z\",\r\n \"duration\": \"PT10.0051879S\",\r\n \"trackingId\": \"04b33005-1cbd-4b27-824c-580ab486c751\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1380" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31928" - ], - "x-ms-request-id": [ - "ece0dd14-030a-4825-8631-1ccfaad425f1" - ], - "x-ms-correlation-request-id": [ - "ece0dd14-030a-4825-8631-1ccfaad425f1" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103220Z:ece0dd14-030a-4825-8631-1ccfaad425f1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:32:20 GMT" + "Fri, 22 May 2015 08:59:32 GMT" ] }, "StatusCode": 200 @@ -559,10 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:59:19.1036441Z\",\r\n \"duration\": \"PT1.1224053S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "1640" ], "Content-Type": [ "application/json; charset=utf-8" @@ -574,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31939" + "14980" ], "x-ms-request-id": [ - "06964787-c1b5-4458-90a4-964af1cf6a39" + "02d1bb08-8dd3-4cd8-9e71-01e30a6d1a25" ], "x-ms-correlation-request-id": [ - "06964787-c1b5-4458-90a4-964af1cf6a39" + "02d1bb08-8dd3-4cd8-9e71-01e30a6d1a25" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103202Z:06964787-c1b5-4458-90a4-964af1cf6a39" + "WESTEUROPE:20150522T085920Z:02d1bb08-8dd3-4cd8-9e71-01e30a6d1a25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,7 +496,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:02 GMT" + "Fri, 22 May 2015 08:59:20 GMT" ] }, "StatusCode": 200 @@ -607,106 +511,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:59:20.2794638Z\",\r\n \"duration\": \"PT2.298225S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31937" - ], - "x-ms-request-id": [ - "f87451f8-1669-403c-9b19-aeaefd008de4" - ], - "x-ms-correlation-request-id": [ - "f87451f8-1669-403c-9b19-aeaefd008de4" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103205Z:f87451f8-1669-403c-9b19-aeaefd008de4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:32:05 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzUwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1639" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31935" - ], - "x-ms-request-id": [ - "14e94276-761d-4772-b607-7a40f86699c1" - ], - "x-ms-correlation-request-id": [ - "14e94276-761d-4772-b607-7a40f86699c1" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103208Z:14e94276-761d-4772-b607-7a40f86699c1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:32:08 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzUwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1639" + "1638" ], "Content-Type": [ "application/json; charset=utf-8" @@ -718,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31933" + "14978" ], "x-ms-request-id": [ - "32235fdb-5ae5-448b-aa67-38d408724809" + "0f60fe16-d791-453d-a176-63ce785ce130" ], "x-ms-correlation-request-id": [ - "32235fdb-5ae5-448b-aa67-38d408724809" + "0f60fe16-d791-453d-a176-63ce785ce130" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103211Z:32235fdb-5ae5-448b-aa67-38d408724809" + "WESTEUROPE:20150522T085923Z:0f60fe16-d791-453d-a176-63ce785ce130" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:11 GMT" + "Fri, 22 May 2015 08:59:23 GMT" ] }, "StatusCode": 200 @@ -751,10 +559,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:59:20.2794638Z\",\r\n \"duration\": \"PT2.298225S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "1638" ], "Content-Type": [ "application/json; charset=utf-8" @@ -766,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31931" + "14976" ], "x-ms-request-id": [ - "6166327b-e43d-4c62-8539-cb10ae54df58" + "d96c2f46-9cde-4fc1-8093-efdd5612acac" ], "x-ms-correlation-request-id": [ - "6166327b-e43d-4c62-8539-cb10ae54df58" + "d96c2f46-9cde-4fc1-8093-efdd5612acac" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103214Z:6166327b-e43d-4c62-8539-cb10ae54df58" + "WESTEUROPE:20150522T085926Z:d96c2f46-9cde-4fc1-8093-efdd5612acac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:14 GMT" + "Fri, 22 May 2015 08:59:26 GMT" ] }, "StatusCode": 200 @@ -799,10 +607,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:32:01.8014342Z\",\r\n \"duration\": \"PT1.3299279S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:59:20.2794638Z\",\r\n \"duration\": \"PT2.298225S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "1638" ], "Content-Type": [ "application/json; charset=utf-8" @@ -814,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31929" + "14974" ], "x-ms-request-id": [ - "9cf838f9-aae6-48f9-b800-bda4b6112ea2" + "6dc5adb1-e96f-495e-9d7b-ba95ef657f58" ], "x-ms-correlation-request-id": [ - "9cf838f9-aae6-48f9-b800-bda4b6112ea2" + "6dc5adb1-e96f-495e-9d7b-ba95ef657f58" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103218Z:9cf838f9-aae6-48f9-b800-bda4b6112ea2" + "WESTEUROPE:20150522T085929Z:6dc5adb1-e96f-495e-9d7b-ba95ef657f58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:17 GMT" + "Fri, 22 May 2015 08:59:29 GMT" ] }, "StatusCode": 200 @@ -847,7 +655,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:32:19.2002577Z\",\r\n \"duration\": \"PT18.7287514S\",\r\n \"correlationId\": \"9751fe95-5fc0-4be7-81f9-62887895755b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db50222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:59:31.9053425Z\",\r\n \"duration\": \"PT13.9241037S\",\r\n \"correlationId\": \"36549f36-456a-4af3-b7f0-193fb68b750a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1642" @@ -862,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31927" + "14972" ], "x-ms-request-id": [ - "9dbc3aab-df54-446c-9bd6-cd9022f146d7" + "461451d0-deed-4e90-b8b5-16a9345f7259" ], "x-ms-correlation-request-id": [ - "9dbc3aab-df54-446c-9bd6-cd9022f146d7" + "461451d0-deed-4e90-b8b5-16a9345f7259" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103221Z:9dbc3aab-df54-446c-9bd6-cd9022f146d7" + "WESTEUROPE:20150522T085933Z:461451d0-deed-4e90-b8b5-16a9345f7259" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:20 GMT" + "Fri, 22 May 2015 08:59:32 GMT" ] }, "StatusCode": 200 @@ -895,10 +703,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"name\": \"sql-dm-cmdlet-server50222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"name\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222\",\r\n \"name\": \"sql-dm-cmdlet-server50222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222\",\r\n \"name\": \"sql-dm-cmdlet-server50222/sql-dm-cmdlet-db50222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "602" ], "Content-Type": [ "application/json; charset=utf-8" @@ -910,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31926" + "14971" ], "x-ms-request-id": [ - "eb05cfe6-f047-4e65-9976-9a1d72a8a8df" + "7818c784-e2e6-4ca3-8dc9-c1510c7da356" ], "x-ms-correlation-request-id": [ - "eb05cfe6-f047-4e65-9976-9a1d72a8a8df" + "7818c784-e2e6-4ca3-8dc9-c1510c7da356" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103223Z:eb05cfe6-f047-4e65-9976-9a1d72a8a8df" + "WESTEUROPE:20150522T085935Z:7818c784-e2e6-4ca3-8dc9-c1510c7da356" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:22 GMT" + "Fri, 22 May 2015 08:59:34 GMT" ] }, "StatusCode": 200 @@ -961,16 +769,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westeurope:507e6fd2-15fc-41ef-8329-d44762106865" + "westeurope:16eeff3d-f093-44ef-a635-d9c861afe0fc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31934" + "14942" ], "x-ms-correlation-request-id": [ - "5fc6c1d1-39ab-4553-acae-632868f525ba" + "92b3e4e8-2b32-45f3-8b69-ecf1be1c5aa8" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103223Z:5fc6c1d1-39ab-4553-acae-632868f525ba" + "WESTEUROPE:20150522T085936Z:92b3e4e8-2b32-45f3-8b69-ecf1be1c5aa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -979,7 +787,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:23 GMT" + "Fri, 22 May 2015 08:59:36 GMT" ] }, "StatusCode": 200 @@ -994,7 +802,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0eecb532-6a8a-4b92-b0c2-d979960cb509" + "f4b9078e-14b3-4117-be2d-7d5a5e97ee31" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1006,7 +814,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "3ba9e3fb-9a55-4199-8417-6a59e75640b5" + "0961841d-ac54-4bbc-8e93-5b4eb0273b6d" ], "X-Content-Type-Options": [ "nosniff" @@ -1015,13 +823,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31925" + "14950" ], "x-ms-correlation-request-id": [ - "824e1eae-85f9-429a-8a39-6ccd100a7d15" + "f3df2a14-c53f-4be3-8609-dc6ccecbdd45" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103225Z:824e1eae-85f9-429a-8a39-6ccd100a7d15" + "WESTEUROPE:20150522T085938Z:f3df2a14-c53f-4be3-8609-dc6ccecbdd45" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1030,7 +838,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:24 GMT" + "Fri, 22 May 2015 08:59:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1054,7 +862,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "0eecb532-6a8a-4b92-b0c2-d979960cb509" + "f4b9078e-14b3-4117-be2d-7d5a5e97ee31" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1066,7 +874,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "7e7538f6-55bd-422d-b7ec-45e3fbab9655" + "02eb2950-138e-4ab5-9561-b741148e32a1" ], "X-Content-Type-Options": [ "nosniff" @@ -1078,13 +886,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1189" ], "x-ms-correlation-request-id": [ - "5a97ec20-8b25-4bad-8e44-957e022fee7a" + "2b9cd4da-9c08-4aef-8e9f-fae12bac9d20" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103227Z:5a97ec20-8b25-4bad-8e44-957e022fee7a" + "WESTEUROPE:20150522T085939Z:2b9cd4da-9c08-4aef-8e9f-fae12bac9d20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1093,7 +901,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:26 GMT" + "Fri, 22 May 2015 08:59:39 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1111,7 +919,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "df6cb08c-424f-422e-a004-370eb267db7a" + "6ad1ea70-1094-458c-91a0-419259fc358c" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1123,7 +931,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ff94a147-7c33-4c3d-b67c-de5ad86c0e3e" + "f20399a1-05c1-4ac3-b98b-1f8c45944b53" ], "X-Content-Type-Options": [ "nosniff" @@ -1132,13 +940,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31924" + "14949" ], "x-ms-correlation-request-id": [ - "9b07d4af-f69d-4bae-8a1d-5f1f939b36cd" + "572a3939-103a-4f8f-84d5-37c87db14864" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103228Z:9b07d4af-f69d-4bae-8a1d-5f1f939b36cd" + "WESTEUROPE:20150522T085941Z:572a3939-103a-4f8f-84d5-37c87db14864" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1147,7 +955,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:27 GMT" + "Fri, 22 May 2015 08:59:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1165,7 +973,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "998373d6-1a9c-4ad0-93ad-3343854ab2fc" + "13333d4e-7b55-4cbe-bed7-3f09c08442d4" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1177,7 +985,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "dee38656-8375-4b22-8dba-1e84a088002b" + "b09f7282-3693-493e-b072-80083a28e4f7" ], "X-Content-Type-Options": [ "nosniff" @@ -1186,13 +994,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31923" + "14948" ], "x-ms-correlation-request-id": [ - "41dc09b8-3f5a-4d90-a70a-25b0fbc053e3" + "cbc667bd-3aba-480c-8500-6225fddc7995" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103230Z:41dc09b8-3f5a-4d90-a70a-25b0fbc053e3" + "WESTEUROPE:20150522T085942Z:cbc667bd-3aba-480c-8500-6225fddc7995" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1201,7 +1009,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:29 GMT" + "Fri, 22 May 2015 08:59:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1219,7 +1027,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "c15bd989-aea3-4e93-af29-1f74837cad6d" + "288dedcf-9b62-4d17-8e00-d55b89f96f07" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber\",\r\n \"columnName\": \"ColumnNumber\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"12\",\r\n \"numberTo\": \"56\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1231,7 +1039,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "f2e02567-df49-4a05-a515-9430c709ebf4" + "01e5a21d-1aa6-4321-950b-c30c1d8ffdf8" ], "X-Content-Type-Options": [ "nosniff" @@ -1240,13 +1048,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31922" + "14947" ], "x-ms-correlation-request-id": [ - "8d2c5089-6bc0-48f1-9535-ffb125835c00" + "07791718-1fc0-46fb-bfd6-c2a6e82f388c" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103233Z:8d2c5089-6bc0-48f1-9535-ffb125835c00" + "WESTEUROPE:20150522T085945Z:07791718-1fc0-46fb-bfd6-c2a6e82f388c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1255,7 +1063,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:32 GMT" + "Fri, 22 May 2015 08:59:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1273,7 +1081,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "850106e8-1437-40ab-99ca-18d9f00f2769" + "504dc33c-d309-42ca-9de3-705624e2a1ec" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber\",\r\n \"columnName\": \"ColumnNumber\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"12\",\r\n \"numberTo\": \"56\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1285,7 +1093,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "a5210728-a0d1-4b6a-adcc-c09fb53bcc4a" + "339fe175-368d-4d21-9b75-e12d10e54acf" ], "X-Content-Type-Options": [ "nosniff" @@ -1294,13 +1102,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31921" + "14946" ], "x-ms-correlation-request-id": [ - "fdef8da1-0d59-412c-be59-8555669cd9c8" + "7f4141b2-9f5c-43d8-8a30-dc08cddcff57" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103235Z:fdef8da1-0d59-412c-be59-8555669cd9c8" + "WESTEUROPE:20150522T085947Z:7f4141b2-9f5c-43d8-8a30-dc08cddcff57" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1309,7 +1117,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:34 GMT" + "Fri, 22 May 2015 08:59:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1327,7 +1135,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "9c693f51-90a9-41eb-b55b-7b588a898e6c" + "7d3ec40a-6fc9-45f7-8693-3fc2d5038a07" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber\",\r\n \"columnName\": \"ColumnNumber\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"12\",\r\n \"numberTo\": \"56\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1339,7 +1147,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "3d968c23-febe-4c9e-b80b-c677ee559de0" + "e2be4312-faf3-4def-b503-948776cd923b" ], "X-Content-Type-Options": [ "nosniff" @@ -1348,13 +1156,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31920" + "14945" ], "x-ms-correlation-request-id": [ - "920287fe-1590-4176-9c37-a4a77b02e558" + "48426d9b-c51d-4a63-b0c9-376a0c1b1268" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103236Z:920287fe-1590-4176-9c37-a4a77b02e558" + "WESTEUROPE:20150522T085948Z:48426d9b-c51d-4a63-b0c9-376a0c1b1268" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1363,7 +1171,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:35 GMT" + "Fri, 22 May 2015 08:59:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1381,19 +1189,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "f7c63233-cdee-45ec-8a69-334808f0ab33" + "f63a44f1-bbff-49c8-a0e8-47bc3d7ef162" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasNumber\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber1\",\r\n \"columnName\": \"ColumnNumber1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "581" + "593" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "d6fbb3cb-7989-4bd5-8725-8a639a8a9c61" + "53dd7915-2c17-439a-9c12-418980492057" ], "X-Content-Type-Options": [ "nosniff" @@ -1402,13 +1210,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31919" + "14944" ], "x-ms-correlation-request-id": [ - "f8d31ebe-cd66-4d3b-8a36-9b7d787b954e" + "96d56495-6dad-4c59-b3a6-cc9d36d1b2b7" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103239Z:f8d31ebe-cd66-4d3b-8a36-9b7d787b954e" + "WESTEUROPE:20150522T085951Z:96d56495-6dad-4c59-b3a6-cc9d36d1b2b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1417,7 +1225,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:38 GMT" + "Fri, 22 May 2015 08:59:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1435,19 +1243,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "13ee238d-48c7-4cdf-9ed9-e916ac304c07" + "3c92975c-1245-4b58-beae-f5a0a7ad2bae" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasNumber\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber1\",\r\n \"columnName\": \"ColumnNumber1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "581" + "593" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "14d81998-0095-43e3-a9c0-55bac7fc3e58" + "2fd9c17f-855f-469a-b603-c96e94948e6a" ], "X-Content-Type-Options": [ "nosniff" @@ -1456,13 +1264,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31918" + "14943" ], "x-ms-correlation-request-id": [ - "56a4f8c2-4faa-4549-b8a9-5e2a390ae0b1" + "cb8d2b7e-2061-4b22-9b8c-8be35f1bdb80" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103241Z:56a4f8c2-4faa-4549-b8a9-5e2a390ae0b1" + "WESTEUROPE:20150522T085952Z:cb8d2b7e-2061-4b22-9b8c-8be35f1bdb80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1471,7 +1279,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:40 GMT" + "Fri, 22 May 2015 08:59:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1489,19 +1297,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "a6bd1cbd-f6c4-46d9-aef4-90861df69ca5" + "08c074c2-e3d7-4177-a74e-d6e23ed75913" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasNumber\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber1\",\r\n \"columnName\": \"ColumnNumber1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "581" + "593" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "0ef5e62f-bc1c-483d-a110-67b4ee54b54f" + "dbb6d796-d83e-4aae-9203-5b9655673032" ], "X-Content-Type-Options": [ "nosniff" @@ -1510,13 +1318,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31917" + "14942" ], "x-ms-correlation-request-id": [ - "9d965154-586f-4d0c-8750-e9b7e16a23bb" + "03ee1f3b-51b4-4a27-afe4-60aa2fb663ad" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103242Z:9d965154-586f-4d0c-8750-e9b7e16a23bb" + "WESTEUROPE:20150522T085954Z:03ee1f3b-51b4-4a27-afe4-60aa2fb663ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1525,7 +1333,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:41 GMT" + "Fri, 22 May 2015 08:59:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1543,7 +1351,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "3b65efae-1fcb-4544-b5f8-5bd0ae802a22" + "dd245adb-2342-4606-b9bf-1ff5cfd45005" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1555,7 +1363,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "3d561682-0728-4fbc-b050-407e4100a3e2" + "c5de1f3b-479c-4e59-81ab-8dd73f4effdd" ], "X-Content-Type-Options": [ "nosniff" @@ -1564,13 +1372,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31916" + "14941" ], "x-ms-correlation-request-id": [ - "c6471b14-3799-4d75-b098-3fb682ce0604" + "42f8e1fb-cbb6-4f53-9b09-31ca0afe3c89" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103245Z:c6471b14-3799-4d75-b098-3fb682ce0604" + "WESTEUROPE:20150522T085956Z:42f8e1fb-cbb6-4f53-9b09-31ca0afe3c89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1579,7 +1387,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:45 GMT" + "Fri, 22 May 2015 08:59:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1597,7 +1405,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "7c1793f9-947f-4099-a31c-4b0388f8ab9f" + "7a9beed3-8290-4058-bc11-1db78ce146ae" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1609,7 +1417,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "444c8a87-30f3-4f89-8386-0c8f34c0fa07" + "7acc3148-c521-41a3-83a2-e7f5a770aaf1" ], "X-Content-Type-Options": [ "nosniff" @@ -1618,13 +1426,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31915" + "14940" ], "x-ms-correlation-request-id": [ - "c9522c4f-bdb3-4da5-820b-570a0ccc460d" + "227f258f-6a76-4564-8a58-294114a39850" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103246Z:c9522c4f-bdb3-4da5-820b-570a0ccc460d" + "WESTEUROPE:20150522T085958Z:227f258f-6a76-4564-8a58-294114a39850" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1633,7 +1441,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:46 GMT" + "Fri, 22 May 2015 08:59:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1657,7 +1465,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "998373d6-1a9c-4ad0-93ad-3343854ab2fc" + "13333d4e-7b55-4cbe-bed7-3f09c08442d4" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber\",\r\n \"columnName\": \"ColumnNumber\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"12\",\r\n \"numberTo\": \"56\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", @@ -1669,7 +1477,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "80eeb373-e88d-4eb1-9bdb-6d8178ba6672" + "330f2fa6-b239-415a-ae13-73cbb95b8d4a" ], "X-Content-Type-Options": [ "nosniff" @@ -1681,13 +1489,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1188" ], "x-ms-correlation-request-id": [ - "e9551fa9-a4f2-496e-b327-2d23758776b7" + "40ee4bba-b7e1-4288-834a-fe341b2f7323" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103232Z:e9551fa9-a4f2-496e-b327-2d23758776b7" + "WESTEUROPE:20150522T085944Z:40ee4bba-b7e1-4288-834a-fe341b2f7323" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1696,7 +1504,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:31 GMT" + "Fri, 22 May 2015 08:59:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1708,31 +1516,31 @@ "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2?api-version=2014-04-01", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzUwMjIyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWRtLWNtZGxldC1zZXJ2ZXI1MDIyMi9kYXRhYmFzZXMvc3FsLWRtLWNtZGxldC1kYjUwMjIyL2RhdGFNYXNraW5nUG9saWNpZXMvRGVmYXVsdC9ydWxlcy9ydWxlMj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"aliasName\": \"AliasNumber\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"tableName\": \"TableNumber1\",\r\n \"columnName\": \"ColumnNumber1\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "168" + "205" ], "User-Agent": [ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "9c693f51-90a9-41eb-b55b-7b588a898e6c" + "7d3ec40a-6fc9-45f7-8693-3fc2d5038a07" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasNumber\",\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg50222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server50222/databases/sql-dm-cmdlet-db50222/dataMaskingPolicies/Default/rules/rule2\",\r\n \"name\": \"rule2\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule2\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableNumber1\",\r\n \"columnName\": \"ColumnNumber1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Number\",\r\n \"numberFrom\": \"67.26\",\r\n \"numberTo\": \"78.91\",\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "564" + "576" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "8b3d1259-01fc-4022-bfa5-2aa1a2326857" + "b8dad323-258f-42b4-8aef-b465d8ccb979" ], "X-Content-Type-Options": [ "nosniff" @@ -1744,13 +1552,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1187" ], "x-ms-correlation-request-id": [ - "a13d8cf2-2464-4381-8cc4-b71d75de4d1e" + "39985ab5-bf22-4649-9ea9-a0e3ad06c709" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103238Z:a13d8cf2-2464-4381-8cc4-b71d75de4d1e" + "WESTEUROPE:20150522T085949Z:39985ab5-bf22-4649-9ea9-a0e3ad06c709" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1759,7 +1567,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:37 GMT" + "Fri, 22 May 2015 08:59:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1777,7 +1585,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "a6bd1cbd-f6c4-46d9-aef4-90861df69ca5" + "08c074c2-e3d7-4177-a74e-d6e23ed75913" ] }, "ResponseBody": "", @@ -1786,7 +1594,7 @@ "0" ], "x-ms-request-id": [ - "9fcd3504-461e-484e-a0fb-026147e9de75" + "cef2af3d-1514-4aac-8189-13905ce8f2df" ], "X-Content-Type-Options": [ "nosniff" @@ -1795,13 +1603,13 @@ "1.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1186" ], "x-ms-correlation-request-id": [ - "ccdd88e3-cd25-45aa-9ad0-de543357cd5d" + "6e166043-2601-4206-8691-ccce8f7feb4c" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103243Z:ccdd88e3-cd25-45aa-9ad0-de543357cd5d" + "WESTEUROPE:20150522T085955Z:6e166043-2601-4206-8691-ccce8f7feb4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1810,7 +1618,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:32:42 GMT" + "Fri, 22 May 2015 08:59:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPolicyEnablementToggling.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPolicyEnablementToggling.json index 5987d9b38950..8087239099a5 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPolicyEnablementToggling.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPolicyEnablementToggling.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31916" + "14983" ], "x-ms-request-id": [ - "09387584-cd93-4f3a-8eb6-b69878a71f0a" + "2fc7ae1b-5a70-410b-9d4e-63f6439b1a07" ], "x-ms-correlation-request-id": [ - "09387584-cd93-4f3a-8eb6-b69878a71f0a" + "2fc7ae1b-5a70-410b-9d4e-63f6439b1a07" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103032Z:09387584-cd93-4f3a-8eb6-b69878a71f0a" + "WESTEUROPE:20150522T085211Z:2fc7ae1b-5a70-410b-9d4e-63f6439b1a07" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:31 GMT" + "Fri, 22 May 2015 08:52:11 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1196" ], "x-ms-request-id": [ - "05e23284-c800-40db-ae65-77de597af54f" + "b46b007b-71a7-4a78-a1c0-10d6bfff22b3" ], "x-ms-correlation-request-id": [ - "05e23284-c800-40db-ae65-77de597af54f" + "b46b007b-71a7-4a78-a1c0-10d6bfff22b3" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103034Z:05e23284-c800-40db-ae65-77de597af54f" + "WESTEUROPE:20150522T085213Z:b46b007b-71a7-4a78-a1c0-10d6bfff22b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:34 GMT" + "Fri, 22 May 2015 08:52:12 GMT" ] }, "StatusCode": 201 @@ -121,7 +121,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:30:35.2044304Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"2c03c148-b931-4946-9de8-e4b54c5954be\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:52:14.4755803Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"eae37caf-5597-49c2-97cf-e4d57ee9d65e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1610" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1195" ], "x-ms-request-id": [ - "2c03c148-b931-4946-9de8-e4b54c5954be" + "eae37caf-5597-49c2-97cf-e4d57ee9d65e" ], "x-ms-correlation-request-id": [ - "2c03c148-b931-4946-9de8-e4b54c5954be" + "eae37caf-5597-49c2-97cf-e4d57ee9d65e" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103035Z:2c03c148-b931-4946-9de8-e4b54c5954be" + "WESTEUROPE:20150522T085214Z:eae37caf-5597-49c2-97cf-e4d57ee9d65e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:34 GMT" + "Fri, 22 May 2015 08:52:13 GMT" ] }, "StatusCode": 200 @@ -175,10 +175,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:30:36.8251605Z\",\r\n \"duration\": \"PT0.959711S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:52:16.3365244Z\",\r\n \"duration\": \"PT1.1343454S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1617" + "1618" ], "Content-Type": [ "application/json; charset=utf-8" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1194" ], "x-ms-request-id": [ - "b0c08e14-d8d9-4f7b-8ce5-dae46563200c" + "e99b133d-b5e1-4175-9423-ceacd89b8d6b" ], "x-ms-correlation-request-id": [ - "b0c08e14-d8d9-4f7b-8ce5-dae46563200c" + "e99b133d-b5e1-4175-9423-ceacd89b8d6b" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103037Z:b0c08e14-d8d9-4f7b-8ce5-dae46563200c" + "WESTEUROPE:20150522T085216Z:e99b133d-b5e1-4175-9423-ceacd89b8d6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:36 GMT" + "Fri, 22 May 2015 08:52:15 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31915" + "14982" ], "x-ms-request-id": [ - "dcd7c9af-c243-44b7-9354-3c77c52ce794" + "217ddf8d-d2d1-49c8-b9f2-3793d810ca2f" ], "x-ms-correlation-request-id": [ - "dcd7c9af-c243-44b7-9354-3c77c52ce794" + "217ddf8d-d2d1-49c8-b9f2-3793d810ca2f" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103037Z:dcd7c9af-c243-44b7-9354-3c77c52ce794" + "WESTEUROPE:20150522T085217Z:217ddf8d-d2d1-49c8-b9f2-3793d810ca2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:37 GMT" + "Fri, 22 May 2015 08:52:16 GMT" ] }, "StatusCode": 200 @@ -286,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31913" + "14980" ], "x-ms-request-id": [ - "d4ade235-5fe0-4e55-b973-5528055d23f6" + "961a1281-d01c-42ef-8818-f1905849ff05" ], "x-ms-correlation-request-id": [ - "d4ade235-5fe0-4e55-b973-5528055d23f6" + "961a1281-d01c-42ef-8818-f1905849ff05" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103040Z:d4ade235-5fe0-4e55-b973-5528055d23f6" + "WESTEUROPE:20150522T085220Z:961a1281-d01c-42ef-8818-f1905849ff05" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:40 GMT" + "Fri, 22 May 2015 08:52:19 GMT" ] }, "StatusCode": 200 @@ -334,16 +334,112 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31911" + "14978" + ], + "x-ms-request-id": [ + "7c4c5af6-cf40-402f-9608-5dcb4523da16" + ], + "x-ms-correlation-request-id": [ + "7c4c5af6-cf40-402f-9608-5dcb4523da16" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085223Z:7c4c5af6-cf40-402f-9608-5dcb4523da16" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:52:22 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzc3Ny9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14976" + ], + "x-ms-request-id": [ + "0bf4f6cf-12e0-4657-a7f6-559f299a00fc" + ], + "x-ms-correlation-request-id": [ + "0bf4f6cf-12e0-4657-a7f6-559f299a00fc" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085226Z:0bf4f6cf-12e0-4657-a7f6-559f299a00fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:52:26 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzc3Ny9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXAvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:28.103845Z\",\r\n \"duration\": \"PT10.2509835S\",\r\n \"trackingId\": \"a054af1e-93ca-45c2-be78-706a1c5671b0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14974" ], "x-ms-request-id": [ - "8df710e5-71f7-4275-8feb-eb6454bb2cc9" + "76966f30-e78b-4cec-a0f9-a3cda28e9024" ], "x-ms-correlation-request-id": [ - "8df710e5-71f7-4275-8feb-eb6454bb2cc9" + "76966f30-e78b-4cec-a0f9-a3cda28e9024" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103044Z:8df710e5-71f7-4275-8feb-eb6454bb2cc9" + "WESTEUROPE:20150522T085229Z:76966f30-e78b-4cec-a0f9-a3cda28e9024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:43 GMT" + "Fri, 22 May 2015 08:52:29 GMT" ] }, "StatusCode": 200 @@ -367,10 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:46.781764Z\",\r\n \"duration\": \"PT8.7907757S\",\r\n \"trackingId\": \"9003f26c-746a-4b6e-b437-4e068f6e254d\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:28.103845Z\",\r\n \"duration\": \"PT10.2509835S\",\r\n \"trackingId\": \"a054af1e-93ca-45c2-be78-706a1c5671b0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "654" + "655" ], "Content-Type": [ "application/json; charset=utf-8" @@ -382,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" + "14972" ], "x-ms-request-id": [ - "7dc557bc-9a92-4c47-832f-80148ada822f" + "490082f8-3cee-41e5-a3d2-a229f5d65730" ], "x-ms-correlation-request-id": [ - "7dc557bc-9a92-4c47-832f-80148ada822f" + "490082f8-3cee-41e5-a3d2-a229f5d65730" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103047Z:7dc557bc-9a92-4c47-832f-80148ada822f" + "WESTEUROPE:20150522T085232Z:490082f8-3cee-41e5-a3d2-a229f5d65730" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +496,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:46 GMT" + "Fri, 22 May 2015 08:52:32 GMT" ] }, "StatusCode": 200 @@ -415,10 +511,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:46.781764Z\",\r\n \"duration\": \"PT8.7907757S\",\r\n \"trackingId\": \"9003f26c-746a-4b6e-b437-4e068f6e254d\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:28.103845Z\",\r\n \"duration\": \"PT10.2509835S\",\r\n \"trackingId\": \"a054af1e-93ca-45c2-be78-706a1c5671b0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "654" + "655" ], "Content-Type": [ "application/json; charset=utf-8" @@ -430,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" + "14970" ], "x-ms-request-id": [ - "0f90d3dd-7405-4695-9310-ced8e0d4ee86" + "3b5f997c-643c-41c5-8205-21195e366d91" ], "x-ms-correlation-request-id": [ - "0f90d3dd-7405-4695-9310-ced8e0d4ee86" + "3b5f997c-643c-41c5-8205-21195e366d91" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103050Z:0f90d3dd-7405-4695-9310-ced8e0d4ee86" + "WESTEUROPE:20150522T085235Z:3b5f997c-643c-41c5-8205-21195e366d91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:49 GMT" + "Fri, 22 May 2015 08:52:35 GMT" ] }, "StatusCode": 200 @@ -463,10 +559,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:46.781764Z\",\r\n \"duration\": \"PT8.7907757S\",\r\n \"trackingId\": \"9003f26c-746a-4b6e-b437-4e068f6e254d\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/6B4941B1D14B8502\",\r\n \"operationId\": \"6B4941B1D14B8502\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:37.0534252Z\",\r\n \"duration\": \"PT8.3606151S\",\r\n \"trackingId\": \"71e28091-9355-4cc6-a4f7-825b3e397e73\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:28.103845Z\",\r\n \"duration\": \"PT10.2509835S\",\r\n \"trackingId\": \"a054af1e-93ca-45c2-be78-706a1c5671b0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "654" + "1359" ], "Content-Type": [ "application/json; charset=utf-8" @@ -478,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31905" + "14968" ], "x-ms-request-id": [ - "01160daf-a7d7-48c4-b792-4a1d755ddd1e" + "1133f24a-0f8b-45bf-be5b-5431e5c997ad" ], "x-ms-correlation-request-id": [ - "01160daf-a7d7-48c4-b792-4a1d755ddd1e" + "1133f24a-0f8b-45bf-be5b-5431e5c997ad" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103053Z:01160daf-a7d7-48c4-b792-4a1d755ddd1e" + "WESTEUROPE:20150522T085238Z:1133f24a-0f8b-45bf-be5b-5431e5c997ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:52 GMT" + "Fri, 22 May 2015 08:52:38 GMT" ] }, "StatusCode": 200 @@ -511,10 +607,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/6B4941B1D14B8502\",\r\n \"operationId\": \"6B4941B1D14B8502\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:53.3568744Z\",\r\n \"duration\": \"PT6.4997021S\",\r\n \"trackingId\": \"f5769e82-c614-41e9-ae99-7c956d3e1690\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:46.781764Z\",\r\n \"duration\": \"PT8.7907757S\",\r\n \"trackingId\": \"9003f26c-746a-4b6e-b437-4e068f6e254d\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/6B4941B1D14B8502\",\r\n \"operationId\": \"6B4941B1D14B8502\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:37.0534252Z\",\r\n \"duration\": \"PT8.3606151S\",\r\n \"trackingId\": \"71e28091-9355-4cc6-a4f7-825b3e397e73\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup/operations/91182AA504872AE4\",\r\n \"operationId\": \"91182AA504872AE4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:28.103845Z\",\r\n \"duration\": \"PT10.2509835S\",\r\n \"trackingId\": \"a054af1e-93ca-45c2-be78-706a1c5671b0\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1358" + "1359" ], "Content-Type": [ "application/json; charset=utf-8" @@ -526,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31903" + "14966" ], "x-ms-request-id": [ - "937962d2-cdd9-455c-bdcc-57fe84151b8c" + "b53ca345-74eb-4b12-b0ad-2926c3b960e0" ], "x-ms-correlation-request-id": [ - "937962d2-cdd9-455c-bdcc-57fe84151b8c" + "b53ca345-74eb-4b12-b0ad-2926c3b960e0" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103056Z:937962d2-cdd9-455c-bdcc-57fe84151b8c" + "WESTEUROPE:20150522T085242Z:b53ca345-74eb-4b12-b0ad-2926c3b960e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -544,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:55 GMT" + "Fri, 22 May 2015 08:52:41 GMT" ] }, "StatusCode": 200 @@ -559,10 +655,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -574,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31914" + "14981" ], "x-ms-request-id": [ - "ac1e33e3-9a78-419f-9b3b-920b84b70eef" + "572b86c5-9145-439c-a6a1-bc12381e2ac8" ], "x-ms-correlation-request-id": [ - "ac1e33e3-9a78-419f-9b3b-920b84b70eef" + "572b86c5-9145-439c-a6a1-bc12381e2ac8" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103038Z:ac1e33e3-9a78-419f-9b3b-920b84b70eef" + "WESTEUROPE:20150522T085217Z:572b86c5-9145-439c-a6a1-bc12381e2ac8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:37 GMT" + "Fri, 22 May 2015 08:52:17 GMT" ] }, "StatusCode": 200 @@ -607,10 +703,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -622,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31912" + "14979" ], "x-ms-request-id": [ - "6955c319-234c-476e-ba3a-e48bc1374e66" + "db5f594e-d1fa-4803-a2d3-7dd9848add28" ], "x-ms-correlation-request-id": [ - "6955c319-234c-476e-ba3a-e48bc1374e66" + "db5f594e-d1fa-4803-a2d3-7dd9848add28" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103041Z:6955c319-234c-476e-ba3a-e48bc1374e66" + "WESTEUROPE:20150522T085220Z:db5f594e-d1fa-4803-a2d3-7dd9848add28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:41 GMT" + "Fri, 22 May 2015 08:52:20 GMT" ] }, "StatusCode": 200 @@ -655,10 +751,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -670,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "14977" ], "x-ms-request-id": [ - "2013ce49-4cb3-4c1a-baad-9e93ebe7994f" + "c43ac47f-01bd-4c9e-828c-73bd1998f977" ], "x-ms-correlation-request-id": [ - "2013ce49-4cb3-4c1a-baad-9e93ebe7994f" + "c43ac47f-01bd-4c9e-828c-73bd1998f977" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103044Z:2013ce49-4cb3-4c1a-baad-9e93ebe7994f" + "WESTEUROPE:20150522T085223Z:c43ac47f-01bd-4c9e-828c-73bd1998f977" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:43 GMT" + "Fri, 22 May 2015 08:52:22 GMT" ] }, "StatusCode": 200 @@ -703,10 +799,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -718,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31908" + "14975" ], "x-ms-request-id": [ - "a3b4aba5-f6d5-4732-91ee-8e1e0a8a3d0f" + "39f6c072-1f15-48bc-ae21-7507fd9ec6b5" ], "x-ms-correlation-request-id": [ - "a3b4aba5-f6d5-4732-91ee-8e1e0a8a3d0f" + "39f6c072-1f15-48bc-ae21-7507fd9ec6b5" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103047Z:a3b4aba5-f6d5-4732-91ee-8e1e0a8a3d0f" + "WESTEUROPE:20150522T085227Z:39f6c072-1f15-48bc-ae21-7507fd9ec6b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:46 GMT" + "Fri, 22 May 2015 08:52:27 GMT" ] }, "StatusCode": 200 @@ -751,10 +847,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -766,16 +862,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "14973" ], "x-ms-request-id": [ - "3a8ed4e7-1507-4262-b843-e8578ba96961" + "2a3bbefe-5c6f-4ec1-ad1c-a0b9987ff1bb" ], "x-ms-correlation-request-id": [ - "3a8ed4e7-1507-4262-b843-e8578ba96961" + "2a3bbefe-5c6f-4ec1-ad1c-a0b9987ff1bb" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103050Z:3a8ed4e7-1507-4262-b843-e8578ba96961" + "WESTEUROPE:20150522T085230Z:2a3bbefe-5c6f-4ec1-ad1c-a0b9987ff1bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +880,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:49 GMT" + "Fri, 22 May 2015 08:52:30 GMT" ] }, "StatusCode": 200 @@ -799,10 +895,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:30:37.8643775Z\",\r\n \"duration\": \"PT1.998928S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1616" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -814,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31904" + "14971" ], "x-ms-request-id": [ - "77cdffa8-1402-4a53-98b3-bc9b69b69c7c" + "f6e1e713-3a5a-446a-baee-fc6fbb11dcfb" ], "x-ms-correlation-request-id": [ - "77cdffa8-1402-4a53-98b3-bc9b69b69c7c" + "f6e1e713-3a5a-446a-baee-fc6fbb11dcfb" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103053Z:77cdffa8-1402-4a53-98b3-bc9b69b69c7c" + "WESTEUROPE:20150522T085233Z:f6e1e713-3a5a-446a-baee-fc6fbb11dcfb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +928,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:52 GMT" + "Fri, 22 May 2015 08:52:33 GMT" ] }, "StatusCode": 200 @@ -847,10 +943,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:30:53.8519785Z\",\r\n \"duration\": \"PT17.986529S\",\r\n \"correlationId\": \"b0c08e14-d8d9-4f7b-8ce5-dae46563200c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1619" + "1615" ], "Content-Type": [ "application/json; charset=utf-8" @@ -862,16 +958,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31902" + "14969" ], "x-ms-request-id": [ - "8653801d-ffd7-4acc-a4a5-15d117cb5a5f" + "810e2a9d-af37-445c-84f4-aa7a147d62ac" ], "x-ms-correlation-request-id": [ - "8653801d-ffd7-4acc-a4a5-15d117cb5a5f" + "810e2a9d-af37-445c-84f4-aa7a147d62ac" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103056Z:8653801d-ffd7-4acc-a4a5-15d117cb5a5f" + "WESTEUROPE:20150522T085236Z:810e2a9d-af37-445c-84f4-aa7a147d62ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +976,103 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:56 GMT" + "Fri, 22 May 2015 08:52:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzc3Ny9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:52:17.208071Z\",\r\n \"duration\": \"PT2.005892S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1615" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14967" + ], + "x-ms-request-id": [ + "21c8ac50-56ff-48d9-b13d-85e86154d08e" + ], + "x-ms-correlation-request-id": [ + "21c8ac50-56ff-48d9-b13d-85e86154d08e" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085239Z:21c8ac50-56ff-48d9-b13d-85e86154d08e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:52:39 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzc3Ny9kZXBsb3ltZW50cy9zcWwtYXVkaXQtdGVzdC1lbnYtc2V0dXA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:52:39.2619873Z\",\r\n \"duration\": \"PT24.0598083S\",\r\n \"correlationId\": \"e99b133d-b5e1-4175-9423-ceacd89b8d6b\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1620" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" + ], + "x-ms-request-id": [ + "2c88319e-a968-4887-8ac1-ec996925a83c" + ], + "x-ms-correlation-request-id": [ + "2c88319e-a968-4887-8ac1-ec996925a83c" + ], + "x-ms-routing-request-id": [ + "WESTEUROPE:20150522T085242Z:2c88319e-a968-4887-8ac1-ec996925a83c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 May 2015 08:52:42 GMT" ] }, "StatusCode": 200 @@ -895,10 +1087,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"name\": \"sql-dm-cmdlet-server777\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"name\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777\",\r\n \"name\": \"sql-dm-cmdlet-server777\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777\",\r\n \"name\": \"sql-dm-cmdlet-server777/sql-dm-cmdlet-db777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "553" + "586" ], "Content-Type": [ "application/json; charset=utf-8" @@ -910,16 +1102,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31901" + "14964" ], "x-ms-request-id": [ - "c0ffe764-7086-43b7-982b-10f0a71eb70a" + "4022bffa-1034-4044-877b-11c4eb111fa2" ], "x-ms-correlation-request-id": [ - "c0ffe764-7086-43b7-982b-10f0a71eb70a" + "4022bffa-1034-4044-877b-11c4eb111fa2" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103058Z:c0ffe764-7086-43b7-982b-10f0a71eb70a" + "WESTEUROPE:20150522T085244Z:4022bffa-1034-4044-877b-11c4eb111fa2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +1120,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:58 GMT" + "Fri, 22 May 2015 08:52:44 GMT" ] }, "StatusCode": 200 @@ -961,16 +1153,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westeurope:cff9f531-edf2-4b8f-82f8-814948fb36e8" + "westeurope:c02de1a5-8518-46b8-8e8d-1beee7112733" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31952" + "14963" ], "x-ms-correlation-request-id": [ - "182a777c-e632-4864-9fa6-069e735fce23" + "97fcb384-09dc-4d76-84bb-2fb10bf5448a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103059Z:182a777c-e632-4864-9fa6-069e735fce23" + "WESTEUROPE:20150522T085245Z:97fcb384-09dc-4d76-84bb-2fb10bf5448a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -979,7 +1171,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:30:58 GMT" + "Fri, 22 May 2015 08:52:45 GMT" ] }, "StatusCode": 200 @@ -994,7 +1186,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "8092fa2c-9e3a-4f3e-80ec-9914c4891443" + "1f7fd9d5-eecd-42a4-ad14-02f0b31a3994" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1006,7 +1198,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "9e2c1e5d-2674-4134-a335-f7109c207cac" + "ac8ad535-8446-420a-9595-2fc18f62679e" ], "X-Content-Type-Options": [ "nosniff" @@ -1015,13 +1207,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31900" + "14999" ], "x-ms-correlation-request-id": [ - "fa24049a-bdae-484f-bd83-df04367adb74" + "c9c637dd-55ed-4749-adcb-19160991cab6" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103100Z:fa24049a-bdae-484f-bd83-df04367adb74" + "WESTEUROPE:20150522T085247Z:c9c637dd-55ed-4749-adcb-19160991cab6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1030,7 +1222,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:00 GMT" + "Fri, 22 May 2015 08:52:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1048,7 +1240,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "03c55813-614d-41fc-91bf-4dfd2e64e464" + "45260ad9-c757-450a-942e-640f9c27ac70" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1060,7 +1252,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "b707dd59-6974-4f3b-82fc-461a0c344e56" + "fb288dec-f086-4766-8f84-2e4efb5d38b8" ], "X-Content-Type-Options": [ "nosniff" @@ -1069,13 +1261,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31899" + "14998" ], "x-ms-correlation-request-id": [ - "9c04598a-31b9-426e-bbcb-e4de0f2b074c" + "a30f264b-5ebe-45de-954a-b85f0b1a570d" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103104Z:9c04598a-31b9-426e-bbcb-e4de0f2b074c" + "WESTEUROPE:20150522T085250Z:a30f264b-5ebe-45de-954a-b85f0b1a570d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1084,7 +1276,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:03 GMT" + "Fri, 22 May 2015 08:52:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1102,7 +1294,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "a846b451-1a62-42c8-b318-867467f7fdf4" + "a98f141c-925a-42b2-a1b0-facba2b05971" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1114,7 +1306,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ce80fc73-7ddc-4f51-89cd-4f92091a125a" + "39ffa05b-7b99-4159-98ef-3514b24cb6b6" ], "X-Content-Type-Options": [ "nosniff" @@ -1123,13 +1315,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31898" + "14997" ], "x-ms-correlation-request-id": [ - "5674e25b-e82f-443c-8e5b-27a73164d4f6" + "b8d3ce1b-ab90-43d7-af3b-c144a78b42ae" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103105Z:5674e25b-e82f-443c-8e5b-27a73164d4f6" + "WESTEUROPE:20150522T085251Z:b8d3ce1b-ab90-43d7-af3b-c144a78b42ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1138,7 +1330,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:04 GMT" + "Fri, 22 May 2015 08:52:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1156,7 +1348,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b169b145-067f-4b97-a701-9211ee006285" + "240f0973-032b-47c1-b9a9-3ab4a0d1c41d" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1168,7 +1360,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "a69d3a93-a657-4f38-af83-b1b736a4571e" + "9e980abe-76c1-4462-8613-50ba00e74df8" ], "X-Content-Type-Options": [ "nosniff" @@ -1177,13 +1369,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31897" + "14996" ], "x-ms-correlation-request-id": [ - "9eb2d078-1545-4fff-83b3-665aec2ca53f" + "7ced1411-6d57-41c3-9235-d15d5e57e34e" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103108Z:9eb2d078-1545-4fff-83b3-665aec2ca53f" + "WESTEUROPE:20150522T085255Z:7ced1411-6d57-41c3-9235-d15d5e57e34e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1192,7 +1384,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:08 GMT" + "Fri, 22 May 2015 08:52:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1210,7 +1402,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "12766fdb-165d-40dd-a3ac-f8026b47fed0" + "67ddb0c0-0948-4643-a13c-f36ead46c949" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1222,7 +1414,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "39d7fe0e-7099-4649-9f6c-fabaa3922f35" + "ddb6ea99-cf72-413f-b0ab-37ae3503410c" ], "X-Content-Type-Options": [ "nosniff" @@ -1231,13 +1423,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31896" + "14995" ], "x-ms-correlation-request-id": [ - "141a51d4-d8cc-491c-a164-8fb1ccbe23b8" + "292fb7c6-ccb6-4363-9509-8b0fed102506" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103110Z:141a51d4-d8cc-491c-a164-8fb1ccbe23b8" + "WESTEUROPE:20150522T085256Z:292fb7c6-ccb6-4363-9509-8b0fed102506" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1246,7 +1438,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:09 GMT" + "Fri, 22 May 2015 08:52:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1264,7 +1456,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "7db2ba85-fa39-4e8f-9934-0fda395fd527" + "169201ef-5e4d-4159-8d24-f3ac70fecec0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1276,7 +1468,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "4c3144d6-c1e5-4ea9-acfa-50a2173e36be" + "5caf45c4-2ea4-41ea-b827-5fd0eee6794a" ], "X-Content-Type-Options": [ "nosniff" @@ -1285,13 +1477,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31895" + "14994" ], "x-ms-correlation-request-id": [ - "51ef834f-0588-45ba-ab72-88009d110d98" + "4038c200-b852-4dc1-8201-91e18433ba6f" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103113Z:51ef834f-0588-45ba-ab72-88009d110d98" + "WESTEUROPE:20150522T085259Z:4038c200-b852-4dc1-8201-91e18433ba6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1300,7 +1492,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:12 GMT" + "Fri, 22 May 2015 08:52:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1324,7 +1516,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "8092fa2c-9e3a-4f3e-80ec-9914c4891443" + "1f7fd9d5-eecd-42a4-ad14-02f0b31a3994" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1336,7 +1528,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "d7efab6a-e2e9-4122-9fb8-0254f3f41ba4" + "805aad55-d545-436f-9f45-d76c0ec55a5f" ], "X-Content-Type-Options": [ "nosniff" @@ -1348,13 +1540,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-correlation-request-id": [ - "6a81e734-6bb3-4fb0-bf1b-8041323400d2" + "0b8545d8-138c-415a-b4f6-978cadfafc17" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103102Z:6a81e734-6bb3-4fb0-bf1b-8041323400d2" + "WESTEUROPE:20150522T085248Z:0b8545d8-138c-415a-b4f6-978cadfafc17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1363,7 +1555,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:01 GMT" + "Fri, 22 May 2015 08:52:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1387,7 +1579,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "a846b451-1a62-42c8-b318-867467f7fdf4" + "a98f141c-925a-42b2-a1b0-facba2b05971" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1399,7 +1591,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "17b9aea3-1b3b-4a3c-b4cb-89292ab56ed0" + "bb57cb62-94e2-425c-810c-4f79b485741e" ], "X-Content-Type-Options": [ "nosniff" @@ -1411,13 +1603,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1198" ], "x-ms-correlation-request-id": [ - "14710042-7029-47de-b22f-a768557237a8" + "0ccaa643-d4ff-41cf-b0fb-039e7e0908da" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103106Z:14710042-7029-47de-b22f-a768557237a8" + "WESTEUROPE:20150522T085253Z:0ccaa643-d4ff-41cf-b0fb-039e7e0908da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1426,7 +1618,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:06 GMT" + "Fri, 22 May 2015 08:52:52 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1450,7 +1642,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "12766fdb-165d-40dd-a3ac-f8026b47fed0" + "67ddb0c0-0948-4643-a13c-f36ead46c949" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server777/databases/sql-dm-cmdlet-db777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Enabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1462,7 +1654,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "0e3994ec-d9dd-41f9-a22c-55d84558388f" + "fd6df256-905b-406b-9a44-f8e4d96c25b1" ], "X-Content-Type-Options": [ "nosniff" @@ -1474,13 +1666,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1197" ], "x-ms-correlation-request-id": [ - "1e70ed1d-b692-4429-901c-10d07853d670" + "335f631b-41e0-4676-ba58-c855b42886fc" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103111Z:1e70ed1d-b692-4429-901c-10d07853d670" + "WESTEUROPE:20150522T085258Z:335f631b-41e0-4676-ba58-c855b42886fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1489,7 +1681,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:31:11 GMT" + "Fri, 22 May 2015 08:52:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPrivilegedLoginsChanges.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPrivilegedLoginsChanges.json index b97e893ea3f8..8c95c75be106 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPrivilegedLoginsChanges.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingPrivilegedLoginsChanges.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31972" + "14941" ], "x-ms-request-id": [ - "64888e72-cccd-457e-8f2c-70a478ba7ba9" + "b67ccbe4-4694-4642-b623-efcae6e5bec3" ], "x-ms-correlation-request-id": [ - "64888e72-cccd-457e-8f2c-70a478ba7ba9" + "b67ccbe4-4694-4642-b623-efcae6e5bec3" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102905Z:64888e72-cccd-457e-8f2c-70a478ba7ba9" + "WESTEUROPE:20150522T090053Z:b67ccbe4-4694-4642-b623-efcae6e5bec3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:04 GMT" + "Fri, 22 May 2015 09:00:53 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1186" ], "x-ms-request-id": [ - "321a2bd2-d194-4c3a-9bf6-484f607b0282" + "bcfcc17c-b479-4c35-b02d-c472f43cfd60" ], "x-ms-correlation-request-id": [ - "321a2bd2-d194-4c3a-9bf6-484f607b0282" + "bcfcc17c-b479-4c35-b02d-c472f43cfd60" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102907Z:321a2bd2-d194-4c3a-9bf6-484f607b0282" + "WESTEUROPE:20150522T090055Z:bcfcc17c-b479-4c35-b02d-c472f43cfd60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:07 GMT" + "Fri, 22 May 2015 09:00:55 GMT" ] }, "StatusCode": 201 @@ -121,10 +121,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:29:08.0877992Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"58799418-fbe7-4f90-bfaa-d5aaf8cdb9ff\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T09:00:56.268495Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"9705a683-b594-4435-929c-76bd9f168e9d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1632" + "1631" ], "Content-Type": [ "application/json; charset=utf-8" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1185" ], "x-ms-request-id": [ - "58799418-fbe7-4f90-bfaa-d5aaf8cdb9ff" + "9705a683-b594-4435-929c-76bd9f168e9d" ], "x-ms-correlation-request-id": [ - "58799418-fbe7-4f90-bfaa-d5aaf8cdb9ff" + "9705a683-b594-4435-929c-76bd9f168e9d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102908Z:58799418-fbe7-4f90-bfaa-d5aaf8cdb9ff" + "WESTEUROPE:20150522T090056Z:9705a683-b594-4435-929c-76bd9f168e9d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:07 GMT" + "Fri, 22 May 2015 09:00:56 GMT" ] }, "StatusCode": 200 @@ -175,10 +175,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:29:09.8161679Z\",\r\n \"duration\": \"PT1.0517299S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T09:00:58.080204Z\",\r\n \"duration\": \"PT1.0857164S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1640" + "1639" ], "Content-Type": [ "application/json; charset=utf-8" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1184" ], "x-ms-request-id": [ - "32af37cc-c10b-40f3-98f1-8e47d0b138e3" + "c2fb3da9-688f-4f53-bf22-2c24cb0e0117" ], "x-ms-correlation-request-id": [ - "32af37cc-c10b-40f3-98f1-8e47d0b138e3" + "c2fb3da9-688f-4f53-bf22-2c24cb0e0117" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102910Z:32af37cc-c10b-40f3-98f1-8e47d0b138e3" + "WESTEUROPE:20150522T090058Z:c2fb3da9-688f-4f53-bf22-2c24cb0e0117" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:09 GMT" + "Fri, 22 May 2015 09:00:58 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31971" + "14940" ], "x-ms-request-id": [ - "6084580c-76da-43de-b3db-95c87791219c" + "1bfbfe29-c5a4-4a9b-9dce-d7013e9e82ce" ], "x-ms-correlation-request-id": [ - "6084580c-76da-43de-b3db-95c87791219c" + "1bfbfe29-c5a4-4a9b-9dce-d7013e9e82ce" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102911Z:6084580c-76da-43de-b3db-95c87791219c" + "WESTEUROPE:20150522T090059Z:1bfbfe29-c5a4-4a9b-9dce-d7013e9e82ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:11 GMT" + "Fri, 22 May 2015 09:00:58 GMT" ] }, "StatusCode": 200 @@ -286,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31969" + "14938" ], "x-ms-request-id": [ - "c664aa57-0256-4aa0-84e5-22f8cc675316" + "1a9dd42f-a622-4cd4-b3b9-f77e3690d404" ], "x-ms-correlation-request-id": [ - "c664aa57-0256-4aa0-84e5-22f8cc675316" + "1a9dd42f-a622-4cd4-b3b9-f77e3690d404" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102914Z:c664aa57-0256-4aa0-84e5-22f8cc675316" + "WESTEUROPE:20150522T090102Z:1a9dd42f-a622-4cd4-b3b9-f77e3690d404" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:13 GMT" + "Fri, 22 May 2015 09:01:01 GMT" ] }, "StatusCode": 200 @@ -334,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31967" + "14936" ], "x-ms-request-id": [ - "0f560bf4-4785-4b5c-a8e2-13fcd982b756" + "878e84a7-f20f-4f7f-8c60-fa2c18b75199" ], "x-ms-correlation-request-id": [ - "0f560bf4-4785-4b5c-a8e2-13fcd982b756" + "878e84a7-f20f-4f7f-8c60-fa2c18b75199" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102917Z:0f560bf4-4785-4b5c-a8e2-13fcd982b756" + "WESTEUROPE:20150522T090105Z:878e84a7-f20f-4f7f-8c60-fa2c18b75199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:16 GMT" + "Fri, 22 May 2015 09:01:05 GMT" ] }, "StatusCode": 200 @@ -382,16 +382,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31965" + "14934" ], "x-ms-request-id": [ - "7a798a1a-ffd0-4afe-b57f-913f468618e7" + "58185fe0-7d0f-4219-bf7e-19daa870e521" ], "x-ms-correlation-request-id": [ - "7a798a1a-ffd0-4afe-b57f-913f468618e7" + "58185fe0-7d0f-4219-bf7e-19daa870e521" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102920Z:7a798a1a-ffd0-4afe-b57f-913f468618e7" + "WESTEUROPE:20150522T090108Z:58185fe0-7d0f-4219-bf7e-19daa870e521" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +400,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:20 GMT" + "Fri, 22 May 2015 09:01:08 GMT" ] }, "StatusCode": 200 @@ -415,10 +415,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/61C1318DAF80D0AB\",\r\n \"operationId\": \"61C1318DAF80D0AB\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:29:20.2020174Z\",\r\n \"duration\": \"PT5.818686S\",\r\n \"trackingId\": \"58ed0da9-edb7-436e-b7b8-f032e0f4299c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/61C1318DAF80D0AB\",\r\n \"operationId\": \"61C1318DAF80D0AB\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T09:01:08.3992278Z\",\r\n \"duration\": \"PT9.8485764S\",\r\n \"trackingId\": \"5f633d18-f04a-46ee-bd0d-5b1a991dae30\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "662" + "663" ], "Content-Type": [ "application/json; charset=utf-8" @@ -430,16 +430,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31963" + "14932" ], "x-ms-request-id": [ - "cff6579b-4943-446b-b542-5ccf2f5e83bf" + "89e6ed88-b06a-4c66-9b0f-6341d4faf7c6" ], "x-ms-correlation-request-id": [ - "cff6579b-4943-446b-b542-5ccf2f5e83bf" + "89e6ed88-b06a-4c66-9b0f-6341d4faf7c6" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102923Z:cff6579b-4943-446b-b542-5ccf2f5e83bf" + "WESTEUROPE:20150522T090112Z:89e6ed88-b06a-4c66-9b0f-6341d4faf7c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:23 GMT" + "Fri, 22 May 2015 09:01:11 GMT" ] }, "StatusCode": 200 @@ -463,10 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/61C1318DAF80D0AB\",\r\n \"operationId\": \"61C1318DAF80D0AB\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:29:20.2020174Z\",\r\n \"duration\": \"PT5.818686S\",\r\n \"trackingId\": \"58ed0da9-edb7-436e-b7b8-f032e0f4299c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/35142F853E824FB8\",\r\n \"operationId\": \"35142F853E824FB8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T09:01:13.5770244Z\",\r\n \"duration\": \"PT4.4834744S\",\r\n \"trackingId\": \"88acee9f-105a-4987-8118-0e114554132b\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/61C1318DAF80D0AB\",\r\n \"operationId\": \"61C1318DAF80D0AB\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T09:01:08.3992278Z\",\r\n \"duration\": \"PT9.8485764S\",\r\n \"trackingId\": \"5f633d18-f04a-46ee-bd0d-5b1a991dae30\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "662" + "1379" ], "Content-Type": [ "application/json; charset=utf-8" @@ -478,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31961" + "14930" ], "x-ms-request-id": [ - "8893d991-b329-4065-82f4-67501c23a963" + "b81f2521-7971-4001-bcdc-902ee307026f" ], "x-ms-correlation-request-id": [ - "8893d991-b329-4065-82f4-67501c23a963" + "b81f2521-7971-4001-bcdc-902ee307026f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102926Z:8893d991-b329-4065-82f4-67501c23a963" + "WESTEUROPE:20150522T090115Z:b81f2521-7971-4001-bcdc-902ee307026f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,55 +496,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:26 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzMwNzc3L2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/35142F853E824FB8\",\r\n \"operationId\": \"35142F853E824FB8\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:29:26.6318015Z\",\r\n \"duration\": \"PT6.363052S\",\r\n \"trackingId\": \"d9072644-dc07-4069-84bd-db77e3fa9ea8\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup/operations/61C1318DAF80D0AB\",\r\n \"operationId\": \"61C1318DAF80D0AB\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:29:20.2020174Z\",\r\n \"duration\": \"PT5.818686S\",\r\n \"trackingId\": \"58ed0da9-edb7-436e-b7b8-f032e0f4299c\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1377" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31959" - ], - "x-ms-request-id": [ - "4b7c2ca5-79d1-43ff-a818-4ed7cb87b7b5" - ], - "x-ms-correlation-request-id": [ - "4b7c2ca5-79d1-43ff-a818-4ed7cb87b7b5" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102929Z:4b7c2ca5-79d1-43ff-a818-4ed7cb87b7b5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:29:28 GMT" + "Fri, 22 May 2015 09:01:14 GMT" ] }, "StatusCode": 200 @@ -559,55 +511,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:29:09.8161679Z\",\r\n \"duration\": \"PT1.0517299S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1640" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31970" - ], - "x-ms-request-id": [ - "9eb6a2f5-9748-4248-948d-cd5c28972e2b" - ], - "x-ms-correlation-request-id": [ - "9eb6a2f5-9748-4248-948d-cd5c28972e2b" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102911Z:9eb6a2f5-9748-4248-948d-cd5c28972e2b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:29:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzMwNzc3L2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:29:13.9278584Z\",\r\n \"duration\": \"PT5.1634204S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T09:00:58.4855591Z\",\r\n \"duration\": \"PT1.4910715S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -622,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31968" + "14939" ], "x-ms-request-id": [ - "83009177-d914-4240-ad49-893915aed005" + "f41cd16a-e074-4a00-b4de-9df6c39601b4" ], "x-ms-correlation-request-id": [ - "83009177-d914-4240-ad49-893915aed005" + "f41cd16a-e074-4a00-b4de-9df6c39601b4" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102914Z:83009177-d914-4240-ad49-893915aed005" + "WESTEUROPE:20150522T090059Z:f41cd16a-e074-4a00-b4de-9df6c39601b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:14 GMT" + "Fri, 22 May 2015 09:00:59 GMT" ] }, "StatusCode": 200 @@ -655,7 +559,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:29:13.9278584Z\",\r\n \"duration\": \"PT5.1634204S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T09:00:58.4855591Z\",\r\n \"duration\": \"PT1.4910715S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -670,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31966" + "14937" ], "x-ms-request-id": [ - "13e10298-7de2-485c-b0c2-8ea285d333b2" + "f9a48acd-11f9-4afa-891d-596233ded07d" ], "x-ms-correlation-request-id": [ - "13e10298-7de2-485c-b0c2-8ea285d333b2" + "f9a48acd-11f9-4afa-891d-596233ded07d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102917Z:13e10298-7de2-485c-b0c2-8ea285d333b2" + "WESTEUROPE:20150522T090102Z:f9a48acd-11f9-4afa-891d-596233ded07d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:17 GMT" + "Fri, 22 May 2015 09:01:02 GMT" ] }, "StatusCode": 200 @@ -703,7 +607,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:29:13.9278584Z\",\r\n \"duration\": \"PT5.1634204S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T09:00:58.4855591Z\",\r\n \"duration\": \"PT1.4910715S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -718,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31964" + "14935" ], "x-ms-request-id": [ - "9de992f1-d359-4ae9-b3a3-eb5811c8fbcf" + "6ee98281-8582-46e8-8561-45ff528dc23c" ], "x-ms-correlation-request-id": [ - "9de992f1-d359-4ae9-b3a3-eb5811c8fbcf" + "6ee98281-8582-46e8-8561-45ff528dc23c" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102920Z:9de992f1-d359-4ae9-b3a3-eb5811c8fbcf" + "WESTEUROPE:20150522T090105Z:6ee98281-8582-46e8-8561-45ff528dc23c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:20 GMT" + "Fri, 22 May 2015 09:01:05 GMT" ] }, "StatusCode": 200 @@ -751,7 +655,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:29:13.9278584Z\",\r\n \"duration\": \"PT5.1634204S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T09:00:58.4855591Z\",\r\n \"duration\": \"PT1.4910715S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -766,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31962" + "14933" ], "x-ms-request-id": [ - "5e462f27-0e8b-4490-8b57-627ddef1195f" + "5f81059b-237b-4b49-88c7-83540624789b" ], "x-ms-correlation-request-id": [ - "5e462f27-0e8b-4490-8b57-627ddef1195f" + "5f81059b-237b-4b49-88c7-83540624789b" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102923Z:5e462f27-0e8b-4490-8b57-627ddef1195f" + "WESTEUROPE:20150522T090108Z:5f81059b-237b-4b49-88c7-83540624789b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:23 GMT" + "Fri, 22 May 2015 09:01:08 GMT" ] }, "StatusCode": 200 @@ -799,7 +703,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:29:13.9278584Z\",\r\n \"duration\": \"PT5.1634204S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T09:00:58.4855591Z\",\r\n \"duration\": \"PT1.4910715S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -814,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31960" + "14931" ], "x-ms-request-id": [ - "3988d30f-fbcc-4356-a234-70bf90eead76" + "69b56691-965a-40cb-b18b-db02d7823d89" ], "x-ms-correlation-request-id": [ - "3988d30f-fbcc-4356-a234-70bf90eead76" + "69b56691-965a-40cb-b18b-db02d7823d89" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102926Z:3988d30f-fbcc-4356-a234-70bf90eead76" + "WESTEUROPE:20150522T090112Z:69b56691-965a-40cb-b18b-db02d7823d89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:26 GMT" + "Fri, 22 May 2015 09:01:12 GMT" ] }, "StatusCode": 200 @@ -847,7 +751,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:29:28.7723816Z\",\r\n \"duration\": \"PT20.0079436S\",\r\n \"correlationId\": \"32af37cc-c10b-40f3-98f1-8e47d0b138e3\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db30777\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T09:01:15.1480344Z\",\r\n \"duration\": \"PT18.1535468S\",\r\n \"correlationId\": \"c2fb3da9-688f-4f53-bf22-2c24cb0e0117\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1642" @@ -862,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31958" + "14929" ], "x-ms-request-id": [ - "cf7c1d7a-37f8-4030-b6d6-0b584eba3924" + "efe87440-a46f-437b-9624-df488deb9502" ], "x-ms-correlation-request-id": [ - "cf7c1d7a-37f8-4030-b6d6-0b584eba3924" + "efe87440-a46f-437b-9624-df488deb9502" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102929Z:cf7c1d7a-37f8-4030-b6d6-0b584eba3924" + "WESTEUROPE:20150522T090115Z:efe87440-a46f-437b-9624-df488deb9502" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:28 GMT" + "Fri, 22 May 2015 09:01:15 GMT" ] }, "StatusCode": 200 @@ -895,10 +799,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777\",\r\n \"name\": \"sql-dm-cmdlet-server30777\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"name\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777\",\r\n \"name\": \"sql-dm-cmdlet-server30777/sql-dm-cmdlet-db30777\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "341" ], "Content-Type": [ "application/json; charset=utf-8" @@ -910,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31957" + "14928" ], "x-ms-request-id": [ - "731fad4b-29a9-4e31-b5e3-a683ca561843" + "db711adb-65a7-4b6c-b484-2848cebf5566" ], "x-ms-correlation-request-id": [ - "731fad4b-29a9-4e31-b5e3-a683ca561843" + "db711adb-65a7-4b6c-b484-2848cebf5566" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102932Z:731fad4b-29a9-4e31-b5e3-a683ca561843" + "WESTEUROPE:20150522T090117Z:db711adb-65a7-4b6c-b484-2848cebf5566" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:31 GMT" + "Fri, 22 May 2015 09:01:17 GMT" ] }, "StatusCode": 200 @@ -961,16 +865,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "northeurope:e1ed98a6-bbfd-440c-88fd-87e1acd12a14" + "westeurope:76dabbab-baa0-45bd-ad39-f68e62274202" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31988" + "14986" ], "x-ms-correlation-request-id": [ - "74a245a7-fd81-443b-a423-b830f847d269" + "a2d2500a-fa9d-4d65-9c4d-88c5cd0ef7a7" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102932Z:74a245a7-fd81-443b-a423-b830f847d269" + "WESTEUROPE:20150522T090118Z:a2d2500a-fa9d-4d65-9c4d-88c5cd0ef7a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -979,7 +883,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:32 GMT" + "Fri, 22 May 2015 09:01:17 GMT" ] }, "StatusCode": 200 @@ -994,7 +898,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b0bb5610-ecf6-4b25-ad80-9ff67b955024" + "92269de1-4a32-413c-961f-20eefd976936" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1006,7 +910,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "7b579f9b-8ce4-45d5-89f8-4928ddfac5c9" + "bd9ddbae-5a1b-4030-b22e-e6948e97189e" ], "X-Content-Type-Options": [ "nosniff" @@ -1015,13 +919,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14995" ], "x-ms-correlation-request-id": [ - "b6b4175d-8ecc-40c2-8afe-11ad799ce576" + "bbabe693-2761-4c43-aca0-259aaba821c6" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102935Z:b6b4175d-8ecc-40c2-8afe-11ad799ce576" + "WESTEUROPE:20150522T090120Z:bbabe693-2761-4c43-aca0-259aaba821c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1030,7 +934,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:35 GMT" + "Fri, 22 May 2015 09:01:20 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1048,7 +952,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "70463a4d-dd66-4d74-9347-cfb16fd360cc" + "71b1a9cf-36ee-4fcc-8943-2ba3d9d0bccb" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1060,7 +964,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "e21877ea-bf5f-44f2-b293-998b295a35ba" + "696666dc-b1d1-491c-8aed-c23eac579a22" ], "X-Content-Type-Options": [ "nosniff" @@ -1069,13 +973,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "14994" ], "x-ms-correlation-request-id": [ - "0bffc8b5-b280-4391-b256-44075f9de67f" + "4fb8f0a4-1c6a-4dfc-a4aa-2d59d9174cf9" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102938Z:0bffc8b5-b280-4391-b256-44075f9de67f" + "WESTEUROPE:20150522T090123Z:4fb8f0a4-1c6a-4dfc-a4aa-2d59d9174cf9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1084,7 +988,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:37 GMT" + "Fri, 22 May 2015 09:01:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1102,7 +1006,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "75eb850a-5254-48c0-9ee0-e899b9917d1b" + "dfde8360-ae4b-4c72-b96b-a51ba86d82e3" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1114,7 +1018,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "66e39038-4b22-410d-8c87-ba18e341733b" + "2bd30e48-e5b3-4cf7-99f0-b8fefaac1d37" ], "X-Content-Type-Options": [ "nosniff" @@ -1123,13 +1027,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "14993" ], "x-ms-correlation-request-id": [ - "a93e7af8-2c49-4dd1-9ab5-49a984e6d9ad" + "94c51aec-3070-4c3d-b780-bea6ed2c27e6" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102939Z:a93e7af8-2c49-4dd1-9ab5-49a984e6d9ad" + "WESTEUROPE:20150522T090124Z:94c51aec-3070-4c3d-b780-bea6ed2c27e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1138,7 +1042,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:39 GMT" + "Fri, 22 May 2015 09:01:24 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1156,7 +1060,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "18462035-47b4-4a6f-989f-6ad116eddc1d" + "516d8108-c651-48d7-86ac-c8e49fa80376" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1168,7 +1072,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "f3cb1026-6176-4e75-9ba8-12a3e947b34d" + "9fc3ad28-3a44-44bf-b7dd-c20ecb6886b5" ], "X-Content-Type-Options": [ "nosniff" @@ -1177,13 +1081,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "14992" ], "x-ms-correlation-request-id": [ - "c03a2931-a79b-4a66-851c-9d1a030acea7" + "f27ebb55-fdca-4c1b-85cd-44578467c235" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102942Z:c03a2931-a79b-4a66-851c-9d1a030acea7" + "WESTEUROPE:20150522T090127Z:f27ebb55-fdca-4c1b-85cd-44578467c235" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1192,7 +1096,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:42 GMT" + "Fri, 22 May 2015 09:01:27 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1210,7 +1114,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b16193c6-4098-4520-949d-91c50f593852" + "6990c3cb-f4bb-4c55-ad2a-9ca3ca8bca67" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1222,7 +1126,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "37dd9863-a1de-43b9-b67f-b910baa3cd5d" + "af968990-949f-439a-8040-aab876203ccf" ], "X-Content-Type-Options": [ "nosniff" @@ -1231,13 +1135,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "14991" ], "x-ms-correlation-request-id": [ - "42d04af5-3514-48d2-a55b-0d16c5f26f38" + "61014f43-1f79-4255-ab1c-fddd6b8c646f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102943Z:42d04af5-3514-48d2-a55b-0d16c5f26f38" + "WESTEUROPE:20150522T090128Z:61014f43-1f79-4255-ab1c-fddd6b8c646f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1246,7 +1150,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:43 GMT" + "Fri, 22 May 2015 09:01:28 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1264,7 +1168,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "558f4bca-4b53-45d4-98b8-ffc7f9d9d533" + "e2ce24bf-5b1c-4e20-8d4d-1ac3b95f90fc" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1276,7 +1180,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "3f57bd22-87e0-46c3-b6ba-0947aba31941" + "b640fdb2-da48-4b5b-b2fe-6d81876e829a" ], "X-Content-Type-Options": [ "nosniff" @@ -1285,13 +1189,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "14990" ], "x-ms-correlation-request-id": [ - "fdfb7318-3985-4689-8a2f-aa729c2f9e2a" + "9b5c4009-1997-4ebb-bb93-7b6396029e6c" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102947Z:fdfb7318-3985-4689-8a2f-aa729c2f9e2a" + "WESTEUROPE:20150522T090131Z:9b5c4009-1997-4ebb-bb93-7b6396029e6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1300,7 +1204,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:47 GMT" + "Fri, 22 May 2015 09:01:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1324,7 +1228,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b0bb5610-ecf6-4b25-ad80-9ff67b955024" + "92269de1-4a32-413c-961f-20eefd976936" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1336,7 +1240,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "d2c4c2a3-0fdd-4b42-b69a-69a0028a0b8d" + "44da8380-ebf1-4527-8e25-2fb4e7218d34" ], "X-Content-Type-Options": [ "nosniff" @@ -1348,13 +1252,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1197" ], "x-ms-correlation-request-id": [ - "1d1606c0-2b01-4922-ac16-9e7706a9f89f" + "23c005d1-bee5-4847-b031-83861e5b7a0d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102936Z:1d1606c0-2b01-4922-ac16-9e7706a9f89f" + "WESTEUROPE:20150522T090122Z:23c005d1-bee5-4847-b031-83861e5b7a0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1363,7 +1267,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:36 GMT" + "Fri, 22 May 2015 09:01:21 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1387,7 +1291,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "75eb850a-5254-48c0-9ee0-e899b9917d1b" + "dfde8360-ae4b-4c72-b96b-a51ba86d82e3" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"A;B;C\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1399,7 +1303,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "f580aa71-5856-4469-b8c6-738eefd77ef4" + "f49dc99f-ef00-48c1-83aa-ea6e913d8a0c" ], "X-Content-Type-Options": [ "nosniff" @@ -1411,13 +1315,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1196" ], "x-ms-correlation-request-id": [ - "5dd14cd3-5bdc-46c6-b9aa-5d86e27948fe" + "8a506577-ec41-4370-abc8-7a04b97f9892" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102941Z:5dd14cd3-5bdc-46c6-b9aa-5d86e27948fe" + "WESTEUROPE:20150522T090126Z:8a506577-ec41-4370-abc8-7a04b97f9892" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1426,7 +1330,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:41 GMT" + "Fri, 22 May 2015 09:01:26 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1450,7 +1354,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b16193c6-4098-4520-949d-91c50f593852" + "6990c3cb-f4bb-4c55-ad2a-9ca3ca8bca67" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg30777/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server30777/databases/sql-dm-cmdlet-db30777/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Restricted\"\r\n }\r\n}", @@ -1462,7 +1366,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "b9c3348f-6627-45cd-8f11-5724819fd077" + "d6f1355d-e203-4c31-ae36-a2c69921869b" ], "X-Content-Type-Options": [ "nosniff" @@ -1474,13 +1378,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1195" ], "x-ms-correlation-request-id": [ - "8d73cdf7-42d7-43c7-8416-8f92641ccacb" + "9c6600e4-c86f-4fac-b8ff-638a197fae56" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102945Z:8d73cdf7-42d7-43c7-8416-8f92641ccacb" + "WESTEUROPE:20150522T090130Z:9c6600e4-c86f-4fac-b8ff-638a197fae56" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1489,7 +1393,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:29:45 GMT" + "Fri, 22 May 2015 09:01:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingRuleCreationFailures.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingRuleCreationFailures.json index f6756e852dee..e5d25851e961 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingRuleCreationFailures.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingRuleCreationFailures.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31934" + "14999" ], "x-ms-request-id": [ - "6ccd589f-a7fb-4672-9208-d91ae0a81ad8" + "beab4b7e-d632-427d-8301-8a7f4937ad74" ], "x-ms-correlation-request-id": [ - "6ccd589f-a7fb-4672-9208-d91ae0a81ad8" + "beab4b7e-d632-427d-8301-8a7f4937ad74" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103511Z:6ccd589f-a7fb-4672-9208-d91ae0a81ad8" + "WESTEUROPE:20150522T084527Z:beab4b7e-d632-427d-8301-8a7f4937ad74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:10 GMT" + "Fri, 22 May 2015 08:45:26 GMT" ] }, "StatusCode": 404 @@ -85,13 +85,13 @@ "1199" ], "x-ms-request-id": [ - "393bcd93-9303-46ae-bc41-5acd9ce7e3f1" + "adc71667-2231-4b53-9c51-328a0404b3a1" ], "x-ms-correlation-request-id": [ - "393bcd93-9303-46ae-bc41-5acd9ce7e3f1" + "adc71667-2231-4b53-9c51-328a0404b3a1" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103513Z:393bcd93-9303-46ae-bc41-5acd9ce7e3f1" + "WESTEUROPE:20150522T084529Z:adc71667-2231-4b53-9c51-328a0404b3a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:12 GMT" + "Fri, 22 May 2015 08:45:29 GMT" ] }, "StatusCode": 201 @@ -121,7 +121,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:35:17.8438932Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"1395a780-4b9e-4ddc-b4e5-3daa3330855d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:45:30.1000038Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"2a59ec17-9947-4e9d-8ce9-260e62826a09\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1632" @@ -139,13 +139,13 @@ "1198" ], "x-ms-request-id": [ - "1395a780-4b9e-4ddc-b4e5-3daa3330855d" + "2a59ec17-9947-4e9d-8ce9-260e62826a09" ], "x-ms-correlation-request-id": [ - "1395a780-4b9e-4ddc-b4e5-3daa3330855d" + "2a59ec17-9947-4e9d-8ce9-260e62826a09" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103517Z:1395a780-4b9e-4ddc-b4e5-3daa3330855d" + "WESTEUROPE:20150522T084530Z:2a59ec17-9947-4e9d-8ce9-260e62826a09" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:17 GMT" + "Fri, 22 May 2015 08:45:30 GMT" ] }, "StatusCode": 200 @@ -175,7 +175,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:35:19.7181679Z\",\r\n \"duration\": \"PT1.2161954S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:45:32.3207853Z\",\r\n \"duration\": \"PT1.2077346S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1640" @@ -193,13 +193,13 @@ "1197" ], "x-ms-request-id": [ - "46f1a156-b4c0-4c48-9d14-b1101b6c1070" + "50a43c72-4cf1-4463-90ef-babf4024b00a" ], "x-ms-correlation-request-id": [ - "46f1a156-b4c0-4c48-9d14-b1101b6c1070" + "50a43c72-4cf1-4463-90ef-babf4024b00a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103520Z:46f1a156-b4c0-4c48-9d14-b1101b6c1070" + "WESTEUROPE:20150522T084532Z:50a43c72-4cf1-4463-90ef-babf4024b00a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:19 GMT" + "Fri, 22 May 2015 08:45:32 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31933" + "14998" ], "x-ms-request-id": [ - "2e6414c5-6111-480d-9a38-56c3153f286c" + "73b544d3-2bce-44d8-81fa-3cae9ff3e34d" ], "x-ms-correlation-request-id": [ - "2e6414c5-6111-480d-9a38-56c3153f286c" + "73b544d3-2bce-44d8-81fa-3cae9ff3e34d" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103522Z:2e6414c5-6111-480d-9a38-56c3153f286c" + "WESTEUROPE:20150522T084533Z:73b544d3-2bce-44d8-81fa-3cae9ff3e34d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:21 GMT" + "Fri, 22 May 2015 08:45:33 GMT" ] }, "StatusCode": 200 @@ -286,16 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31931" + "14996" ], "x-ms-request-id": [ - "abecdb2c-9ced-44a9-a277-41a108e405eb" + "dee4377a-0bcc-44c9-9786-07dbd0fc1397" ], "x-ms-correlation-request-id": [ - "abecdb2c-9ced-44a9-a277-41a108e405eb" + "dee4377a-0bcc-44c9-9786-07dbd0fc1397" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103525Z:abecdb2c-9ced-44a9-a277-41a108e405eb" + "WESTEUROPE:20150522T084536Z:dee4377a-0bcc-44c9-9786-07dbd0fc1397" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -304,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:24 GMT" + "Fri, 22 May 2015 08:45:36 GMT" ] }, "StatusCode": 200 @@ -334,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31929" + "14994" ], "x-ms-request-id": [ - "f37e13bc-ec92-4973-922a-a2787c373247" + "1a42de39-2187-4abd-8943-b107e3e8bccc" ], "x-ms-correlation-request-id": [ - "f37e13bc-ec92-4973-922a-a2787c373247" + "1a42de39-2187-4abd-8943-b107e3e8bccc" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103528Z:f37e13bc-ec92-4973-922a-a2787c373247" + "WESTEUROPE:20150522T084539Z:1a42de39-2187-4abd-8943-b107e3e8bccc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:27 GMT" + "Fri, 22 May 2015 08:45:39 GMT" ] }, "StatusCode": 200 @@ -382,16 +382,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31927" + "14992" ], "x-ms-request-id": [ - "1e2c2127-4915-455e-8550-c470c1ce5b97" + "f516bf70-e10f-47d1-bfa1-9a5e256703a1" ], "x-ms-correlation-request-id": [ - "1e2c2127-4915-455e-8550-c470c1ce5b97" + "f516bf70-e10f-47d1-bfa1-9a5e256703a1" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103531Z:1e2c2127-4915-455e-8550-c470c1ce5b97" + "WESTEUROPE:20150522T084542Z:f516bf70-e10f-47d1-bfa1-9a5e256703a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +400,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:30 GMT" + "Fri, 22 May 2015 08:45:42 GMT" ] }, "StatusCode": 200 @@ -430,16 +430,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31925" + "14990" ], "x-ms-request-id": [ - "a8140de1-ff0f-49f5-8fd5-3abd6bea6de3" + "bd6e31f9-5f61-4950-bf2b-b928b1136576" ], "x-ms-correlation-request-id": [ - "a8140de1-ff0f-49f5-8fd5-3abd6bea6de3" + "bd6e31f9-5f61-4950-bf2b-b928b1136576" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103534Z:a8140de1-ff0f-49f5-8fd5-3abd6bea6de3" + "WESTEUROPE:20150522T084545Z:bd6e31f9-5f61-4950-bf2b-b928b1136576" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:34 GMT" + "Fri, 22 May 2015 08:45:45 GMT" ] }, "StatusCode": 200 @@ -463,586 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31923" - ], - "x-ms-request-id": [ - "1d8ea742-36ee-4487-acda-d9bd8e9d8fda" - ], - "x-ms-correlation-request-id": [ - "1d8ea742-36ee-4487-acda-d9bd8e9d8fda" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103537Z:1d8ea742-36ee-4487-acda-d9bd8e9d8fda" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:37 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31921" - ], - "x-ms-request-id": [ - "ce2eaedd-afa6-4e22-96bf-bd1730a4007f" - ], - "x-ms-correlation-request-id": [ - "ce2eaedd-afa6-4e22-96bf-bd1730a4007f" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103540Z:ce2eaedd-afa6-4e22-96bf-bd1730a4007f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:40 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "664" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31919" - ], - "x-ms-request-id": [ - "395658d2-285b-45b1-b65b-104bb72b6cb2" - ], - "x-ms-correlation-request-id": [ - "395658d2-285b-45b1-b65b-104bb72b6cb2" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103543Z:395658d2-285b-45b1-b65b-104bb72b6cb2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:43 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "664" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31917" - ], - "x-ms-request-id": [ - "bba2c667-4a13-440b-93da-cc35e60068f2" - ], - "x-ms-correlation-request-id": [ - "bba2c667-4a13-440b-93da-cc35e60068f2" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103546Z:bba2c667-4a13-440b-93da-cc35e60068f2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:46 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "664" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31915" - ], - "x-ms-request-id": [ - "f2c20191-96de-43f5-a9b0-8e79bc3c226a" - ], - "x-ms-correlation-request-id": [ - "f2c20191-96de-43f5-a9b0-8e79bc3c226a" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103549Z:f2c20191-96de-43f5-a9b0-8e79bc3c226a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:49 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "664" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31913" - ], - "x-ms-request-id": [ - "604a33d1-42f6-42d9-8793-cb6181d74a51" - ], - "x-ms-correlation-request-id": [ - "604a33d1-42f6-42d9-8793-cb6181d74a51" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103603Z:604a33d1-42f6-42d9-8793-cb6181d74a51" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:36:03 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/887FF218BB40599B\",\r\n \"operationId\": \"887FF218BB40599B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:36:05.1808503Z\",\r\n \"duration\": \"PT23.898961S\",\r\n \"trackingId\": \"aeadbb12-0f15-4969-a103-dbb120f46f00\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1380" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31911" - ], - "x-ms-request-id": [ - "6a034c9a-dfcb-4999-bfef-0b3fdf359cd5" - ], - "x-ms-correlation-request-id": [ - "6a034c9a-dfcb-4999-bfef-0b3fdf359cd5" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103607Z:6a034c9a-dfcb-4999-bfef-0b3fdf359cd5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:36:06 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/887FF218BB40599B\",\r\n \"operationId\": \"887FF218BB40599B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:36:05.1808503Z\",\r\n \"duration\": \"PT23.898961S\",\r\n \"trackingId\": \"aeadbb12-0f15-4969-a103-dbb120f46f00\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:35:40.7298644Z\",\r\n \"duration\": \"PT13.4917626S\",\r\n \"trackingId\": \"cb1eec69-61f6-4df3-b41e-0a2ef1b0edbc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1380" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" - ], - "x-ms-request-id": [ - "c75fcdb4-776f-405b-9a93-22536a0a03e9" - ], - "x-ms-correlation-request-id": [ - "c75fcdb4-776f-405b-9a93-22536a0a03e9" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103610Z:c75fcdb4-776f-405b-9a93-22536a0a03e9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:36:09 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:35:19.7181679Z\",\r\n \"duration\": \"PT1.2161954S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1640" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31932" - ], - "x-ms-request-id": [ - "fbfcd26e-4709-43d7-abca-1dde253dde38" - ], - "x-ms-correlation-request-id": [ - "fbfcd26e-4709-43d7-abca-1dde253dde38" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103522Z:fbfcd26e-4709-43d7-abca-1dde253dde38" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:22 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1639" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31930" - ], - "x-ms-request-id": [ - "0e96af68-b96f-4dbb-a4f4-b659b4c1c2a0" - ], - "x-ms-correlation-request-id": [ - "0e96af68-b96f-4dbb-a4f4-b659b4c1c2a0" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103525Z:0e96af68-b96f-4dbb-a4f4-b659b4c1c2a0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:24 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1639" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31928" - ], - "x-ms-request-id": [ - "dee91911-8e7c-4841-b0f5-184db1de5817" - ], - "x-ms-correlation-request-id": [ - "dee91911-8e7c-4841-b0f5-184db1de5817" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103528Z:dee91911-8e7c-4841-b0f5-184db1de5817" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:27 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1639" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31926" - ], - "x-ms-request-id": [ - "20b12829-73ac-4ccd-80b0-458e5e3b5d23" - ], - "x-ms-correlation-request-id": [ - "20b12829-73ac-4ccd-80b0-458e5e3b5d23" - ], - "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103531Z:20b12829-73ac-4ccd-80b0-458e5e3b5d23" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:35:30 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:45:46.0121053Z\",\r\n \"duration\": \"PT12.3572452S\",\r\n \"trackingId\": \"af4e501b-d30c-4cc0-86d3-8c30ec6f7ce6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "664" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1054,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31924" + "14988" ], "x-ms-request-id": [ - "b1ae53ab-9159-443a-ad8b-6c942c406230" + "72d16bde-50c6-4997-885d-a6e56b551b1a" ], "x-ms-correlation-request-id": [ - "b1ae53ab-9159-443a-ad8b-6c942c406230" + "72d16bde-50c6-4997-885d-a6e56b551b1a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103534Z:b1ae53ab-9159-443a-ad8b-6c942c406230" + "WESTEUROPE:20150522T084548Z:72d16bde-50c6-4997-885d-a6e56b551b1a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1072,14 +496,14 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:34 GMT" + "Fri, 22 May 2015 08:45:48 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1087,10 +511,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/887FF218BB40599B\",\r\n \"operationId\": \"887FF218BB40599B\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:45:50.3858867Z\",\r\n \"duration\": \"PT3.7690226S\",\r\n \"trackingId\": \"41058b81-545a-4fb9-ae9e-bf0737b0e4ae\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup/operations/BE900D3A0854B0FA\",\r\n \"operationId\": \"BE900D3A0854B0FA\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:45:46.0121053Z\",\r\n \"duration\": \"PT12.3572452S\",\r\n \"trackingId\": \"af4e501b-d30c-4cc0-86d3-8c30ec6f7ce6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "1380" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1102,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31922" + "14986" ], "x-ms-request-id": [ - "6cc1fa77-883e-4637-b8de-9081158518ae" + "7dca187d-5592-4619-be19-7e2a33ad2ff9" ], "x-ms-correlation-request-id": [ - "6cc1fa77-883e-4637-b8de-9081158518ae" + "7dca187d-5592-4619-be19-7e2a33ad2ff9" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103537Z:6cc1fa77-883e-4637-b8de-9081158518ae" + "WESTEUROPE:20150522T084551Z:7dca187d-5592-4619-be19-7e2a33ad2ff9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1120,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:37 GMT" + "Fri, 22 May 2015 08:45:51 GMT" ] }, "StatusCode": 200 @@ -1135,10 +559,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:45:32.3207853Z\",\r\n \"duration\": \"PT1.2077346S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1639" + "1640" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1150,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31920" + "14997" ], "x-ms-request-id": [ - "0afa5167-21e9-42ff-8ce9-32055734dfd8" + "3817625b-7a28-4914-b3ea-37f39f04fa46" ], "x-ms-correlation-request-id": [ - "0afa5167-21e9-42ff-8ce9-32055734dfd8" + "3817625b-7a28-4914-b3ea-37f39f04fa46" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103540Z:0afa5167-21e9-42ff-8ce9-32055734dfd8" + "WESTEUROPE:20150522T084533Z:3817625b-7a28-4914-b3ea-37f39f04fa46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1168,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:40 GMT" + "Fri, 22 May 2015 08:45:33 GMT" ] }, "StatusCode": 200 @@ -1183,7 +607,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:45:33.4860965Z\",\r\n \"duration\": \"PT2.3730458S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -1198,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31918" + "14995" ], "x-ms-request-id": [ - "c1a8bb94-4e6b-48c5-b775-c55a6b957721" + "342f392c-5b79-4943-aa0d-a4e27d00200d" ], "x-ms-correlation-request-id": [ - "c1a8bb94-4e6b-48c5-b775-c55a6b957721" + "342f392c-5b79-4943-aa0d-a4e27d00200d" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103543Z:c1a8bb94-4e6b-48c5-b775-c55a6b957721" + "WESTEUROPE:20150522T084537Z:342f392c-5b79-4943-aa0d-a4e27d00200d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1216,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:43 GMT" + "Fri, 22 May 2015 08:45:36 GMT" ] }, "StatusCode": 200 @@ -1231,7 +655,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:45:33.4860965Z\",\r\n \"duration\": \"PT2.3730458S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -1246,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31916" + "14993" ], "x-ms-request-id": [ - "5d110d7d-3143-492a-98dc-c91d151f7518" + "408e77d5-9f45-4894-9287-f1e585388b6a" ], "x-ms-correlation-request-id": [ - "5d110d7d-3143-492a-98dc-c91d151f7518" + "408e77d5-9f45-4894-9287-f1e585388b6a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103547Z:5d110d7d-3143-492a-98dc-c91d151f7518" + "WESTEUROPE:20150522T084540Z:408e77d5-9f45-4894-9287-f1e585388b6a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1264,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:46 GMT" + "Fri, 22 May 2015 08:45:39 GMT" ] }, "StatusCode": 200 @@ -1279,7 +703,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:45:33.4860965Z\",\r\n \"duration\": \"PT2.3730458S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -1294,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31914" + "14991" ], "x-ms-request-id": [ - "de94d94c-e149-4ee7-b4e1-c343065fdf2a" + "35ae3fc2-410b-46f7-853b-defcf80fe010" ], "x-ms-correlation-request-id": [ - "de94d94c-e149-4ee7-b4e1-c343065fdf2a" + "35ae3fc2-410b-46f7-853b-defcf80fe010" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103550Z:de94d94c-e149-4ee7-b4e1-c343065fdf2a" + "WESTEUROPE:20150522T084543Z:35ae3fc2-410b-46f7-853b-defcf80fe010" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1312,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:35:49 GMT" + "Fri, 22 May 2015 08:45:42 GMT" ] }, "StatusCode": 200 @@ -1327,7 +751,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:45:33.4860965Z\",\r\n \"duration\": \"PT2.3730458S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -1342,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31912" + "14989" ], "x-ms-request-id": [ - "aa560a10-3f2c-4a05-a451-4ce0b42387e9" + "ca34f8dd-05d7-422c-afb8-0690a11b9b06" ], "x-ms-correlation-request-id": [ - "aa560a10-3f2c-4a05-a451-4ce0b42387e9" + "ca34f8dd-05d7-422c-afb8-0690a11b9b06" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103604Z:aa560a10-3f2c-4a05-a451-4ce0b42387e9" + "WESTEUROPE:20150522T084546Z:ca34f8dd-05d7-422c-afb8-0690a11b9b06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1360,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:03 GMT" + "Fri, 22 May 2015 08:45:45 GMT" ] }, "StatusCode": 200 @@ -1375,7 +799,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:35:22.8836784Z\",\r\n \"duration\": \"PT4.3817059S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:45:33.4860965Z\",\r\n \"duration\": \"PT2.3730458S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1639" @@ -1390,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "14987" ], "x-ms-request-id": [ - "acdf2e1c-c27c-4b18-856a-232ed5bb6729" + "ea59fc7c-e7e7-44a9-9e08-43b437e79d4f" ], "x-ms-correlation-request-id": [ - "acdf2e1c-c27c-4b18-856a-232ed5bb6729" + "ea59fc7c-e7e7-44a9-9e08-43b437e79d4f" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103607Z:acdf2e1c-c27c-4b18-856a-232ed5bb6729" + "WESTEUROPE:20150522T084549Z:ea59fc7c-e7e7-44a9-9e08-43b437e79d4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1408,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:06 GMT" + "Fri, 22 May 2015 08:45:48 GMT" ] }, "StatusCode": 200 @@ -1423,7 +847,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:36:07.6946207Z\",\r\n \"duration\": \"PT49.1926482S\",\r\n \"correlationId\": \"46f1a156-b4c0-4c48-9d14-b1101b6c1070\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db70222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:45:51.8349839Z\",\r\n \"duration\": \"PT20.7219332S\",\r\n \"correlationId\": \"50a43c72-4cf1-4463-90ef-babf4024b00a\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1642" @@ -1438,16 +862,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31908" + "14985" ], "x-ms-request-id": [ - "5e883490-5749-494b-b8b3-146671ac0f4b" + "40bfc502-3876-4e28-b13a-729af3f3e9de" ], "x-ms-correlation-request-id": [ - "5e883490-5749-494b-b8b3-146671ac0f4b" + "40bfc502-3876-4e28-b13a-729af3f3e9de" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103610Z:5e883490-5749-494b-b8b3-146671ac0f4b" + "WESTEUROPE:20150522T084552Z:40bfc502-3876-4e28-b13a-729af3f3e9de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1456,7 +880,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:09 GMT" + "Fri, 22 May 2015 08:45:51 GMT" ] }, "StatusCode": 200 @@ -1471,10 +895,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"name\": \"sql-dm-cmdlet-server70222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"name\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222\",\r\n \"name\": \"sql-dm-cmdlet-server70222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222\",\r\n \"name\": \"sql-dm-cmdlet-server70222/sql-dm-cmdlet-db70222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "602" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1486,16 +910,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" + "14984" ], "x-ms-request-id": [ - "e2eed6fc-5c57-48e7-ac8e-8adb2f3090d4" + "196ec8d1-03bd-48e9-8f20-9281aaff5e50" ], "x-ms-correlation-request-id": [ - "e2eed6fc-5c57-48e7-ac8e-8adb2f3090d4" + "196ec8d1-03bd-48e9-8f20-9281aaff5e50" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103613Z:e2eed6fc-5c57-48e7-ac8e-8adb2f3090d4" + "WESTEUROPE:20150522T084554Z:196ec8d1-03bd-48e9-8f20-9281aaff5e50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1504,7 +928,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:12 GMT" + "Fri, 22 May 2015 08:45:53 GMT" ] }, "StatusCode": 200 @@ -1537,16 +961,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westeurope:36ea8979-ef8c-4ab6-952b-77533a20a77f" + "westeurope:a01a6978-d4c1-4708-b264-7de00cd27fbb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31944" + "14999" ], "x-ms-correlation-request-id": [ - "d44684c5-cb11-4e52-b5de-ff9560872288" + "49113a7b-157e-459d-bf86-f94e094f5b5d" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103614Z:d44684c5-cb11-4e52-b5de-ff9560872288" + "WESTEUROPE:20150522T084555Z:49113a7b-157e-459d-bf86-f94e094f5b5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1555,7 +979,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:13 GMT" + "Fri, 22 May 2015 08:45:55 GMT" ] }, "StatusCode": 200 @@ -1570,7 +994,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "1343901a-697e-45cc-808e-253ac519c55e" + "e31ceee4-1a52-489d-835b-f9d2659e4711" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1582,7 +1006,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "22b00496-bf82-4ed8-ad9d-52e939383d8d" + "85515522-f96c-4480-8b1e-3130171b1701" ], "X-Content-Type-Options": [ "nosniff" @@ -1591,13 +1015,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "14999" ], "x-ms-correlation-request-id": [ - "faddd678-a44c-4fea-be2e-9f90dc3d9e66" + "a2af32d9-86b1-44cb-8038-5848ded29728" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103618Z:faddd678-a44c-4fea-be2e-9f90dc3d9e66" + "WESTEUROPE:20150522T084557Z:a2af32d9-86b1-44cb-8038-5848ded29728" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1606,7 +1030,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:17 GMT" + "Fri, 22 May 2015 08:45:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1630,7 +1054,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "1343901a-697e-45cc-808e-253ac519c55e" + "e31ceee4-1a52-489d-835b-f9d2659e4711" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1642,7 +1066,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "c229d39d-235d-4564-bd16-0f46f3d2d76a" + "95a2fe53-d0d7-4de3-8a8f-d709a5784d4a" ], "X-Content-Type-Options": [ "nosniff" @@ -1654,13 +1078,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-correlation-request-id": [ - "61cea997-7e24-456b-954c-310e5e257c82" + "06b4cc39-84ec-4456-bdf0-89d29c53c2f6" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103623Z:61cea997-7e24-456b-954c-310e5e257c82" + "WESTEUROPE:20150522T084559Z:06b4cc39-84ec-4456-bdf0-89d29c53c2f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1669,7 +1093,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:23 GMT" + "Fri, 22 May 2015 08:45:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1687,7 +1111,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "b5ffbd8e-88f2-41ab-8e41-090f9d6f9b84" + "235dbc00-23ce-4e2b-b1fd-4d4403d9beb0" ] }, "ResponseBody": "{\r\n \"code\": \"45161\",\r\n \"message\": \"Server 'sql-dm-cmdlet-server70222' does not exist in subscription 'cca24ec8-99b5-4aa7-9ff6-486e886f304c'.\",\r\n \"target\": null,\r\n \"details\": [\r\n {\r\n \"code\": \"45161\",\r\n \"message\": \"Server 'sql-dm-cmdlet-server70222' does not exist in subscription 'cca24ec8-99b5-4aa7-9ff6-486e886f304c'.\",\r\n \"target\": null,\r\n \"severity\": \"16\"\r\n }\r\n ],\r\n \"innererror\": []\r\n}", @@ -1699,7 +1123,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "c025f541-7fc9-4b5d-b51c-f61ff31f45e1" + "eb063892-4b83-44d4-bdf3-58cbaf5b4810" ], "X-Content-Type-Options": [ "nosniff" @@ -1708,13 +1132,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31905" + "14998" ], "x-ms-correlation-request-id": [ - "6cfe7080-734d-401c-a462-7a51d590c0af" + "fd40274f-c335-4342-afa7-f76c7eb3c69a" ], "x-ms-routing-request-id": [ - "WESTEUROPE:20150416T103624Z:6cfe7080-734d-401c-a462-7a51d590c0af" + "WESTEUROPE:20150522T084600Z:fd40274f-c335-4342-afa7-f76c7eb3c69a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1723,7 +1147,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:36:24 GMT" + "Fri, 22 May 2015 08:45:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1741,7 +1165,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "94801021-ee44-42c9-87d6-71f0ef90136b" + "ec247846-29d3-4095-9c61-b98b53ea849c" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1753,7 +1177,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "fe70cb80-72ec-4ee2-90ad-5a45ffca1c23" + "769fc19d-34dc-49ef-bdf1-5db70f7cae70" ], "X-Content-Type-Options": [ "nosniff" @@ -1762,13 +1186,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31985" + "14998" ], "x-ms-correlation-request-id": [ - "080af057-011d-4074-a9fa-65aebb5e9033" + "a07648c4-ceb5-49d5-bae8-f9df620df959" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104127Z:080af057-011d-4074-a9fa-65aebb5e9033" + "WESTEUROPE:20150522T085102Z:a07648c4-ceb5-49d5-bae8-f9df620df959" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1777,7 +1201,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:27 GMT" + "Fri, 22 May 2015 08:51:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1801,7 +1225,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "94801021-ee44-42c9-87d6-71f0ef90136b" + "ec247846-29d3-4095-9c61-b98b53ea849c" ] }, "ResponseBody": "{\r\n \"code\": \"NotFound\",\r\n \"message\": \"Data masking rule PUT failed.\",\r\n \"target\": null,\r\n \"details\": [],\r\n \"innererror\": []\r\n}", @@ -1813,7 +1237,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "35605518-a32b-4cbc-a6d7-57dd91ee591a" + "eb612ef2-e8ce-4a3d-a822-e6bc25d4f74b" ], "X-Content-Type-Options": [ "nosniff" @@ -1825,13 +1249,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-correlation-request-id": [ - "cde8cacc-76c5-46a3-8654-e78a01ee5cb3" + "3ae0653d-795c-4059-b9a7-e3265ac4ee15" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104129Z:cde8cacc-76c5-46a3-8654-e78a01ee5cb3" + "WESTEUROPE:20150522T085104Z:3ae0653d-795c-4059-b9a7-e3265ac4ee15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1840,7 +1264,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:28 GMT" + "Fri, 22 May 2015 08:51:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1858,7 +1282,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4de63410-d923-434b-86d1-08b435d2941e" + "31cd4f12-388f-4b38-82ca-82faffe24f9a" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1870,7 +1294,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "e1a30953-9516-46c0-b16b-c3c0951ed3c8" + "b75768ee-a5e4-440f-b909-4ccb62137daf" ], "X-Content-Type-Options": [ "nosniff" @@ -1879,13 +1303,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31984" + "14997" ], "x-ms-correlation-request-id": [ - "5440176e-9484-43aa-9be3-c358d418350e" + "81c51770-cf3e-4731-9173-23fa5756007f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104130Z:5440176e-9484-43aa-9be3-c358d418350e" + "WESTEUROPE:20150522T085106Z:81c51770-cf3e-4731-9173-23fa5756007f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1894,7 +1318,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:30 GMT" + "Fri, 22 May 2015 08:51:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1912,7 +1336,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "49c664c5-3c69-4205-a50d-2fd5134c8c9c" + "9d20a365-dcfc-43fe-b887-19af96be93c2" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1924,7 +1348,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ba8264f1-96b4-4371-9971-f3be06b7e501" + "f9952b94-8de2-4917-861e-8e1b865fcec7" ], "X-Content-Type-Options": [ "nosniff" @@ -1933,13 +1357,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31983" + "14996" ], "x-ms-correlation-request-id": [ - "80592381-a5ba-4a71-bb30-829c73fcb8ea" + "d57c259b-aaec-4925-b2ec-477b093baa9c" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104132Z:80592381-a5ba-4a71-bb30-829c73fcb8ea" + "WESTEUROPE:20150522T085107Z:d57c259b-aaec-4925-b2ec-477b093baa9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1948,7 +1372,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:31 GMT" + "Fri, 22 May 2015 08:51:06 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1966,7 +1390,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "3b9d3da2-2eb9-4bb8-b088-0dfb270f7506" + "fffa041a-b8a0-459c-91ef-859e4b24cd9b" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TT1\",\r\n \"columnName\": \"CC1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -1978,7 +1402,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "da28268e-9ef7-40b5-910a-5a5eb34dfca0" + "40263253-1414-403f-bfe5-c99df03ed784" ], "X-Content-Type-Options": [ "nosniff" @@ -1987,13 +1411,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31982" + "14995" ], "x-ms-correlation-request-id": [ - "348118cc-b27f-49ae-9e92-59c611bc6b15" + "d8599c88-11cb-4c53-bfb4-be853b7e14ee" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104136Z:348118cc-b27f-49ae-9e92-59c611bc6b15" + "WESTEUROPE:20150522T085111Z:d8599c88-11cb-4c53-bfb4-be853b7e14ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2002,7 +1426,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:35 GMT" + "Fri, 22 May 2015 08:51:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -2020,7 +1444,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "e3710423-9751-4aad-a750-1ffd30e6f337" + "df81d75d-e02b-4a7f-907a-4317bccf5816" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TT1\",\r\n \"columnName\": \"CC1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -2032,7 +1456,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "4864b886-5bb3-4500-8d7b-cb39f778ce17" + "36dbe0e1-fbb8-4815-916c-d7a448fc1da6" ], "X-Content-Type-Options": [ "nosniff" @@ -2041,13 +1465,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31981" + "14994" ], "x-ms-correlation-request-id": [ - "b5d472af-45e9-4f10-92f2-c567076a4cec" + "d1a814cd-1bd0-40f3-bce5-a78042026634" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104137Z:b5d472af-45e9-4f10-92f2-c567076a4cec" + "WESTEUROPE:20150522T085112Z:d1a814cd-1bd0-40f3-bce5-a78042026634" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2056,7 +1480,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:37 GMT" + "Fri, 22 May 2015 08:51:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -2074,7 +1498,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "70d3a17a-3c01-4511-aa58-3a6cdd704c57" + "65676259-8cf4-4075-8699-fc86de944bcc" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TT1\",\r\n \"columnName\": \"CC1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", @@ -2086,61 +1510,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "215c4b7e-3afe-40d4-acb9-0cbac6f7ca9e" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31980" - ], - "x-ms-correlation-request-id": [ - "b578f6bf-e1c5-47ef-b39b-2ec82b99d24a" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104139Z:b578f6bf-e1c5-47ef-b39b-2ec82b99d24a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-store, no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:41:38 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/Rules?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWRtLWNtZGxldC1zZXJ2ZXI3MDIyMi9kYXRhYmFzZXMvc3FsLWRtLWNtZGxldC1kYjcwMjIyL2RhdGFNYXNraW5nUG9saWNpZXMvRGVmYXVsdC9SdWxlcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" - ], - "x-ms-client-request-id": [ - "bbb80aab-d4f1-4224-8024-9fc08bd0d14e" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AA1\",\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "568" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], - "x-ms-request-id": [ - "85a7ae96-d7a4-49ca-b146-0144bd1cd8c2" + "13672c8f-0819-4e18-9074-29b0c10f7292" ], "X-Content-Type-Options": [ "nosniff" @@ -2149,13 +1519,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31979" + "14993" ], "x-ms-correlation-request-id": [ - "06d810d0-ddb2-4c90-a339-8256f6e7da10" + "88914a70-8ce6-488d-94d6-23456fdab2a5" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104142Z:06d810d0-ddb2-4c90-a339-8256f6e7da10" + "WESTEUROPE:20150522T085113Z:88914a70-8ce6-488d-94d6-23456fdab2a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2164,7 +1534,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:41 GMT" + "Fri, 22 May 2015 08:51:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -2188,7 +1558,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "49c664c5-3c69-4205-a50d-2fd5134c8c9c" + "9d20a365-dcfc-43fe-b887-19af96be93c2" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TT1\",\r\n \"columnName\": \"CC1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", @@ -2200,70 +1570,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "eed21772-1002-4946-b929-7fc39a094030" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Preference-Applied": [ - "return-content" - ], - "DataServiceVersion": [ - "3.0;" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "ecd700b4-17d2-41b7-a75a-0047dc546f81" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104134Z:ecd700b4-17d2-41b7-a75a-0047dc546f81" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-store, no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:41:33 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzcwMjIyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWRtLWNtZGxldC1zZXJ2ZXI3MDIyMi9kYXRhYmFzZXMvc3FsLWRtLWNtZGxldC1kYjcwMjIyL2RhdGFNYXNraW5nUG9saWNpZXMvRGVmYXVsdC9ydWxlcy9ydWxlND9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"aliasName\": \"AA1\",\r\n \"maskingFunction\": \"Default\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "107" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" - ], - "x-ms-client-request-id": [ - "70d3a17a-3c01-4511-aa58-3a6cdd704c57" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg70222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server70222/databases/sql-dm-cmdlet-db70222/dataMaskingPolicies/Default/rules/rule4\",\r\n \"name\": \"rule4\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule4\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AA1\",\r\n \"maskingFunction\": \"Default\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": null,\r\n \"suffixSize\": null,\r\n \"replacementString\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "551" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], - "x-ms-request-id": [ - "e79a43fd-e348-43af-a917-b46d34cf8b8b" + "9c029718-62a9-43a9-81c2-26bf38eaaa8f" ], "X-Content-Type-Options": [ "nosniff" @@ -2275,13 +1582,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1198" ], "x-ms-correlation-request-id": [ - "4be7a707-0a8d-44f4-b172-90529fcdf7f3" + "28080044-a6f3-4547-9f70-f5f5ee705cf2" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104140Z:4be7a707-0a8d-44f4-b172-90529fcdf7f3" + "WESTEUROPE:20150522T085109Z:28080044-a6f3-4547-9f70-f5f5ee705cf2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2290,7 +1597,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:39 GMT" + "Fri, 22 May 2015 08:51:08 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -2308,7 +1615,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "bbb80aab-d4f1-4224-8024-9fc08bd0d14e" + "65676259-8cf4-4075-8699-fc86de944bcc" ] }, "ResponseBody": "", @@ -2317,7 +1624,7 @@ "0" ], "x-ms-request-id": [ - "6a207196-a7f8-4319-bd88-2c30036fc1d5" + "6b1cda8d-b9e2-4431-af42-165fb4abfd51" ], "X-Content-Type-Options": [ "nosniff" @@ -2326,13 +1633,13 @@ "1.0;" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1197" ], "x-ms-correlation-request-id": [ - "f84247bf-1429-40f3-bc2a-f13e059fa833" + "6a96e386-2bc7-48ce-89e2-26b678d49737" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T104143Z:f84247bf-1429-40f3-bc2a-f13e059fa833" + "WESTEUROPE:20150522T085115Z:6a96e386-2bc7-48ce-89e2-26b678d49737" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2341,7 +1648,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:41:43 GMT" + "Fri, 22 May 2015 08:51:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingTextRuleLifecycle.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingTextRuleLifecycle.json index 40326f27aefb..bdf68b6ff0c7 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingTextRuleLifecycle.json +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.ScenarioTest.SqlTests.DataMaskingTests/TestDatabaseDataMaskingTextRuleLifecycle.json @@ -28,16 +28,16 @@ "gateway" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14956" ], "x-ms-request-id": [ - "1d046a22-af94-4a23-9cdf-6f17f8876df9" + "10c0e762-8bc1-4f8b-b5e8-9ebdaed5f471" ], "x-ms-correlation-request-id": [ - "1d046a22-af94-4a23-9cdf-6f17f8876df9" + "10c0e762-8bc1-4f8b-b5e8-9ebdaed5f471" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102550Z:1d046a22-af94-4a23-9cdf-6f17f8876df9" + "WESTEUROPE:20150522T085731Z:10c0e762-8bc1-4f8b-b5e8-9ebdaed5f471" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -46,7 +46,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:50 GMT" + "Fri, 22 May 2015 08:57:31 GMT" ] }, "StatusCode": 404 @@ -82,16 +82,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1189" ], "x-ms-request-id": [ - "1e764a98-7bb7-47c9-b2e1-865adb06a6f4" + "7ddefe05-0166-42ea-a2df-f21d35e5978d" ], "x-ms-correlation-request-id": [ - "1e764a98-7bb7-47c9-b2e1-865adb06a6f4" + "7ddefe05-0166-42ea-a2df-f21d35e5978d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102552Z:1e764a98-7bb7-47c9-b2e1-865adb06a6f4" + "WESTEUROPE:20150522T085732Z:7ddefe05-0166-42ea-a2df-f21d35e5978d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:52 GMT" + "Fri, 22 May 2015 08:57:32 GMT" ] }, "StatusCode": 201 @@ -121,7 +121,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:25:53.7173632Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"0b8a85d5-b03f-4d2f-84bc-4a97af67129c\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:57:33.6571006Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"7912822d-093e-4d34-8f14-e906a207c9bb\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1632" @@ -136,16 +136,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1188" ], "x-ms-request-id": [ - "0b8a85d5-b03f-4d2f-84bc-4a97af67129c" + "7912822d-093e-4d34-8f14-e906a207c9bb" ], "x-ms-correlation-request-id": [ - "0b8a85d5-b03f-4d2f-84bc-4a97af67129c" + "7912822d-093e-4d34-8f14-e906a207c9bb" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102553Z:0b8a85d5-b03f-4d2f-84bc-4a97af67129c" + "WESTEUROPE:20150522T085733Z:7912822d-093e-4d34-8f14-e906a207c9bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:52 GMT" + "Fri, 22 May 2015 08:57:33 GMT" ] }, "StatusCode": 200 @@ -175,7 +175,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-04-16T10:25:55.8348548Z\",\r\n \"duration\": \"PT1.2716072S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:57:35.1821941Z\",\r\n \"duration\": \"PT0.7942359S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1640" @@ -190,16 +190,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1187" ], "x-ms-request-id": [ - "4ea02620-905f-42fc-b1ca-295586135293" + "63c85d93-6d9e-460a-b549-55145bbaeeb9" ], "x-ms-correlation-request-id": [ - "4ea02620-905f-42fc-b1ca-295586135293" + "63c85d93-6d9e-460a-b549-55145bbaeeb9" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102556Z:4ea02620-905f-42fc-b1ca-295586135293" + "WESTEUROPE:20150522T085735Z:63c85d93-6d9e-460a-b549-55145bbaeeb9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,7 +208,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:55 GMT" + "Fri, 22 May 2015 08:57:35 GMT" ] }, "StatusCode": 201 @@ -238,16 +238,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "14955" ], "x-ms-request-id": [ - "8b27742c-3d3a-41c4-83b5-fb8b2d484ef2" + "930c6bac-bafb-477c-aa66-c0d2605c978f" ], "x-ms-correlation-request-id": [ - "8b27742c-3d3a-41c4-83b5-fb8b2d484ef2" + "930c6bac-bafb-477c-aa66-c0d2605c978f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102557Z:8b27742c-3d3a-41c4-83b5-fb8b2d484ef2" + "WESTEUROPE:20150522T085736Z:930c6bac-bafb-477c-aa66-c0d2605c978f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -256,7 +256,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:56 GMT" + "Fri, 22 May 2015 08:57:36 GMT" ] }, "StatusCode": 200 @@ -286,64 +286,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" - ], - "x-ms-request-id": [ - "58e97bb5-8253-4cfe-bc2f-999372a06e97" - ], - "x-ms-correlation-request-id": [ - "58e97bb5-8253-4cfe-bc2f-999372a06e97" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102600Z:58e97bb5-8253-4cfe-bc2f-999372a06e97" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:26:00 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzYwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:02.7353587Z\",\r\n \"duration\": \"PT5.2234718S\",\r\n \"trackingId\": \"9a8ed1c1-cb55-43dc-b3e3-631af38a9357\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "663" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "14953" ], "x-ms-request-id": [ - "44295d8f-7812-4b80-bbba-c05565c7b6a5" + "966839df-f758-4907-a31f-04743e16e90f" ], "x-ms-correlation-request-id": [ - "44295d8f-7812-4b80-bbba-c05565c7b6a5" + "966839df-f758-4907-a31f-04743e16e90f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102603Z:44295d8f-7812-4b80-bbba-c05565c7b6a5" + "WESTEUROPE:20150522T085739Z:966839df-f758-4907-a31f-04743e16e90f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -352,7 +304,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:02 GMT" + "Fri, 22 May 2015 08:57:39 GMT" ] }, "StatusCode": 200 @@ -367,10 +319,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:02.7353587Z\",\r\n \"duration\": \"PT5.2234718S\",\r\n \"trackingId\": \"9a8ed1c1-cb55-43dc-b3e3-631af38a9357\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Length": [ - "663" + "12" ], "Content-Type": [ "application/json; charset=utf-8" @@ -382,16 +334,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "14951" ], "x-ms-request-id": [ - "6bff9af1-e7b5-43b8-8694-317862cb3c5e" + "962f4e40-c4d8-483a-9cdb-4c533980d055" ], "x-ms-correlation-request-id": [ - "6bff9af1-e7b5-43b8-8694-317862cb3c5e" + "962f4e40-c4d8-483a-9cdb-4c533980d055" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102606Z:6bff9af1-e7b5-43b8-8694-317862cb3c5e" + "WESTEUROPE:20150522T085742Z:962f4e40-c4d8-483a-9cdb-4c533980d055" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -400,7 +352,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:06 GMT" + "Fri, 22 May 2015 08:57:42 GMT" ] }, "StatusCode": 200 @@ -415,7 +367,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:02.7353587Z\",\r\n \"duration\": \"PT5.2234718S\",\r\n \"trackingId\": \"9a8ed1c1-cb55-43dc-b3e3-631af38a9357\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:57:43.7607903Z\",\r\n \"duration\": \"PT6.8406363S\",\r\n \"trackingId\": \"67fd45f3-3cd6-46f9-96fe-9b0e6bf3d9c6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ "663" @@ -430,16 +382,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31990" + "14949" ], "x-ms-request-id": [ - "56fb408f-6aa1-4813-8aae-d7713ccb6c9c" + "35b1baa8-580e-4a0d-8f29-6dc9ece871a5" ], "x-ms-correlation-request-id": [ - "56fb408f-6aa1-4813-8aae-d7713ccb6c9c" + "35b1baa8-580e-4a0d-8f29-6dc9ece871a5" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102609Z:56fb408f-6aa1-4813-8aae-d7713ccb6c9c" + "WESTEUROPE:20150522T085745Z:35b1baa8-580e-4a0d-8f29-6dc9ece871a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -448,7 +400,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:08 GMT" + "Fri, 22 May 2015 08:57:45 GMT" ] }, "StatusCode": 200 @@ -463,7 +415,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:02.7353587Z\",\r\n \"duration\": \"PT5.2234718S\",\r\n \"trackingId\": \"9a8ed1c1-cb55-43dc-b3e3-631af38a9357\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:57:43.7607903Z\",\r\n \"duration\": \"PT6.8406363S\",\r\n \"trackingId\": \"67fd45f3-3cd6-46f9-96fe-9b0e6bf3d9c6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ "663" @@ -478,16 +430,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31988" + "14947" ], "x-ms-request-id": [ - "1d3f0e87-29bc-41c9-91d6-7075db599ac2" + "30173630-a0dc-413c-b2f3-d275ffb2520d" ], "x-ms-correlation-request-id": [ - "1d3f0e87-29bc-41c9-91d6-7075db599ac2" + "30173630-a0dc-413c-b2f3-d275ffb2520d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102612Z:1d3f0e87-29bc-41c9-91d6-7075db599ac2" + "WESTEUROPE:20150522T085748Z:30173630-a0dc-413c-b2f3-d275ffb2520d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,7 +448,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:11 GMT" + "Fri, 22 May 2015 08:57:48 GMT" ] }, "StatusCode": 200 @@ -511,58 +463,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/4271476F5298689C\",\r\n \"operationId\": \"4271476F5298689C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:12.3134175Z\",\r\n \"duration\": \"PT9.5097269S\",\r\n \"trackingId\": \"36436f2e-7125-4961-b450-8065ef8634e7\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:02.7353587Z\",\r\n \"duration\": \"PT5.2234718S\",\r\n \"trackingId\": \"9a8ed1c1-cb55-43dc-b3e3-631af38a9357\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1379" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31986" - ], - "x-ms-request-id": [ - "365f81db-9fe2-4b91-a55e-b27e1b6fcb4c" - ], - "x-ms-correlation-request-id": [ - "365f81db-9fe2-4b91-a55e-b27e1b6fcb4c" - ], - "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102615Z:365f81db-9fe2-4b91-a55e-b27e1b6fcb4c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 16 Apr 2015 10:26:15 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourcegroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlZ3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzYwMjIyL2RlcGxveW1lbnRzL3NxbC1hdWRpdC10ZXN0LWVudi1zZXR1cD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/4271476F5298689C\",\r\n \"operationId\": \"4271476F5298689C\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:57:49.5909873Z\",\r\n \"duration\": \"PT5.738174S\",\r\n \"trackingId\": \"af9b68f3-c0be-4988-9dbe-cff7f7fd05dc\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup/operations/6B0E1F2790EC67C1\",\r\n \"operationId\": \"6B0E1F2790EC67C1\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:57:43.7607903Z\",\r\n \"duration\": \"PT6.8406363S\",\r\n \"trackingId\": \"67fd45f3-3cd6-46f9-96fe-9b0e6bf3d9c6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1378" ], "Content-Type": [ "application/json; charset=utf-8" @@ -574,16 +478,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "14945" ], "x-ms-request-id": [ - "8a6ed143-c2af-40e6-ad53-d9aac67a4173" + "391d68f0-d283-4470-8251-ddc6f801ed44" ], "x-ms-correlation-request-id": [ - "8a6ed143-c2af-40e6-ad53-d9aac67a4173" + "391d68f0-d283-4470-8251-ddc6f801ed44" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102557Z:8a6ed143-c2af-40e6-ad53-d9aac67a4173" + "WESTEUROPE:20150522T085751Z:391d68f0-d283-4470-8251-ddc6f801ed44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -592,7 +496,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:25:56 GMT" + "Fri, 22 May 2015 08:57:51 GMT" ] }, "StatusCode": 200 @@ -607,10 +511,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2015-05-22T08:57:35.1821941Z\",\r\n \"duration\": \"PT0.7942359S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1638" + "1640" ], "Content-Type": [ "application/json; charset=utf-8" @@ -622,16 +526,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "14954" ], "x-ms-request-id": [ - "eb33b2be-7ee2-4582-9617-b801f649344b" + "f155c432-4660-4291-bd37-0b6df9f23bb1" ], "x-ms-correlation-request-id": [ - "eb33b2be-7ee2-4582-9617-b801f649344b" + "f155c432-4660-4291-bd37-0b6df9f23bb1" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102600Z:eb33b2be-7ee2-4582-9617-b801f649344b" + "WESTEUROPE:20150522T085736Z:f155c432-4660-4291-bd37-0b6df9f23bb1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +544,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:00 GMT" + "Fri, 22 May 2015 08:57:36 GMT" ] }, "StatusCode": 200 @@ -655,7 +559,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:57:36.8559272Z\",\r\n \"duration\": \"PT2.467969S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1638" @@ -670,16 +574,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "14952" ], "x-ms-request-id": [ - "726138f4-0973-4091-9138-98fc0a6bdffe" + "a91d9247-c47e-46ff-9722-651ee8e92309" ], "x-ms-correlation-request-id": [ - "726138f4-0973-4091-9138-98fc0a6bdffe" + "a91d9247-c47e-46ff-9722-651ee8e92309" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102603Z:726138f4-0973-4091-9138-98fc0a6bdffe" + "WESTEUROPE:20150522T085739Z:a91d9247-c47e-46ff-9722-651ee8e92309" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,7 +592,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:03 GMT" + "Fri, 22 May 2015 08:57:39 GMT" ] }, "StatusCode": 200 @@ -703,7 +607,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:57:36.8559272Z\",\r\n \"duration\": \"PT2.467969S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1638" @@ -718,16 +622,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "14950" ], "x-ms-request-id": [ - "6f6629d9-15c5-47f8-882c-372f91cb11d0" + "94375e6d-88a6-47d5-a562-7a478d4df884" ], "x-ms-correlation-request-id": [ - "6f6629d9-15c5-47f8-882c-372f91cb11d0" + "94375e6d-88a6-47d5-a562-7a478d4df884" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102606Z:6f6629d9-15c5-47f8-882c-372f91cb11d0" + "WESTEUROPE:20150522T085742Z:94375e6d-88a6-47d5-a562-7a478d4df884" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +640,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:06 GMT" + "Fri, 22 May 2015 08:57:42 GMT" ] }, "StatusCode": 200 @@ -751,7 +655,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:57:36.8559272Z\",\r\n \"duration\": \"PT2.467969S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1638" @@ -766,16 +670,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "14948" ], "x-ms-request-id": [ - "0ecd9a31-a3f8-4b23-b50a-fbe0cb0775de" + "a54b06fd-3648-4483-9531-c5df19e15f27" ], "x-ms-correlation-request-id": [ - "0ecd9a31-a3f8-4b23-b50a-fbe0cb0775de" + "a54b06fd-3648-4483-9531-c5df19e15f27" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102609Z:0ecd9a31-a3f8-4b23-b50a-fbe0cb0775de" + "WESTEUROPE:20150522T085745Z:a54b06fd-3648-4483-9531-c5df19e15f27" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -784,7 +688,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:08 GMT" + "Fri, 22 May 2015 08:57:45 GMT" ] }, "StatusCode": 200 @@ -799,7 +703,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-04-16T10:25:56.208077Z\",\r\n \"duration\": \"PT1.6448294S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2015-05-22T08:57:36.8559272Z\",\r\n \"duration\": \"PT2.467969S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1638" @@ -814,16 +718,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31987" + "14946" ], "x-ms-request-id": [ - "18d5b46b-e323-4855-bcb1-9af3c65d5d71" + "0af742dd-9842-4422-b1fa-6923c213d73f" ], "x-ms-correlation-request-id": [ - "18d5b46b-e323-4855-bcb1-9af3c65d5d71" + "0af742dd-9842-4422-b1fa-6923c213d73f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102612Z:18d5b46b-e323-4855-bcb1-9af3c65d5d71" + "WESTEUROPE:20150522T085748Z:0af742dd-9842-4422-b1fa-6923c213d73f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +736,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:11 GMT" + "Fri, 22 May 2015 08:57:48 GMT" ] }, "StatusCode": 200 @@ -847,10 +751,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-04-16T10:26:15.4610426Z\",\r\n \"duration\": \"PT20.897795S\",\r\n \"correlationId\": \"4ea02620-905f-42fc-b1ca-295586135293\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/deployments/sql-audit-test-env-setup\",\r\n \"name\": \"sql-audit-test-env-setup\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"administratorLogin\": {\r\n \"type\": \"String\",\r\n \"value\": \"testlogin\"\r\n },\r\n \"administratorLoginPassword\": {\r\n \"type\": \"SecureString\"\r\n },\r\n \"collation\": {\r\n \"type\": \"String\",\r\n \"value\": \"SQL_Latin1_General_CP1_CI_AS\"\r\n },\r\n \"databaseName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-db60222\"\r\n },\r\n \"edition\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"configuredServiceLevelObjectiveId\": {\r\n \"type\": \"String\",\r\n \"value\": \"910b4fcb-8a29-4c3e-958f-f7ba794388b2\"\r\n },\r\n \"envLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"serverName\": {\r\n \"type\": \"String\",\r\n \"value\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2015-05-22T08:57:51.4409566Z\",\r\n \"duration\": \"PT17.0529984S\",\r\n \"correlationId\": \"63c85d93-6d9e-460a-b549-55145bbaeeb9\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"resourceType\": \"Microsoft.Sql/servers/databases\",\r\n \"resourceName\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1641" + "1642" ], "Content-Type": [ "application/json; charset=utf-8" @@ -862,16 +766,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31985" + "14944" ], "x-ms-request-id": [ - "51d4f0e0-df55-47d8-8bd3-80d90b209d4e" + "62cb91f1-9397-4fa5-8e95-1880e5c8ab8f" ], "x-ms-correlation-request-id": [ - "51d4f0e0-df55-47d8-8bd3-80d90b209d4e" + "62cb91f1-9397-4fa5-8e95-1880e5c8ab8f" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102615Z:51d4f0e0-df55-47d8-8bd3-80d90b209d4e" + "WESTEUROPE:20150522T085752Z:62cb91f1-9397-4fa5-8e95-1880e5c8ab8f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +784,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:15 GMT" + "Fri, 22 May 2015 08:57:51 GMT" ] }, "StatusCode": 200 @@ -895,10 +799,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"name\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222\",\r\n \"name\": \"sql-dm-cmdlet-server60222\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"kind\": \"v2.0\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222\",\r\n \"name\": \"sql-dm-cmdlet-server60222/sql-dm-cmdlet-db60222\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"kind\": \"v2.0,user\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "322" + "602" ], "Content-Type": [ "application/json; charset=utf-8" @@ -910,16 +814,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31984" + "14943" ], "x-ms-request-id": [ - "3cb23cd9-eb65-4db9-b245-dc1b15c5cdfc" + "f463edb9-27c4-4908-bfec-e77353b9252a" ], "x-ms-correlation-request-id": [ - "3cb23cd9-eb65-4db9-b245-dc1b15c5cdfc" + "f463edb9-27c4-4908-bfec-e77353b9252a" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102617Z:3cb23cd9-eb65-4db9-b245-dc1b15c5cdfc" + "WESTEUROPE:20150522T085754Z:f463edb9-27c4-4908-bfec-e77353b9252a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -928,7 +832,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:17 GMT" + "Fri, 22 May 2015 08:57:53 GMT" ] }, "StatusCode": 200 @@ -961,16 +865,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "northeurope:b818c50e-c26d-4628-819a-11474b6dbb7e" + "westeurope:59177473-7913-4b32-87a7-822f23bdd5ca" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14983" ], "x-ms-correlation-request-id": [ - "c60d3939-c8b4-4731-8341-0026ee84fb03" + "02735dc0-e06b-4d3d-9e82-7e4c126ae41d" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102619Z:c60d3939-c8b4-4731-8341-0026ee84fb03" + "WESTEUROPE:20150522T085755Z:02735dc0-e06b-4d3d-9e82-7e4c126ae41d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -979,7 +883,7 @@ "no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:19 GMT" + "Fri, 22 May 2015 08:57:54 GMT" ] }, "StatusCode": 200 @@ -994,7 +898,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "f5520f55-6fde-41c0-b0c9-6f054bd33f69" + "69ed9a7c-2830-4f60-b606-4adb933af831" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": \"\",\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1006,7 +910,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "98f2aae2-1b11-4d6e-94fd-22988c75cff4" + "89782582-c101-4445-b6bc-fc3dce5e9cba" ], "X-Content-Type-Options": [ "nosniff" @@ -1015,13 +919,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31999" + "14998" ], "x-ms-correlation-request-id": [ - "4b1fffb5-9ff0-4144-ad0d-0b72268331f2" + "9fbee3a4-3280-4820-a430-fb5b34b7551a" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102621Z:4b1fffb5-9ff0-4144-ad0d-0b72268331f2" + "WESTEUROPE:20150522T085757Z:9fbee3a4-3280-4820-a430-fb5b34b7551a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1030,7 +934,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:20 GMT" + "Fri, 22 May 2015 08:57:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1054,7 +958,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "f5520f55-6fde-41c0-b0c9-6f054bd33f69" + "69ed9a7c-2830-4f60-b606-4adb933af831" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"dataMaskingState\": \"Disabled\",\r\n \"applicationPrincipals\": null,\r\n \"exemptPrincipals\": \"\",\r\n \"maskingLevel\": \"Relaxed\"\r\n }\r\n}", @@ -1066,7 +970,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "2df615a8-f6ef-4708-8715-340c2d180b0b" + "bd1dffa2-72bd-4ec7-b837-5a84320435d8" ], "X-Content-Type-Options": [ "nosniff" @@ -1081,10 +985,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "1a2cad28-95d7-44fd-9a08-c3b209d789ec" + "a8dfe2ec-d8a4-4e28-b93d-78dc014cd080" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102623Z:1a2cad28-95d7-44fd-9a08-c3b209d789ec" + "WESTEUROPE:20150522T085759Z:a8dfe2ec-d8a4-4e28-b93d-78dc014cd080" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1093,7 +997,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:23 GMT" + "Fri, 22 May 2015 08:57:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1111,7 +1015,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "9b41d9bf-9bbe-4418-9b58-23e0a60321d0" + "4e9fb0eb-82a4-4154-99f7-d40f40bac0f8" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1123,7 +1027,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "3499539a-428f-4128-80e9-30983f4d90de" + "37d771e9-105e-43ab-be00-b82b40e867b7" ], "X-Content-Type-Options": [ "nosniff" @@ -1132,13 +1036,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31998" + "14997" ], "x-ms-correlation-request-id": [ - "80377ccc-ca65-4486-97c7-440c64214f47" + "f7bbd17d-f0ce-48eb-874f-150cab0a13e9" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102624Z:80377ccc-ca65-4486-97c7-440c64214f47" + "WESTEUROPE:20150522T085800Z:f7bbd17d-f0ce-48eb-874f-150cab0a13e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1147,7 +1051,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:24 GMT" + "Fri, 22 May 2015 08:58:00 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1165,7 +1069,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "7bb44dbe-a37f-4ea5-a2d8-aff142796643" + "19095ea9-83ad-4a06-872a-8fce543d8ea6" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1177,7 +1081,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "13910079-c3ed-40ae-840e-a82124244128" + "91fb6278-e67c-49c4-959f-b7ff9e57ea5e" ], "X-Content-Type-Options": [ "nosniff" @@ -1186,13 +1090,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" + "14996" ], "x-ms-correlation-request-id": [ - "5f5d7d5e-298c-4e81-93c3-67d35a1c0a20" + "24646338-a446-4611-8439-7cf76bf90865" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102626Z:5f5d7d5e-298c-4e81-93c3-67d35a1c0a20" + "WESTEUROPE:20150522T085802Z:24646338-a446-4611-8439-7cf76bf90865" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1201,7 +1105,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:25 GMT" + "Fri, 22 May 2015 08:58:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1219,7 +1123,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "d329d42b-b356-4e14-8163-86f00eecebd5" + "de761191-5350-4d2b-8f7e-3892cab2ee95" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText\",\r\n \"columnName\": \"ColumnText\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"1\",\r\n \"suffixSize\": \"3\",\r\n \"replacementString\": \"AAA\"\r\n }\r\n }\r\n ]\r\n}", @@ -1231,7 +1135,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "462e838f-d93a-45f2-90e6-e28d5d572a23" + "b5df32b2-15f5-424d-b182-0214b0f6486d" ], "X-Content-Type-Options": [ "nosniff" @@ -1240,13 +1144,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "14995" ], "x-ms-correlation-request-id": [ - "62cdba29-04de-4be0-b464-7e011b60218b" + "06c3fc6a-626e-4936-97f0-092887c5f9b5" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102629Z:62cdba29-04de-4be0-b464-7e011b60218b" + "WESTEUROPE:20150522T085805Z:06c3fc6a-626e-4936-97f0-092887c5f9b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1255,7 +1159,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:29 GMT" + "Fri, 22 May 2015 08:58:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1273,7 +1177,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4a79e850-413b-45cc-a132-279c37ac4dd6" + "af9833e6-d486-4971-ad69-09c49b951ad9" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText\",\r\n \"columnName\": \"ColumnText\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"1\",\r\n \"suffixSize\": \"3\",\r\n \"replacementString\": \"AAA\"\r\n }\r\n }\r\n ]\r\n}", @@ -1285,7 +1189,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "fbb081ac-c574-4498-a65a-d10957dd21f6" + "d3d52a02-1e3c-48fa-8cb7-5742af4f642b" ], "X-Content-Type-Options": [ "nosniff" @@ -1294,13 +1198,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "14994" ], "x-ms-correlation-request-id": [ - "56136b59-bb68-44a5-920f-7a1ff5b20240" + "0000645f-d611-4f29-84ba-c821883b5a26" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102630Z:56136b59-bb68-44a5-920f-7a1ff5b20240" + "WESTEUROPE:20150522T085806Z:0000645f-d611-4f29-84ba-c821883b5a26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1309,7 +1213,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:30 GMT" + "Fri, 22 May 2015 08:58:06 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1327,7 +1231,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "89a04289-c6f5-475f-b218-cb22fc0a4cd8" + "394e6b37-e338-442b-99f0-32d15532b895" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText\",\r\n \"columnName\": \"ColumnText\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"1\",\r\n \"suffixSize\": \"3\",\r\n \"replacementString\": \"AAA\"\r\n }\r\n }\r\n ]\r\n}", @@ -1339,7 +1243,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "4fde6762-387d-41fd-a0c7-d04c5f90457b" + "cec43247-65da-41c1-a54e-61706203fda4" ], "X-Content-Type-Options": [ "nosniff" @@ -1348,13 +1252,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "14993" ], "x-ms-correlation-request-id": [ - "49fc6b6f-01ec-4df2-9d2b-b1a3f71770d6" + "45df3a91-3a95-49fd-85a4-a61f9051f420" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102632Z:49fc6b6f-01ec-4df2-9d2b-b1a3f71770d6" + "WESTEUROPE:20150522T085808Z:45df3a91-3a95-49fd-85a4-a61f9051f420" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1363,7 +1267,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:31 GMT" + "Fri, 22 May 2015 08:58:07 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1381,19 +1285,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "7ac08332-0c62-4150-b2d8-613b24106fa1" + "36a65927-53d2-4930-9662-935fb43efa1f" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasText\",\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText1\",\r\n \"columnName\": \"ColumnText1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "570" + "580" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "9054b4b7-fd63-429d-a009-7c72645f0eed" + "30a4f7ff-ffc2-497d-9a35-2dec70d0596a" ], "X-Content-Type-Options": [ "nosniff" @@ -1402,13 +1306,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "14992" ], "x-ms-correlation-request-id": [ - "ecaf840a-92d8-4045-87f2-0b653cc83b88" + "b8d9a8e4-7d41-4011-8ca3-c48e2c04c9e1" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102635Z:ecaf840a-92d8-4045-87f2-0b653cc83b88" + "WESTEUROPE:20150522T085811Z:b8d9a8e4-7d41-4011-8ca3-c48e2c04c9e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1417,7 +1321,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:35 GMT" + "Fri, 22 May 2015 08:58:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1435,19 +1339,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "4de57fe3-688a-415b-b597-724cc5bd52a8" + "565720ff-936a-4e80-a941-8c90b574ab45" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasText\",\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText1\",\r\n \"columnName\": \"ColumnText1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "570" + "580" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "c6d4fce7-ce9d-4949-829a-28dd305f7f01" + "616bf3c6-f65d-4683-bf47-c85f70e46fb0" ], "X-Content-Type-Options": [ "nosniff" @@ -1456,13 +1360,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "14991" ], "x-ms-correlation-request-id": [ - "38d6938f-4a84-42a0-849a-f3ec25b99f5a" + "230adfba-2fdc-4b25-bdf0-255115745ef6" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102637Z:38d6938f-4a84-42a0-849a-f3ec25b99f5a" + "WESTEUROPE:20150522T085812Z:230adfba-2fdc-4b25-bdf0-255115745ef6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1471,7 +1375,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:36 GMT" + "Fri, 22 May 2015 08:58:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1489,19 +1393,19 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "de2e2959-54b2-4ef1-87bc-80daac9e63ca" + "4a89a92d-2182-443f-98af-be5af61e1c8e" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasText\",\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText1\",\r\n \"columnName\": \"ColumnText1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "570" + "580" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "16ad8dc7-81a5-4b7d-a961-00ee616ceddc" + "7d74ffff-2661-4043-a8d9-819fc6b51cb6" ], "X-Content-Type-Options": [ "nosniff" @@ -1510,13 +1414,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "14990" ], "x-ms-correlation-request-id": [ - "77e74bc1-f4b0-4451-b234-98aa3b769551" + "c70d456d-b012-41e6-a0d8-8847f8ff57ff" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102638Z:77e74bc1-f4b0-4451-b234-98aa3b769551" + "WESTEUROPE:20150522T085814Z:c70d456d-b012-41e6-a0d8-8847f8ff57ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1525,7 +1429,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:37 GMT" + "Fri, 22 May 2015 08:58:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1543,7 +1447,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "14fcb855-8414-4f85-a80c-95bd4715a2cd" + "4f64cae6-598d-4da8-9176-91e49d9e9712" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1555,7 +1459,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "5e2eb943-82a9-4dfb-9c26-3cc9bab9da05" + "e2e31838-5157-40a0-aebc-9ea796a5778b" ], "X-Content-Type-Options": [ "nosniff" @@ -1564,13 +1468,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31990" + "14989" ], "x-ms-correlation-request-id": [ - "d4087bfc-75ac-424f-b802-2bc6f0aef63a" + "069161d4-d48d-4def-9b64-10b80a5ba060" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102643Z:d4087bfc-75ac-424f-b802-2bc6f0aef63a" + "WESTEUROPE:20150522T085817Z:069161d4-d48d-4def-9b64-10b80a5ba060" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1579,7 +1483,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:43 GMT" + "Fri, 22 May 2015 08:58:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1597,7 +1501,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "975c7397-cc44-4d90-acb5-1b48d1936155" + "66b6bb8a-18ce-4082-b6d8-e5444d06bf19" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", @@ -1609,7 +1513,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "ce9ba68c-e996-4486-8bfd-e1b10d9e0a43" + "03a493c2-6717-4499-addc-21de3d220dfc" ], "X-Content-Type-Options": [ "nosniff" @@ -1618,13 +1522,13 @@ "3.0;" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "14988" ], "x-ms-correlation-request-id": [ - "19d31a94-291f-4200-9534-5f9306b9b00f" + "8e5dd49c-c37e-46b1-b265-2817f156e71e" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102644Z:19d31a94-291f-4200-9534-5f9306b9b00f" + "WESTEUROPE:20150522T085818Z:8e5dd49c-c37e-46b1-b265-2817f156e71e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1633,7 +1537,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:44 GMT" + "Fri, 22 May 2015 08:58:17 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1657,7 +1561,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "7bb44dbe-a37f-4ea5-a2d8-aff142796643" + "19095ea9-83ad-4a06-872a-8fce543d8ea6" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText\",\r\n \"columnName\": \"ColumnText\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"1\",\r\n \"suffixSize\": \"3\",\r\n \"replacementString\": \"AAA\"\r\n }\r\n}", @@ -1669,7 +1573,7 @@ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "4dcc0a42-43af-4b52-93cc-20601e22df6b" + "7cf918b4-e4a7-4389-95e9-e86aba84dcfd" ], "X-Content-Type-Options": [ "nosniff" @@ -1684,10 +1588,10 @@ "1198" ], "x-ms-correlation-request-id": [ - "2a4203cd-14e8-4038-aa6f-e9c2215ca117" + "33e093c4-90c1-4ad1-93f4-3b1183d12a24" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102627Z:2a4203cd-14e8-4038-aa6f-e9c2215ca117" + "WESTEUROPE:20150522T085803Z:33e093c4-90c1-4ad1-93f4-3b1183d12a24" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1696,7 +1600,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:27 GMT" + "Fri, 22 May 2015 08:58:03 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1708,31 +1612,31 @@ "RequestUri": "/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3?api-version=2014-04-01", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2NhMjRlYzgtOTliNS00YWE3LTlmZjYtNDg2ZTg4NmYzMDRjL3Jlc291cmNlR3JvdXBzL3NxbC1kbS1jbWRsZXQtdGVzdC1yZzYwMjIyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvc3FsLWRtLWNtZGxldC1zZXJ2ZXI2MDIyMi9kYXRhYmFzZXMvc3FsLWRtLWNtZGxldC1kYjYwMjIyL2RhdGFNYXNraW5nUG9saWNpZXMvRGVmYXVsdC9ydWxlcy9ydWxlMz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"aliasName\": \"AliasText\",\r\n \"maskingFunction\": \"Text\",\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"tableName\": \"TableText1\",\r\n \"columnName\": \"ColumnText1\",\r\n \"maskingFunction\": \"Text\",\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "191" + "226" ], "User-Agent": [ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "89a04289-c6f5-475f-b218-cb22fc0a4cd8" + "394e6b37-e338-442b-99f0-32d15532b895" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": null,\r\n \"columnName\": null,\r\n \"aliasName\": \"AliasText\",\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cca24ec8-99b5-4aa7-9ff6-486e886f304c/resourceGroups/sql-dm-cmdlet-test-rg60222/providers/Microsoft.Sql/servers/sql-dm-cmdlet-server60222/databases/sql-dm-cmdlet-db60222/dataMaskingPolicies/Default/rules/rule3\",\r\n \"name\": \"rule3\",\r\n \"type\": \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules\",\r\n \"location\": null,\r\n \"properties\": {\r\n \"id\": \"rule3\",\r\n \"ruleState\": null,\r\n \"tableName\": \"TableText1\",\r\n \"columnName\": \"ColumnText1\",\r\n \"aliasName\": null,\r\n \"maskingFunction\": \"Text\",\r\n \"numberFrom\": null,\r\n \"numberTo\": null,\r\n \"prefixSize\": \"4\",\r\n \"suffixSize\": \"2\",\r\n \"replacementString\": \"BBB\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "553" + "563" ], "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], "x-ms-request-id": [ - "65ee1e1d-f611-4330-a989-b5490f23ef17" + "f5b053cd-fe2c-4e9f-80fd-47f1739c0308" ], "X-Content-Type-Options": [ "nosniff" @@ -1747,10 +1651,10 @@ "1197" ], "x-ms-correlation-request-id": [ - "b1164565-aa3c-499b-82c3-bb5b9364bcce" + "0367cb9e-ba2e-431f-89f5-13b0da5995c0" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102634Z:b1164565-aa3c-499b-82c3-bb5b9364bcce" + "WESTEUROPE:20150522T085809Z:0367cb9e-ba2e-431f-89f5-13b0da5995c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1759,7 +1663,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:34 GMT" + "Fri, 22 May 2015 08:58:09 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1777,7 +1681,7 @@ "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" ], "x-ms-client-request-id": [ - "de2e2959-54b2-4ef1-87bc-80daac9e63ca" + "4a89a92d-2182-443f-98af-be5af61e1c8e" ] }, "ResponseBody": "", @@ -1786,7 +1690,7 @@ "0" ], "x-ms-request-id": [ - "1db54a26-581f-4302-97b1-fc1c5fab34e2" + "8f445863-1e93-4a60-8f4b-f8c2b00723f0" ], "X-Content-Type-Options": [ "nosniff" @@ -1798,10 +1702,10 @@ "1196" ], "x-ms-correlation-request-id": [ - "81b637ea-254f-4e60-b9e9-917bf30ae608" + "9f35d291-e13d-4d7b-8501-1cb1dec41bb5" ], "x-ms-routing-request-id": [ - "NORTHEUROPE:20150416T102642Z:81b637ea-254f-4e60-b9e9-917bf30ae608" + "WESTEUROPE:20150522T085815Z:9f35d291-e13d-4d7b-8501-1cb1dec41bb5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1810,7 +1714,7 @@ "no-store, no-cache" ], "Date": [ - "Thu, 16 Apr 2015 10:26:42 GMT" + "Fri, 22 May 2015 08:58:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDatabaseServerAttributeTests.cs b/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDatabaseServerAttributeTests.cs index 35c97b00a2cf..3781f14bae93 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDatabaseServerAttributeTests.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDatabaseServerAttributeTests.cs @@ -31,7 +31,7 @@ public void NewAzureSqlServerAttributes() UnitTestHelper.CheckConfirmImpact(type, System.Management.Automation.ConfirmImpact.Low); UnitTestHelper.CheckCmdletParameterAttributes(type, "ServerName", isMandatory: true, valueFromPipelineByName: false); - UnitTestHelper.CheckCmdletParameterAttributes(type, "SqlAdminCredentials", isMandatory: true, valueFromPipelineByName: false); + UnitTestHelper.CheckCmdletParameterAttributes(type, "SqlAdministratorCredentials", isMandatory: true, valueFromPipelineByName: false); UnitTestHelper.CheckCmdletParameterAttributes(type, "Tags", isMandatory: false, valueFromPipelineByName: false); UnitTestHelper.CheckCmdletParameterAttributes(type, "ServerVersion", isMandatory: false, valueFromPipelineByName: false); } @@ -45,7 +45,7 @@ public void SetAzureSqlServerAttributes() UnitTestHelper.CheckConfirmImpact(type, System.Management.Automation.ConfirmImpact.Medium); UnitTestHelper.CheckCmdletParameterAttributes(type, "ServerName", isMandatory: true, valueFromPipelineByName: true); - UnitTestHelper.CheckCmdletParameterAttributes(type, "SqlAdminPassword", isMandatory: false, valueFromPipelineByName: false); + UnitTestHelper.CheckCmdletParameterAttributes(type, "SqlAdministratorPassword", isMandatory: false, valueFromPipelineByName: false); UnitTestHelper.CheckCmdletParameterAttributes(type, "Tags", isMandatory: false, valueFromPipelineByName: false); UnitTestHelper.CheckCmdletParameterAttributes(type, "ServerVersion", isMandatory: false, valueFromPipelineByName: false); } diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index fdb9d37c0801..9021210b4142 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -118,14 +118,14 @@ - + - - + + - + diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/AzureSqlDatabaseActivityCmdletBase.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/AzureSqlDatabaseActivityCmdletBase.cs index 904e18d9fa7c..87723b27d302 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/AzureSqlDatabaseActivityCmdletBase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/AzureSqlDatabaseActivityCmdletBase.cs @@ -37,7 +37,7 @@ public abstract class AzureSqlDatabaseActivityCmdletBase /// /// Gets or sets the name of the ElasticPool to use. /// - [Parameter(Mandatory = false, + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Azure SQL Elastic Pool.")] [ValidateNotNullOrEmpty] @@ -46,7 +46,7 @@ public abstract class AzureSqlDatabaseActivityCmdletBase /// /// Gets or sets the name of the ElasticPool to use. /// - [Parameter(Mandatory = false, + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Azure SQL Database.")] [ValidateNotNullOrEmpty] diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs index 2c74ba566248..1459710a0d6b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs @@ -85,7 +85,7 @@ public class AzureSqlDatabaseModel /// /// Gets or sets the current service objective name /// - public string CurrentServiceLevelObjectiveName { get; set; } + public string CurrentServiceObjectiveName { get; set; } /// /// gets or sets the requested service objective ID diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Services/AzureSqlDatabaseAdapter.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Services/AzureSqlDatabaseAdapter.cs index 2c27122cd794..c0edf672cb05 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Services/AzureSqlDatabaseAdapter.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Services/AzureSqlDatabaseAdapter.cs @@ -14,10 +14,12 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.Linq; using Microsoft.Azure.Commands.Sql.Common; using Microsoft.Azure.Commands.Sql.Database.Model; using Microsoft.Azure.Commands.Sql.ElasticPool.Services; +using Microsoft.Azure.Commands.Sql.Properties; using Microsoft.Azure.Commands.Sql.Server.Adapter; using Microsoft.Azure.Commands.Sql.Services; using Microsoft.Azure.Common.Authentication.Models; @@ -160,7 +162,7 @@ public static AzureSqlDatabaseModel CreateDatabaseModelFromResponse(string resou model.ServerName = serverName; model.CollationName = database.Properties.Collation; model.CreationDate = database.Properties.CreationDate; - model.CurrentServiceLevelObjectiveName = database.Properties.ServiceObjective; + model.CurrentServiceObjectiveName = database.Properties.ServiceObjective; model.MaxSizeBytes = database.Properties.MaxSizeBytes; model.DatabaseName = database.Name; model.Status = database.Properties.Status; @@ -185,12 +187,10 @@ public static AzureSqlDatabaseModel CreateDatabaseModelFromResponse(string resou internal IEnumerable ListDatabaseActivity(string resourceGroupName, string serverName, string elasticPoolName, string databaseName, Guid? operationId) { - List list = new List(); - if(!string.IsNullOrEmpty(elasticPoolName)) { var response = ElasticPoolCommunicator.ListDatabaseActivity(resourceGroupName, serverName, elasticPoolName, Util.GenerateTracingId()); - list = response.Select((r) => + IEnumerable< AzureSqlDatabaseActivityModel> list = response.Select((r) => { return new AzureSqlDatabaseActivityModel() { @@ -219,14 +219,20 @@ internal IEnumerable ListDatabaseActivity(string } } }; - }).ToList(); + }); + + // Check if we have a database name constraint + if (!string.IsNullOrEmpty(databaseName)) + { + list = list.Where(pl => string.Equals(pl.DatabaseName, databaseName, StringComparison.OrdinalIgnoreCase)); + } + + return list.ToList(); } else { - + throw new NotSupportedException(string.Format(CultureInfo.InvariantCulture, Resources.StandaloneDatabaseActivityNotSupported)); } - - return list; } } } diff --git a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs index 16b53ef2708c..7fae7ec81fad 100644 --- a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs @@ -81,8 +81,8 @@ public class RemoveAzureSqlServerFirewallRule : AzureSqlServerFirewallRuleCmdlet public override void ExecuteCmdlet() { if (!Force.IsPresent && !ShouldProcess( - string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlDatabaseServerFirewallRuleDescription, this.FirewallRuleName, this.ServerName), - string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlDatabaseServerFirewallRuleWarning, this.FirewallRuleName, this.ServerName), + string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlServerFirewallRuleDescription, this.FirewallRuleName, this.ServerName), + string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlServerFirewallRuleWarning, this.FirewallRuleName, this.ServerName), Resources.ShouldProcessCaption)) { return; diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 index f6ee542d13a7..fbd08887e8a9 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.psd1 @@ -74,7 +74,7 @@ CmdletsToExport = '*' VariablesToExport = '*' # Aliases to export from this module -AliasesToExport = @() +AliasesToExport = '*' # List of all modules packaged with this module ModuleList = @() diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml index 2fef0d882c03..59e872ee6679 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml @@ -1472,7 +1472,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlDatabaseServerAuditingPolicy + Get-AzureSqlServerAuditingPolicy Gets an Azure SQL Server's auditing policy. @@ -1480,18 +1480,18 @@ Switch-AzureMode –Name AzureResourceManager Get - AzureSqlDatabaseServerAuditingPolicy + AzureSqlServerAuditingPolicy - The Get-AzureSqlDatabaseServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL Server. To use the cmdlet, use the ResourceGroupName and the ServerName parameters to identify the database server. + The Get-AzureSqlServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL Server. To use the cmdlet, use the ResourceGroupName and the ServerName parameters to identify the database server. Note: This cmdlet can only be executed in Azure Resource Manager mode. To enable Azure Resource Manager mode run the following command: Switch-AzureMode –Name AzureResourceManager For more information, see Using Windows PowerShell with Resource Manager. - Get-AzureSqlDatabaseServerAuditingPolicy + Get-AzureSqlServerAuditingPolicy ServerName @@ -1591,7 +1591,7 @@ Switch-AzureMode –Name AzureResourceManager PS C:\> - PS C:\>Get-AzureSqlDatabaseServerAuditingPolicy –ResourceGroupName "resourcegroup1" –ServerName "server1" + PS C:\>Get-AzureSqlServerAuditingPolicy –ResourceGroupName "resourcegroup1" –ServerName "server1" The following example returns the auditing policy for "server1". @@ -1621,7 +1621,7 @@ Switch-AzureMode –Name AzureResourceManager - Remove-AzureSqlDatabaseServerAuditing + Remove-AzureSqlServerAuditing @@ -1629,11 +1629,11 @@ Switch-AzureMode –Name AzureResourceManager - Set-AzureSqlDatabaseServerAuditingPolicy + Set-AzureSqlServerAuditingPolicy - Use-AzureSqlDatabaseServerAuditingPolicy + Use-AzureSqlServerAuditingPolicy @@ -2351,7 +2351,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity @@ -2559,7 +2559,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity @@ -4702,7 +4702,7 @@ For the current preview, the edition must be "Standard". - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity @@ -5841,7 +5841,7 @@ Switch-AzureMode –Name AzureResourceManager - Remove-AzureSqlDatabaseServerAuditing + Remove-AzureSqlServerAuditing Disables auditing of all the databases that rely on the auditing policy of the given database server. @@ -5853,14 +5853,14 @@ Switch-AzureMode –Name AzureResourceManager - The Remove-AzureSqlDatabaseServerAuditing cmdlet disables auditing of all the databases that rely on the auditing policy of the given database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server. After the successful execution of the cmdlet, auditing of the database is disabled. If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing policy used as well as the database server identifiers (i.e. ResourceGroupName and ServerName) + The Remove-AzureSqlServerAuditing cmdlet disables auditing of all the databases that rely on the auditing policy of the given database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server. After the successful execution of the cmdlet, auditing of the database is disabled. If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing policy used as well as the database server identifiers (i.e. ResourceGroupName and ServerName) Note: This cmdlet can only be executed in Azure Resource Manager mode. To enable Azure Resource Manager mode run the following command: Switch-AzureMode –Name AzureResourceManager For more information, see Using Windows PowerShell with Resource Manager. - Remove-AzureSqlDatabaseServerAuditing + Remove-AzureSqlServerAuditing PassThru @@ -5979,7 +5979,7 @@ Switch-AzureMode –Name AzureResourceManager PS C:\> - PS C:\>Get-Help Remove-AzureSqlDatabaseServerAuditing -Full + PS C:\>Get-Help Remove-AzureSqlServerAuditing -Full Code Example Description @@ -6235,7 +6235,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity @@ -7946,7 +7946,7 @@ Switch-AzureMode –Name AzureResourceManager - Set-AzureSqlDatabaseServerAuditingPolicy + Set-AzureSqlServerAuditingPolicy Sets an Azure SQL Database server's auditing policy. @@ -7954,18 +7954,18 @@ Switch-AzureMode –Name AzureResourceManager Set - AzureSqlDatabaseServerAuditingPolicy + AzureSqlServerAuditingPolicy - The Set-AzureSqlDatabaseServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL Database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit. The auditing policy of a database server apply to all the databases in this server that are marked as using the server's auditing policy, as well as all newly created databases.If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing policy used as well as the server's identifiers (i.e. ResourceGroupName and ServerName). + The Set-AzureSqlServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL Database server. To use the cmdlet, use the ResourceGroupName and ServerName parameters to identify the database server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the EventType parameter to define which event types to audit. The auditing policy of a database server apply to all the databases in this server that are marked as using the server's auditing policy, as well as all newly created databases.If the command succeeds and the PassThru switch is on, it returns an object describing the current auditing policy used as well as the server's identifiers (i.e. ResourceGroupName and ServerName). Note: This cmdlet can only be executed in Azure Resource Manager mode. To enable Azure Resource Manager mode run the following command: Switch-AzureMode –Name AzureResourceManager For more information, see Using Windows PowerShell with Resource Manager. - Set-AzureSqlDatabaseServerAuditingPolicy + Set-AzureSqlServerAuditingPolicy PassThru @@ -8181,7 +8181,7 @@ Switch-AzureMode –Name AzureResourceManager PS C:\> - PS C:\>Get-Help Set-AzureSqlDatabaseServerAuditingPolicy + PS C:\>Get-Help Set-AzureSqlServerAuditingPolicy Code Example Description @@ -8684,7 +8684,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity @@ -9527,7 +9527,7 @@ Switch-AzureMode –Name AzureResourceManager - Use-AzureSqlDatabaseServerAuditingPolicy + Use-AzureSqlServerAuditingPolicy Marks an Azure SQL Database as using its server's auditing policy. @@ -9535,18 +9535,18 @@ Switch-AzureMode –Name AzureResourceManager Use - AzureSqlDatabaseServerAuditingPolicy + AzureSqlServerAuditingPolicy - The Use-AzureSqlDatabaseServerAuditingPolicy cmdlet marks an Azure SQL Database as using its server's auditing policy. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. If no auditing policy was defined already for the database server, this cmdlet would fail. + The Use-AzureSqlServerAuditingPolicy cmdlet marks an Azure SQL Database as using its server's auditing policy. To use the cmdlet, use the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. If no auditing policy was defined already for the database server, this cmdlet would fail. Note: This cmdlet can only be executed in Azure Resource Manager mode. To enable Azure Resource Manager mode run the following command: Switch-AzureMode –Name AzureResourceManager For more information, see Using Windows PowerShell with Resource Manager. - Use-AzureSqlDatabaseServerAuditingPolicy + Use-AzureSqlServerAuditingPolicy PassThru @@ -9710,7 +9710,7 @@ Switch-AzureMode –Name AzureResourceManager - Get-AzureSqlElasticPoolDatabaseActivity + Get-AzureSqlDatabaseActivity Gets the status of database operations in an elastic database pool. @@ -9818,7 +9818,7 @@ Switch-AzureMode –Name AzureResourceManager PS C:\> - PS C:\>Get-AzureSqlElasticPoolDatabaseActivity –ResourceGroupName "resourcegroup1" –ServerName "server1" –ElasticPoolName "elasticpool1" + PS C:\>Get-AzureSqlDatabaseActivity –ResourceGroupName "resourcegroup1" –ServerName "server1" –ElasticPoolName "elasticpool1" The following example returns the operation status of all databases in an elastic pool named "elasticpool1". @@ -9844,7 +9844,7 @@ Switch-AzureMode –Name AzureResourceManager - New-AzureSqlFirewallRule + New-AzureSqlServerFirewallRule Creates a new firewall rule for an Azure SQL Database server. @@ -9856,7 +9856,7 @@ Switch-AzureMode –Name AzureResourceManager - The New-AzureSqlDatabaseServerFirewallRule cmdlet creates a new firewall rule for the specified SQL Database server. + The New-AzureSqlServerFirewallRule cmdlet creates a new firewall rule for the specified SQL Database server. Note: This cmdlet can only be executed in Azure Resource Manager mode. To enable Azure Resource Manager mode run the following command: Switch-AzureMode –Name AzureResourceManager diff --git a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs index 5c514033a158..4ac043718151 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -223,47 +223,47 @@ internal static string RemoveAzureSqlDatabaseElasticPoolWarning { } /// - /// Looks up a localized string similar to Permanently removing Azure Sql Database Server '{0}'.. + /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Database '{0}' on server '{1}'?. /// - internal static string RemoveAzureSqlDatabaseServerDescription { + internal static string RemoveAzureSqlDatabaseWarning { get { - return ResourceManager.GetString("RemoveAzureSqlDatabaseServerDescription", resourceCulture); + return ResourceManager.GetString("RemoveAzureSqlDatabaseWarning", resourceCulture); } } /// - /// Looks up a localized string similar to Permanently removing Firewall Rule '{0}' for Azure Sql Database Server '{1}'.. + /// Looks up a localized string similar to Permanently removing Azure Sql Database Server '{0}'.. /// - internal static string RemoveAzureSqlDatabaseServerFirewallRuleDescription { + internal static string RemoveAzureSqlServerDescription { get { - return ResourceManager.GetString("RemoveAzureSqlDatabaseServerFirewallRuleDescription", resourceCulture); + return ResourceManager.GetString("RemoveAzureSqlServerDescription", resourceCulture); } } /// - /// Looks up a localized string similar to Are you sure you want to remove the Firewall Rule '{0}' for Azure Sql Database Server '{1}'?. + /// Looks up a localized string similar to Permanently removing Firewall Rule '{0}' for Azure Sql Database Server '{1}'.. /// - internal static string RemoveAzureSqlDatabaseServerFirewallRuleWarning { + internal static string RemoveAzureSqlServerFirewallRuleDescription { get { - return ResourceManager.GetString("RemoveAzureSqlDatabaseServerFirewallRuleWarning", resourceCulture); + return ResourceManager.GetString("RemoveAzureSqlServerFirewallRuleDescription", resourceCulture); } } /// - /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Database Server '{0}'?. + /// Looks up a localized string similar to Are you sure you want to remove the Firewall Rule '{0}' for Azure Sql Database Server '{1}'?. /// - internal static string RemoveAzureSqlDatabaseServerWarning { + internal static string RemoveAzureSqlServerFirewallRuleWarning { get { - return ResourceManager.GetString("RemoveAzureSqlDatabaseServerWarning", resourceCulture); + return ResourceManager.GetString("RemoveAzureSqlServerFirewallRuleWarning", resourceCulture); } } /// - /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Database '{0}' on server '{1}'?. + /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Database Server '{0}'?. /// - internal static string RemoveAzureSqlDatabaseWarning { + internal static string RemoveAzureSqlServerWarning { get { - return ResourceManager.GetString("RemoveAzureSqlDatabaseWarning", resourceCulture); + return ResourceManager.GetString("RemoveAzureSqlServerWarning", resourceCulture); } } @@ -339,6 +339,15 @@ internal static string sqlSampleTitle { } } + /// + /// Looks up a localized string similar to Azure Sql Database Elastic Pool name is required for this operation. + /// + internal static string StandaloneDatabaseActivityNotSupported { + get { + return ResourceManager.GetString("StandaloneDatabaseActivityNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to Stopping upgrade for Azure Sql Database Server '{0}'.. /// diff --git a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx index 444840ee21a0..9dd6332d604c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx +++ b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx @@ -171,10 +171,10 @@ The rule {0} does not exist - + Permanently removing Azure Sql Database Server '{0}'. - + Are you sure you want to remove the Azure Sql Database Server '{0}'? @@ -192,10 +192,10 @@ Firewall Rule with name: '{0}' already exists for server '{1}'. - + Permanently removing Firewall Rule '{0}' for Azure Sql Database Server '{1}'. - + Are you sure you want to remove the Firewall Rule '{0}' for Azure Sql Database Server '{1}'? @@ -222,4 +222,7 @@ Stopping upgrade for Azure Sql Database Server '{0}'. + + Azure Sql Database Elastic Pool name is required for this operation + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlDatabaseServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlServerAuditingPolicy.cs similarity index 84% rename from src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlDatabaseServerAuditingPolicy.cs rename to src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlServerAuditingPolicy.cs index 24ab4ecabf41..b854ba0ff362 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlDatabaseServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/GetAzureSqlServerAuditingPolicy.cs @@ -20,8 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.Auditing /// /// Returns the auditing policy of a specific database server. /// - [Cmdlet(VerbsCommon.Get, "AzureSqlDatabaseServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] - public class GetAzureSqlDatabaseServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase + [Cmdlet(VerbsCommon.Get, "AzureSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Get-AzureSqlDatabaseServerAuditingPolicy")] + public class GetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase { /// /// No sending is needed as this is a Get cmdlet diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseAuditing.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseAuditing.cs index 0a25619ccf61..089a329529c2 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseAuditing.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseAuditing.cs @@ -21,6 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.Auditing /// Disables auditing on a specific database. /// [Cmdlet(VerbsCommon.Remove, "AzureSqlDatabaseAuditing"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Alias("Remove-AzureSqlDatabaseAuditing")] public class RemoveSqlDatabaseAuditing : SqlDatabaseAuditingCmdletBase { /// diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseServerAuditing.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlServerAuditing.cs similarity index 91% rename from src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseServerAuditing.cs rename to src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlServerAuditing.cs index 4dbc40305c55..0dc30e39d0c1 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlDatabaseServerAuditing.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/RemoveSqlServerAuditing.cs @@ -20,8 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.Auditing /// /// Disables auditing on a specific database server. /// - [Cmdlet(VerbsCommon.Remove, "AzureSqlDatabaseServerAuditing"), OutputType(typeof(ServerAuditingPolicyModel))] - public class RemoveSqlDatabaseServerAuditing : SqlDatabaseServerAuditingCmdletBase + [Cmdlet(VerbsCommon.Remove, "AzureSqlServerAuditing"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Remove-AzureSqlDatabaseServerAuditing")] + public class RemoveSqlServerAuditing : SqlDatabaseServerAuditingCmdletBase { /// /// Defines whether the cmdlets will output the model object at the end of its execution diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlDatabaseServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlServerAuditingPolicy.cs similarity index 96% rename from src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlDatabaseServerAuditingPolicy.cs rename to src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlServerAuditingPolicy.cs index 27610fed5b93..98204a3f743c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlDatabaseServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/SetAzureSqlServerAuditingPolicy.cs @@ -26,8 +26,9 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.Auditing /// /// Sets the auditing policy properties for a specific database server. /// - [Cmdlet(VerbsCommon.Set, "AzureSqlDatabaseServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] - public class SetAzureSqlDatabaseServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase + [Cmdlet(VerbsCommon.Set, "AzureSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Set-AzureSqlDatabaseServerAuditingPolicy")] + public class SetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase { [Parameter(Mandatory = false)] diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlDatabaseServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlServerAuditingPolicy.cs similarity index 91% rename from src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlDatabaseServerAuditingPolicy.cs rename to src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlServerAuditingPolicy.cs index 0a62de00d151..42721d4751f7 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlDatabaseServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/Auditing/UseAzureSqlServerAuditingPolicy.cs @@ -22,8 +22,9 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.Auditing /// /// Marks the given database as using its server's default policy instead of its own policy. /// - [Cmdlet(VerbsOther.Use, "AzureSqlDatabaseServerAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] - public class UseAzureSqlDatabaseServerAuditingPolicy : SqlDatabaseAuditingCmdletBase + [Cmdlet(VerbsOther.Use, "AzureSqlServerAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Alias("Use-AzureSqlDatabaseServerAuditingPolicy")] + public class UseAzureSqlServerAuditingPolicy : SqlDatabaseAuditingCmdletBase { /// /// Defines whether the cmdlets will output the model object at the end of its execution diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/BuildAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/BuildAzureSqlDatabaseDataMaskingRule.cs index c1f8cad6d79e..2d5503c68075 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/BuildAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/BuildAzureSqlDatabaseDataMaskingRule.cs @@ -28,37 +28,21 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.DataMasking /// public abstract class BuildAzureSqlDatabaseDataMaskingRule : SqlDatabaseDataMaskingRuleCmdletBase { - /// - /// The name of the parameter set for data masking rule that specifies table and column names - /// - internal const string ByTableAndColumn = "ByTableAndColumn"; - - /// - /// The name of the parameter set for data masking rule that specifies alias - /// - internal const string ByAlias = "ByAlias"; /// /// Gets or sets the table name /// - [Parameter(ParameterSetName = ByTableAndColumn, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The table name.")] + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The table name.")] [ValidateNotNullOrEmpty] public string TableName { get; set; } /// /// Gets or sets the column name /// - [Parameter(ParameterSetName = ByTableAndColumn, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The column name.")] + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The column name.")] [ValidateNotNullOrEmpty] public string ColumnName { get; set; } - /// - /// Gets or sets the alias name - /// - [Parameter(ParameterSetName = ByAlias, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The alias name.")] - [ValidateNotNullOrEmpty] - public string AliasName { get; set; } - /// /// Gets or sets the masking function - the definition of this property as a cmdlet parameter is done in the subclasses /// @@ -128,19 +112,9 @@ protected override IEnumerable ApplyUserInputToMod /// A string containing error message or null in case all is fine protected string ValidateRuleTarget(IEnumerable rules) { - if (AliasName != null) // using the alias parameter set - { - if(rules.Any(r => r.AliasName == AliasName && r.RuleId != RuleId)) - { - return string.Format(CultureInfo.InvariantCulture, Resources.DataMaskingAliasAlreadyUsedError, AliasName); - } - } - else + if (rules.Any(r => r.TableName == TableName && r.ColumnName == ColumnName && r.RuleId != RuleId)) { - if (rules.Any(r => r.TableName == TableName && r.ColumnName == ColumnName && r.RuleId != RuleId)) - { - return string.Format(CultureInfo.InvariantCulture, Resources.DataMaskingTableAndColumnUsedError, TableName, ColumnName); - } + return string.Format(CultureInfo.InvariantCulture, Resources.DataMaskingTableAndColumnUsedError, TableName, ColumnName); } return null; } @@ -152,19 +126,8 @@ protected string ValidateRuleTarget(IEnumerable ru /// An updated rule model protected DatabaseDataMaskingRuleModel UpdateRule(DatabaseDataMaskingRuleModel rule) { - if(!string.IsNullOrEmpty(AliasName)) - { - rule.AliasName = AliasName; - rule.TableName = null; - rule.ColumnName = null; - } - else - { - rule.TableName = TableName; - rule.ColumnName = ColumnName; - rule.AliasName = null; - } - + rule.TableName = TableName; + rule.ColumnName = ColumnName; if(!string.IsNullOrEmpty(MaskingFunction)) // only update if the user provided this value { rule.MaskingFunction = ModelizeMaskingFunction(); diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/NewAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/NewAzureSqlDatabaseDataMaskingRule.cs index 7c2f4892a21e..0936924197a7 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/NewAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/NewAzureSqlDatabaseDataMaskingRule.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.DataMasking /// /// Returns a new data masking rule for a specific database /// - [Cmdlet(VerbsCommon.New, "AzureSqlDatabaseDataMaskingRule", DefaultParameterSetName = ByTableAndColumn)] + [Cmdlet(VerbsCommon.New, "AzureSqlDatabaseDataMaskingRule")] public class NewAzureSqlDatabaseDataMaskingRule : BuildAzureSqlDatabaseDataMaskingRule { /// diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/SetAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/SetAzureSqlDatabaseDataMaskingRule.cs index 4c7f4633fb9f..6d64c6077faf 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/SetAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/DataMasking/SetAzureSqlDatabaseDataMaskingRule.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Sql.Security.Cmdlet.DataMasking /// /// Sets properties for a data masking rule. /// - [Cmdlet(VerbsCommon.Set, "AzureSqlDatabaseDataMaskingRule", DefaultParameterSetName = ByTableAndColumn)] + [Cmdlet(VerbsCommon.Set, "AzureSqlDatabaseDataMaskingRule")] public class SetAzureSqlDatabaseDataMaskingRule : BuildAzureSqlDatabaseDataMaskingRule { /// diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Model/BaseDataMaskingRuleModel.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Model/BaseDataMaskingRuleModel.cs index 052092d13b82..6ebb494234e6 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Model/BaseDataMaskingRuleModel.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Model/BaseDataMaskingRuleModel.cs @@ -49,11 +49,6 @@ public class BaseDataMaskingRuleModel /// public string ColumnName { get; set; } - /// - /// Gets or sets the alias name on which the current rule operates on - /// - public string AliasName { get; set; } - /// /// Gets or sets the masking function of the current rule /// diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlDataMaskingAdapter.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlDataMaskingAdapter.cs index 300da59c5fc3..d98d54b33c83 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlDataMaskingAdapter.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlDataMaskingAdapter.cs @@ -116,7 +116,6 @@ private DataMaskingRuleCreateOrUpdateParameters PolicizeDatabaseDataRuleModel(Da DataMaskingRuleProperties properties = new DataMaskingRuleProperties(); updateParameters.Properties = properties; properties.Id = model.RuleId; - properties.AliasName = model.AliasName; properties.TableName = model.TableName; properties.ColumnName = model.ColumnName; properties.MaskingFunction = PolicizeMaskingFunction(model.MaskingFunction); @@ -157,7 +156,6 @@ private DatabaseDataMaskingRuleModel ModelizeDatabaseDataMaskingRule(DataMasking dbRuleModel.ServerName = serverName; dbRuleModel.DatabaseName = databaseName; dbRuleModel.RuleId = properties.Id; - dbRuleModel.AliasName = properties.AliasName; dbRuleModel.ColumnName = properties.ColumnName; dbRuleModel.TableName = properties.TableName; dbRuleModel.MaskingFunction = ModelizeMaskingFunction(properties.MaskingFunction); diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs index f0bf0a013f9c..515a6624f7af 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs @@ -41,7 +41,7 @@ public class NewAzureSqlServer : AzureSqlServerCmdletBase [Parameter(Mandatory = true, HelpMessage = "The SQL administrator credentials for the server")] [ValidateNotNull] - public PSCredential SqlAdminCredentials { get; set; } + public PSCredential SqlAdministratorCredentials { get; set; } /// /// The location in which to create the server @@ -108,8 +108,8 @@ public class NewAzureSqlServer : AzureSqlServerCmdletBase ResourceGroupName = this.ResourceGroupName, ServerName = this.ServerName, ServerVersion = this.ServerVersion, - SqlAdminPassword = this.SqlAdminCredentials.Password, - SqlAdminUserName = this.SqlAdminCredentials.UserName, + SqlAdministratorPassword = this.SqlAdministratorCredentials.Password, + SqlAdministratorLogin = this.SqlAdministratorCredentials.UserName, Tags = this.Tags }); return newEntity; diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs index bbaec6783f0b..6b3d3e39cfc9 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs @@ -81,8 +81,8 @@ public class RemoveAzureSqlServer : AzureSqlServerCmdletBase public override void ExecuteCmdlet() { if (!Force.IsPresent && !ShouldProcess( - string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlDatabaseServerDescription, this.ServerName), - string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlDatabaseServerWarning, this.ServerName), + string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlServerDescription, this.ServerName), + string.Format(CultureInfo.InvariantCulture, Resources.RemoveAzureSqlServerWarning, this.ServerName), Resources.ShouldProcessCaption)) { return; diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs index 3924da750d49..88e2f689867f 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs @@ -43,7 +43,7 @@ public class SetAzureSqlServer : AzureSqlServerCmdletBase [Parameter(Mandatory = false, HelpMessage = "The new SQL administrator password for the server.")] [ValidateNotNull] - public SecureString SqlAdminPassword { get; set; } + public SecureString SqlAdministratorPassword { get; set; } /// /// The tags to associate with the server. @@ -89,7 +89,7 @@ public class SetAzureSqlServer : AzureSqlServerCmdletBase { ResourceGroupName = this.ResourceGroupName, ServerName = this.ServerName, - SqlAdminPassword = this.SqlAdminPassword, + SqlAdministratorPassword = this.SqlAdministratorPassword, Tags = this.Tags, ServerVersion = this.ServerVersion, Location = model.FirstOrDefault().Location, diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Model/AzureSqlServerModel.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Model/AzureSqlServerModel.cs index 5396585c9a3f..ea514c9a28b0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Model/AzureSqlServerModel.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Model/AzureSqlServerModel.cs @@ -40,12 +40,12 @@ public class AzureSqlServerModel /// /// Gets or sets the sql login credentials for the admin /// - public string SqlAdminUserName { get; set; } + public string SqlAdministratorLogin { get; set; } /// /// Gets or sets the password for the sql admin /// - public SecureString SqlAdminPassword { get; set; } + public SecureString SqlAdministratorPassword { get; set; } /// /// Gets or sets the server version diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Services/AzureSqlServerAdapter.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Services/AzureSqlServerAdapter.cs index 85ec21ca21a8..9e1ca96a379c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Services/AzureSqlServerAdapter.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Services/AzureSqlServerAdapter.cs @@ -93,8 +93,8 @@ public AzureSqlServerModel UpsertServer(AzureSqlServerModel model) Tags = model.Tags, Properties = new ServerCreateOrUpdateProperties() { - AdministratorLogin = model.SqlAdminUserName, - AdministratorLoginPassword = Decrypt(model.SqlAdminPassword), + AdministratorLogin = model.SqlAdministratorLogin, + AdministratorLoginPassword = Decrypt(model.SqlAdministratorPassword), Version = model.ServerVersion, } }); @@ -125,7 +125,7 @@ private static AzureSqlServerModel CreateServerModelFromResponse(string resource server.ResourceGroupName = resourceGroupName; server.ServerName = resp.Name; server.ServerVersion = resp.Properties.Version; - server.SqlAdminUserName = resp.Properties.AdministratorLogin; + server.SqlAdministratorLogin = resp.Properties.AdministratorLogin; server.Location = resp.Location; return server;