diff --git a/.gitignore b/.gitignore
index d487996de989..d469a9bfdad7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -193,4 +193,5 @@ UpgradeLog*.htm
# Microsoft Fakes
FakesAssemblies/
-.vs/
\ No newline at end of file
+.vs/
+/tools/*.dll
diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets
index aaff65dc4fb9..02c15e5f4083 100644
--- a/AzurePowershell.Test.targets
+++ b/AzurePowershell.Test.targets
@@ -5,8 +5,8 @@
.\src\Local.testsettings
.\src\Local.x64.testsettings
- .\src\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll
- .\src\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll
+ .\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll
+ .\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll
.\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll
.\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll
.\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll
@@ -16,7 +16,7 @@
.\src\AzureRT.testsettings
.\src\AzureRTSeq.testsettings
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll
- src\ServiceManagement\Storage\Commands.Storage.ScenarioTest\bin\Debug\CLITest.dll
+ src\Common\Storage\Commands.Storage.ScenarioTest\bin\Debug\CLITest.dll
.\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll
.\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll
.\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll
@@ -28,9 +28,9 @@
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll
.\src\ServiceManagement\Sql\Commands.SqlDatabase.Test\bin\Debug\Microsoft.WindowsAzure.Commands.SqlDatabase.Test.dll
.\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll
- .\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll
+ .\src\Common\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll
.\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll
- .\src\ResourceManager\Commerce\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll
+ .\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll
"!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload&!AzureRTCleanUp"
All
"OneSDK&CIT"
@@ -42,34 +42,7 @@
100000000
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -77,17 +50,56 @@
Command="MSTest.exe /testcontainer:$(_testAssembly) /testsettings:$(_testSettings) /category:$(_testFilter) /resultsfile:$(_testResult)"
ContinueOnError="false" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+ Timeout="$(TestTimeout)" ContinueOnError="false" Condition=" @(XUnitTests) != '' "/>
-
+
-
diff --git a/ChangeLog.md b/ChangeLog.md
index d574b4d8ff7a..b58764902dc7 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,4 +1,6 @@
## 2015.09.03 version 0.9.8
+* Azure Redis Cache cmdlets
+ * New-AzureRMRedisCache - 'RedisVersion' parameter is deprecated.
* Azure Compute (ARM) Cmdlets
* Added -Launch parameter for Get-AzureRemoteDesktopFile cmdlet
* Added Id parameter for VM cmdlets to support piping scenario without ResourceGroupName parameter
diff --git a/README.md b/README.md
index 455e0aabbf99..1a5369247b63 100644
--- a/README.md
+++ b/README.md
@@ -69,6 +69,7 @@ This repository contains a set of PowerShell cmdlets for developers and administ
* PowerShell remoting
* Manage extension
* BG Info
+ * Chef
* Puppet
* Custom Script
* Access
diff --git a/build.proj b/build.proj
index 9922b99c4b89..053f39a02271 100644
--- a/build.proj
+++ b/build.proj
@@ -1,29 +1,71 @@
-
+
+
+
- .\src\ServiceManagement\Services\Commands\bin
- .\src\ServiceManagement\Services\Commands.Test\bin
- Microsoft.WindowsAzure.Commands.Test.dll
- .\setup\build
- .\src\Publish
- .\src\Package
+ $(MSBuildThisFileDirectory)
+ $(LibraryRoot)src
+ $(LibraryRoot)tools
+ $(LibrarySourceFolder)\Publish
+ $(LibrarySourceFolder)\Package
+ Debug
+ false
+
+ false
$(PublishDirectory)\Build
$(PublishDirectory)\Setup
$(PublishDirectory)\TestResults
- Configuration=Debug;Platform=Any CPU
- Configuration=Release;Platform=Any CPU
true
+ http://psget/PSGallery/api/v2/
+ all
-
-
+
+
+
+
+
+
+
+
+ $(OnPremiseBuildTasks)
+ true
+ false
+
+
+
+
-
-
-
-
+
+ Properties="Configuration=$(Configuration);Platform=Any CPU"
+ ContinueOnError="false"
+ Condition=" '$(Scope)' == 'all' "/>
@@ -85,22 +113,22 @@
- $(MSBuildProjectDirectory)\src\.nuget\NuGet.exe
+ $(MSBuildProjectDirectory)\tools\NuGet.exe
$(MSBuildProjectDirectory)\restore.config
-ConfigFile "$(NuGetRestoreConfigFile)"
+ C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
-
-
+
+
+
-
+ -->
-
-
-
+
+
@@ -122,118 +150,169 @@
-
+
-
+
+
+
+
+ Properties="Configuration=$(Configuration);Platform=Any CPU"
+ ContinueOnError="false"
+ Condition=" '$(Scope)' == 'all' "/>
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Properties="Configuration=$(Configuration);Platform=Any CPU"
+ ContinueOnError="false"
+ Condition=" '$(Scope)' == 'all' "/>
+
+
-
-
-
+
+ DependsOnTargets="Clean;Build;Test" />
+
+
+
+
+
+
+
+
+
+
+
+ 31bf3856ad364e35
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 31bf3856ad364e35
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
false
AcceptanceType=CheckIn
+
-
+
@@ -241,14 +320,14 @@
+ DependsOnTargets="Clean;Build;Test;RunOneSDKCIT" />
+ DependsOnTargets="Clean;Build;LiveTestsFilter" />
-
+
diff --git a/setup-powershellget/Setup/CustomAction.config b/setup-powershellget/Setup/CustomAction.config
new file mode 100644
index 000000000000..de951b78d854
--- /dev/null
+++ b/setup-powershellget/Setup/CustomAction.config
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/setup-powershellget/Setup/CustomAction.cs b/setup-powershellget/Setup/CustomAction.cs
new file mode 100644
index 000000000000..916f0a70211e
--- /dev/null
+++ b/setup-powershellget/Setup/CustomAction.cs
@@ -0,0 +1,110 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.WindowsAzure.Setup
+{
+ using System;
+ using System.IO;
+ using Deployment.WindowsInstaller;
+ using System.Threading;
+
+ public class CustomAction
+ {
+ // The exception object which will store (if) exception which is occured in our sta thread
+ private static Exception _STAThreadException;
+
+ private static uint[] powerShellDefaultColorTable = new uint[]
+ {
+ 0x0, 0x800000, 0x8000, 0x808000, 0x80, 0x562401, 0xF0EDEE, 0xC0C0C0,
+ 0x808080, 0xFF0000, 0xFF00, 0xFFFF00, 0xFF, 0xFF00FF, 0xFFFF, 0xFFFFFF
+ };
+
+ // Method which contains our custom action behaviour
+ private static void RunSTAThread(object sessionObject)
+ {
+ try
+ {
+ Session session = sessionObject as Session;
+
+ string powerShellShortcutPath = session.CustomActionData["ShortcutPath"];
+ string powerShellDefaultShortcutPath = session.CustomActionData["DefaultShortcutPath"];
+
+ if (!File.Exists(powerShellShortcutPath))
+ {
+ _STAThreadException = new Exception(string.Format("UpdatePSShortcut: file {0} does not exist", powerShellShortcutPath));
+ return;
+ }
+
+ ShellLink powerShellShellLink = new ShellLink(powerShellShortcutPath);
+ if (File.Exists(powerShellDefaultShortcutPath))
+ {
+ session.Log("UpdatePSShortcut: found default Windows PowerShell shortcut at {0}", powerShellDefaultShortcutPath);
+ ShellLink powerShellDefaultShellLink = new ShellLink(powerShellDefaultShortcutPath);
+ powerShellShellLink.ConsoleProperties = powerShellDefaultShellLink.ConsoleProperties;
+ }
+ else
+ {
+ session.Log("UpdatePSShortcut: default Windows PowerShell shortcut does not exist at {0}", powerShellDefaultShortcutPath);
+
+ for (int i = 0; i < powerShellShellLink.ConsoleProperties.ColorTable.Length; i++)
+ {
+ powerShellShellLink.ConsoleProperties.ColorTable[i] = powerShellDefaultColorTable[i];
+ }
+ powerShellShellLink.AutoPosition = true;
+ powerShellShellLink.CommandHistoryBufferSize = 50;
+ powerShellShellLink.CommandHistoryBufferCount = 4;
+
+ powerShellShellLink.InsertMode = true;
+
+ powerShellShellLink.PopUpBackgroundColor = 15;
+ powerShellShellLink.PopUpTextColor = 3;
+
+ powerShellShellLink.QuickEditMode = true;
+
+ powerShellShellLink.ScreenBackgroundColor = 5;
+ powerShellShellLink.ScreenTextColor = 6;
+
+ powerShellShellLink.SetScreenBufferSize(120, 3000);
+ powerShellShellLink.SetWindowSize(120, 50);
+ }
+ powerShellShellLink.SetFont();
+ powerShellShellLink.Save();
+ session.Log("UpdatePSShortcut: success");
+ }
+ catch (Exception ex)
+ {
+ _STAThreadException = new Exception(string.Format("UpdatePSShortcut: failed with exception {0}", ex.Message));
+ }
+ }
+
+ [CustomAction]
+ public static ActionResult UpdatePSShortcut(Session session)
+ {
+ Thread staThread = new Thread(RunSTAThread);
+ staThread.SetApartmentState(ApartmentState.STA);
+ staThread.Start(session);
+ // Wait for the new thread to finish its operations
+ staThread.Join();
+
+ // If there is any exception in the new thread pass it to the installer
+ if (_STAThreadException != null)
+ {
+ session.Log(_STAThreadException.Message);
+ return ActionResult.Failure;
+ }
+
+ return ActionResult.Success;
+ }
+ }
+}
\ No newline at end of file
diff --git a/setup-powershellget/Setup/Properties/AssemblyInfo.cs b/setup-powershellget/Setup/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..6d3ae6c5b4e0
--- /dev/null
+++ b/setup-powershellget/Setup/Properties/AssemblyInfo.cs
@@ -0,0 +1,48 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Setup")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Setup")]
+[assembly: AssemblyCopyright("Copyright © Microsoft")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("f4aa30f2-d2ce-4aef-88ed-a048b771c272")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/setup-powershellget/Setup/Setup.csproj b/setup-powershellget/Setup/Setup.csproj
new file mode 100644
index 000000000000..6a7a64f7c639
--- /dev/null
+++ b/setup-powershellget/Setup/Setup.csproj
@@ -0,0 +1,50 @@
+
+
+
+ Debug
+ AnyCPU
+ 8.0.30703
+ 2.0
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D}
+ Library
+ Properties
+ Microsoft.WindowsAzure.Setup
+ Microsoft.WindowsAzure.Setup
+ v4.5
+ 512
+ $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/setup-powershellget/Setup/ShellLink.cs b/setup-powershellget/Setup/ShellLink.cs
new file mode 100644
index 000000000000..80144cca986d
--- /dev/null
+++ b/setup-powershellget/Setup/ShellLink.cs
@@ -0,0 +1,455 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.WindowsAzure.Setup
+{
+ using System;
+ using System.Diagnostics.CodeAnalysis;
+ using System.IO;
+ using System.Runtime.InteropServices;
+ using System.Text;
+
+ // IShellLink.ShowCmd fFlags
+ [Flags]
+ public enum ShowCmd
+ {
+ SW_SHOWNORMAL = 1,
+ SW_SHOWMAXIMIZED = 3,
+ SW_SHOWMINNOACTIVE = 7
+ }
+
+ // IShellLink.Resolve fFlags
+ [Flags]
+ public enum SLR_FLAGS
+ {
+ SLR_NO_UI = 0x1,
+ SLR_ANY_MATCH = 0x2,
+ SLR_UPDATE = 0x4,
+ SLR_NOUPDATE = 0x8,
+ SLR_NOSEARCH = 0x10,
+ SLR_NOTRACK = 0x20,
+ SLR_NOLINKINFO = 0x40,
+ SLR_INVOKE_MSI = 0x80
+ }
+
+ // IShellLink.GetPath fFlags
+ [Flags]
+ public enum SLGP_FLAGS
+ {
+ SLGP_SHORTPATH = 0x1,
+ SLGP_UNCPRIORITY = 0x2,
+ SLGP_RAWPATH = 0x4
+ }
+
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Matching COM Names")]
+ [ComImport,
+ InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
+ Guid("000214F9-0000-0000-C000-000000000046")]
+ public interface IShellLinkW
+ {
+ void GetPath(
+ [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile,
+ int cchMaxPath,
+ out WIN32_FIND_DATAW pfd,
+ SLGP_FLAGS fFlags);
+
+ void GetIDList(
+ out IntPtr ppidl);
+
+ void SetIDList(
+ IntPtr pidl);
+
+ void GetDescription(
+ [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszName,
+ int cchMaxName);
+
+ void SetDescription(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszName);
+
+ void GetWorkingDirectory(
+ [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszDir,
+ int cchMaxPath);
+
+ void SetWorkingDirectory(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszDir);
+
+ void GetArguments(
+ [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszArgs,
+ int cchMaxPath);
+
+ void SetArguments(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszArgs);
+
+ void GetHotkey(
+ out short pwHotkey);
+
+ void SetHotkey(
+ short wHotkey);
+
+ void GetShowCmd(
+ out int piShowCmd);
+
+ void SetShowCmd(
+ int iShowCmd);
+
+ void GetIconLocation(
+ [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszIconPath,
+ int cchIconPath,
+ out int piIcon);
+
+ void SetIconLocation(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszIconPath,
+ int iIcon);
+
+ void SetRelativePath(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszPathRel,
+ int dwReserved);
+
+ void Resolve(
+ IntPtr hwnd,
+ SLR_FLAGS fFlags);
+
+ void SetPath(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszFile);
+ }
+
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Matching COM Names")]
+ [ComImport,
+ InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
+ Guid("45E2b4AE-B1C3-11D0-B92F-00A0C90312E1")]
+ public interface IShellLinkDataList
+ {
+ void AddDataBlock(
+ IntPtr pDataBlock);
+
+ void CopyDataBlock(
+ uint dwSig,
+ out IntPtr ppDataBlock);
+
+ void RemoveDataBlock(
+ uint dwSig);
+
+ void GetFlags(
+ out int dwFlags);
+
+ void SetFlags(
+ uint dwFlags);
+ }
+
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Matching COM Names")]
+ [ComImport,
+ InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
+ Guid("0000010B-0000-0000-C000-000000000046")]
+ public interface IPersistFile
+ {
+ #region Methods inherited from IPersist
+
+ void GetClassID(
+ out Guid pClassID);
+
+ #endregion
+
+ [PreserveSig]
+ int IsDirty();
+
+ void Load(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszFileName,
+ int dwMode);
+
+ void Save(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszFileName,
+ [MarshalAs(UnmanagedType.Bool)] bool fRemember);
+
+ void SaveCompleted(
+ [MarshalAs(UnmanagedType.LPWStr)] string pszFileName);
+
+ void GetCurFile(
+ out IntPtr ppszFileName);
+ }
+
+ // Win32 COORD
+ [StructLayout(LayoutKind.Sequential)]
+ public struct COORD
+ {
+ public short X;
+ public short Y;
+ }
+
+ // IShellDataLink NT_CONSOLE_PROPS
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Matching Windows Struct Names")]
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter", Justification = "Matching Windows Struct Names")]
+ [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
+ public struct NT_CONSOLE_PROPS
+ {
+ public int cbSize; // Size of this extra data block
+ public uint dwSignature; // signature of this extra data block
+ public ushort wFillAttribute; // fill attribute for console
+ public ushort wPopupFillAttribute; // fill attribute for console popups
+ public COORD dwScreenBufferSize; // screen buffer size for console
+ public COORD dwWindowSize; // window size for console
+ public COORD dwWindowOrigin; // window origin for console
+ public int nFont;
+ public int nInputBufferSize;
+ public COORD dwFontSize;
+ public uint uFontFamily;
+ public uint uFontWeight;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
+ public string FaceName;
+ public uint uCursorSize;
+ public bool bFullScreen;
+ public bool bQuickEdit;
+ public bool bInsertMode;
+ public bool bAutoPosition;
+ public uint uHistoryBufferSize;
+ public uint uNumberOfHistoryBuffers;
+ public bool bHistoryNoDup;
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
+ public uint[] ColorTable;
+ }
+
+ // WIN32_FIND_DATA
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Matching Windows Struct Names")]
+ [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter", Justification = "Matching Windows Struct Names")]
+ public struct WIN32_FIND_DATAW
+ {
+ public int dwFileAttributes;
+ public System.Runtime.InteropServices.ComTypes.FILETIME ftCreationTime;
+ public System.Runtime.InteropServices.ComTypes.FILETIME ftLastAccessTime;
+ public System.Runtime.InteropServices.ComTypes.FILETIME ftLastWriteTime;
+ public int nFileSizeHigh;
+ public int nFileSizeLow;
+ public int dwReserved0;
+ public int dwReserved1;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAXPATH)]
+ public string cFileName;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 14)]
+ public string cAlternateFileName;
+ private const int MAXPATH = 260;
+ }
+
+ public class ShellLink
+ {
+ private IShellLinkW shellLink;
+ private NT_CONSOLE_PROPS consoleProperties;
+
+ public ShellLink(string path)
+ {
+ this.shellLink = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("00021401-0000-0000-C000-000000000046"))) as IShellLinkW;
+ if (File.Exists(path))
+ {
+ IntPtr consoleProperties = IntPtr.Zero;
+ ((IPersistFile)this.shellLink).Load(path, 0);
+
+ try
+ {
+ ((IShellLinkDataList)this.shellLink).CopyDataBlock(0xA0000002, out consoleProperties);
+ this.consoleProperties = (NT_CONSOLE_PROPS)Marshal.PtrToStructure(consoleProperties, typeof(NT_CONSOLE_PROPS));
+ }
+ catch (Exception)
+ {
+ }
+ }
+ else
+ {
+ ((IPersistFile)this.shellLink).Save(path, true);
+ }
+
+ // Initialize default Console Properties (TODO: Fix this bug too)
+ if (this.consoleProperties.dwSignature != 0xA0000002)
+ {
+ this.consoleProperties = new NT_CONSOLE_PROPS();
+ this.consoleProperties.cbSize = Marshal.SizeOf(this.consoleProperties);
+ this.consoleProperties.dwSignature = 0xA0000002;
+ this.consoleProperties.ColorTable = new uint[16];
+ for (int i = 0; i < 16; i++)
+ {
+ this.consoleProperties.ColorTable[i] = 0xffffffff;
+ }
+ }
+ }
+
+ public IShellLinkW IShellLink
+ {
+ get { return this.shellLink; }
+ }
+
+ public string Path
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder(260);
+ WIN32_FIND_DATAW pfd = new WIN32_FIND_DATAW();
+ this.IShellLink.GetPath(sb, 260, out pfd, SLGP_FLAGS.SLGP_RAWPATH);
+ return sb.ToString();
+ }
+ set
+ {
+ this.IShellLink.SetPath(value);
+ }
+ }
+
+ public string Description
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder(2048);
+ this.IShellLink.GetDescription(sb, 2048);
+ return sb.ToString();
+ }
+ set { this.IShellLink.SetDescription(value); }
+ }
+
+ public string WorkingDirectory
+ {
+ get
+ {
+ StringBuilder sb = new StringBuilder(260);
+ this.IShellLink.GetWorkingDirectory(sb, 260);
+ return sb.ToString();
+ }
+ set { this.IShellLink.SetWorkingDirectory(value); }
+ }
+
+ public ShowCmd ShowCmd
+ {
+ get
+ {
+ int showCmd;
+ this.IShellLink.GetShowCmd(out showCmd);
+ return (ShowCmd)Enum.ToObject(typeof(ShowCmd), showCmd);
+ }
+ set
+ {
+ this.IShellLink.SetShowCmd((int)value);
+ }
+ }
+
+ public NT_CONSOLE_PROPS ConsoleProperties
+ {
+ get { return this.consoleProperties; }
+ set { this.consoleProperties = value; }
+ }
+
+ public bool QuickEditMode
+ {
+ get { return this.consoleProperties.bQuickEdit; }
+ set { this.consoleProperties.bQuickEdit = value; }
+ }
+
+ public bool InsertMode
+ {
+ get { return this.consoleProperties.bInsertMode; }
+ set { this.consoleProperties.bInsertMode = value; }
+ }
+
+ public bool AutoPosition
+ {
+ get { return this.consoleProperties.bAutoPosition; }
+ set { this.consoleProperties.bAutoPosition = value; }
+ }
+
+ public uint CommandHistoryBufferSize
+ {
+ get { return this.consoleProperties.uHistoryBufferSize; }
+ set { this.consoleProperties.uHistoryBufferSize = value; }
+ }
+
+ public uint CommandHistoryBufferCount
+ {
+ get { return this.consoleProperties.uNumberOfHistoryBuffers; }
+ set { this.consoleProperties.uNumberOfHistoryBuffers = value; }
+ }
+
+ public byte ScreenBackgroundColor
+ {
+ set
+ {
+ this.consoleProperties.wFillAttribute &= 0x000f;
+ this.consoleProperties.wFillAttribute += (ushort)(value << 4);
+ }
+ }
+
+ public byte ScreenTextColor
+ {
+ set
+ {
+ this.consoleProperties.wFillAttribute &= 0x00f0;
+ this.consoleProperties.wFillAttribute += value;
+ }
+ }
+
+ public byte PopUpBackgroundColor
+ {
+ set
+ {
+ this.consoleProperties.wPopupFillAttribute &= 0x000f;
+ this.consoleProperties.wPopupFillAttribute += (ushort)(value << 4);
+ }
+ }
+
+ public byte PopUpTextColor
+ {
+ set
+ {
+ this.consoleProperties.wPopupFillAttribute &= 0x00f0;
+ this.consoleProperties.wPopupFillAttribute += value;
+ }
+ }
+
+ public void Save(string path)
+ {
+ this.SetConsoleProperties();
+ ((IPersistFile)this.shellLink).Save(path, true);
+ }
+
+ public void Save()
+ {
+ this.SetConsoleProperties();
+ ((IPersistFile)this.shellLink).Save(null, true);
+ }
+
+ public void SetScreenBufferSize(short x, short y)
+ {
+ COORD c = new COORD();
+ c.X = x;
+ c.Y = y;
+ this.consoleProperties.dwScreenBufferSize = c;
+ }
+
+ public void SetWindowSize(short x, short y)
+ {
+ COORD c = new COORD();
+ c.X = x;
+ c.Y = y;
+ this.consoleProperties.dwWindowSize = c;
+ }
+
+ public void SetFont()
+ {
+ this.consoleProperties.FaceName = "Lucida Console";
+ this.consoleProperties.uFontFamily = 54;
+ this.consoleProperties.uFontWeight = 400;
+ this.consoleProperties.uCursorSize = 25;
+ }
+
+ // This does more than console colors
+ private void SetConsoleProperties()
+ {
+ IntPtr consoleProperties = Marshal.AllocCoTaskMem(this.consoleProperties.cbSize);
+ Marshal.StructureToPtr(this.consoleProperties, consoleProperties, true);
+ ((IShellLinkDataList)this.shellLink).RemoveDataBlock(0xA0000002);
+ ((IShellLinkDataList)this.shellLink).AddDataBlock(consoleProperties);
+ }
+ }
+}
\ No newline at end of file
diff --git a/setup-powershellget/Setup/ShortcutStartup.ps1 b/setup-powershellget/Setup/ShortcutStartup.ps1
new file mode 100644
index 000000000000..9d2228f0d5a6
--- /dev/null
+++ b/setup-powershellget/Setup/ShortcutStartup.ps1
@@ -0,0 +1,77 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+[CmdletBinding()]
+Param(
+[Parameter(Mandatory=$False, HelpMessage="Use Install parameter to install Azure modules from PowerShell Gallery.")]
+[switch]$Install
+)
+
+function EnsureRegistryPath
+{
+ $originalpaths = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PSModulePath).PSModulePath
+ if($originalpaths.Contains("$env:ProgramFiles\WindowsPowerShell\Modules") -eq $false)
+ {
+ Write-Output "Fixing PSModulePath"
+ $newPath = "$originalpaths;$env:ProgramFiles\WindowsPowerShell\Modules"
+ Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PSModulePath –Value $newPath
+ }
+ else
+ {
+ Write-Output "PSModulePath successfuly validated"
+ }
+}
+
+$error.clear()
+try {
+ if ($Install.IsPresent) {
+ EnsureRegistryPath
+ Write-Output @"
+
+Finalizing installation of Azure PowerShell.
+Installing Azure Modules from PowerShell Gallery.
+This may take some time...
+"@
+ $env:PSModulePath = "$env:USERPROFILE\Documents\WindowsPowerShell\Modules;$env:ProgramFiles\WindowsPowerShell\Modules;$env:SystemRoot\system32\WindowsPowerShell\v1.0\Modules\"
+
+ Import-Module PackageManagement
+
+ $result = Get-PackageProvider -Name NuGet -ForceBootstrap
+
+ Import-Module PowerShellGet
+
+ Install-Module AzureRM
+ Write-Output "AzureRM $((Get-InstalledModule -Name AzureRM)[0].Version) installed..."
+ Update-AzureRM
+ } else {
+ cd c:\
+ $welcomeMessage = @"
+For a list of all Azure cmdlets type 'help azure'.
+For a list of Azure Pack cmdlets type 'Get-Command *wapack*'.
+
+To use Azure Service Management cmdlets please execute the following cmdlet:
+ Install-Module Azure
+"@
+ Write-Output $welcomeMessage
+
+ $VerbosePreference = "Continue"
+ }
+}
+catch
+{
+Write-Output "An error occured during installation."
+Write-Output $error
+Write-Output "Press any key..."
+$host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
+}
+
diff --git a/setup-powershellget/azurecmd.wxs b/setup-powershellget/azurecmd.wxs
new file mode 100644
index 000000000000..bca2e41bc536
--- /dev/null
+++ b/setup-powershellget/azurecmd.wxs
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ < "5.0")]]>
+
+
+
+
+
+ Installed OR NETFRAMEWORK40FULL OR NETFRAMEWORK40CLIENT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NOT Installed
+ NOT Installed
+ NOT Installed
+ NOT Installed
+
+
+
+
+
+
+
+
diff --git a/setup-powershellget/bin/iisnode.dll b/setup-powershellget/bin/iisnode.dll
new file mode 100644
index 000000000000..136b447b9b67
Binary files /dev/null and b/setup-powershellget/bin/iisnode.dll differ
diff --git a/setup-powershellget/bin/iisnode_schema.xml b/setup-powershellget/bin/iisnode_schema.xml
new file mode 100644
index 000000000000..56ad644194ba
--- /dev/null
+++ b/setup-powershellget/bin/iisnode_schema.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/setup-powershellget/media/GettingStarted.url b/setup-powershellget/media/GettingStarted.url
new file mode 100644
index 000000000000..cbd76c97d341
--- /dev/null
+++ b/setup-powershellget/media/GettingStarted.url
@@ -0,0 +1,5 @@
+[{000214A0-0000-0000-C000-000000000046}]
+Prop3=19,2
+[InternetShortcut]
+URL=http://go.microsoft.com/?linkid=9791397
+IDList=
diff --git a/setup-powershellget/media/License.rtf b/setup-powershellget/media/License.rtf
new file mode 100644
index 000000000000..fe4ca72a0de0
--- /dev/null
+++ b/setup-powershellget/media/License.rtf
@@ -0,0 +1,213 @@
+{\rtf1\ansi\ansicpg936\deff0\nouicompat\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
+{\colortbl ;\red0\green0\blue255;}
+{\*\generator Riched20 6.3.9600}\viewkind4\uc1
+\pard\sl240\slmult1\f0\fs20\lang9 MICROSOFT SOFTWARE LICENSE TERMS\par
+\par
+MICROSOFT AZURE POWERSHELL \par
+\par
+These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any.\par
+\par
+BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
+\par
+\par
+-----------------START OF LICENSE--------------------------\par
+\par
+ Apache License\par
+ Version 2.0, January 2004\par
+ {{\field{\*\fldinst{HYPERLINK http://www.apache.org/licenses/ }}{\fldrslt{http://www.apache.org/licenses/\ul0\cf0}}}}\f0\fs20\par
+\par
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par
+\par
+ 1. Definitions.\par
+\par
+ "License" shall mean the terms and conditions for use, reproduction,\par
+ and distribution as defined by Sections 1 through 9 of this document.\par
+\par
+ "Licensor" shall mean the copyright owner or entity authorized by\par
+ the copyright owner that is granting the License.\par
+\par
+ "Legal Entity" shall mean the union of the acting entity and all\par
+ other entities that control, are controlled by, or are under common\par
+ control with that entity. For the purposes of this definition,\par
+ "control" means (i) the power, direct or indirect, to cause the\par
+ direction or management of such entity, whether by contract or\par
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\par
+ outstanding shares, or (iii) beneficial ownership of such entity.\par
+\par
+ "You" (or "Your") shall mean an individual or Legal Entity\par
+ exercising permissions granted by this License.\par
+\par
+ "Source" form shall mean the preferred form for making modifications,\par
+ including but not limited to software source code, documentation\par
+ source, and configuration files.\par
+\par
+ "Object" form shall mean any form resulting from mechanical\par
+ transformation or translation of a Source form, including but\par
+ not limited to compiled object code, generated documentation,\par
+ and conversions to other media types.\par
+\par
+ "Work" shall mean the work of authorship, whether in Source or\par
+ Object form, made available under the License, as indicated by a\par
+ copyright notice that is included in or attached to the work\par
+ (an example is provided in the Appendix below).\par
+\par
+ "Derivative Works" shall mean any work, whether in Source or Object\par
+ form, that is based on (or derived from) the Work and for which the\par
+ editorial revisions, annotations, elaborations, or other modifications\par
+ represent, as a whole, an original work of authorship. For the purposes\par
+ of this License, Derivative Works shall not include works that remain\par
+ separable from, or merely link (or bind by name) to the interfaces of,\par
+ the Work and Derivative Works thereof.\par
+\par
+ "Contribution" shall mean any work of authorship, including\par
+ the original version of the Work and any modifications or additions\par
+ to that Work or Derivative Works thereof, that is intentionally\par
+ submitted to Licensor for inclusion in the Work by the copyright owner\par
+ or by an individual or Legal Entity authorized to submit on behalf of\par
+ the copyright owner. For the purposes of this definition, "submitted"\par
+ means any form of electronic, verbal, or written communication sent\par
+ to the Licensor or its representatives, including but not limited to\par
+ communication on electronic mailing lists, source code control systems,\par
+ and issue tracking systems that are managed by, or on behalf of, the\par
+ Licensor for the purpose of discussing and improving the Work, but\par
+ excluding communication that is conspicuously marked or otherwise\par
+ designated in writing by the copyright owner as "Not a Contribution."\par
+\par
+ "Contributor" shall mean Licensor and any individual or Legal Entity\par
+ on behalf of whom a Contribution has been received by Licensor and\par
+ subsequently incorporated within the Work.\par
+\par
+ 2. Grant of Copyright License. Subject to the terms and conditions of\par
+ this License, each Contributor hereby grants to You a perpetual,\par
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\par
+ copyright license to reproduce, prepare Derivative Works of,\par
+ publicly display, publicly perform, sublicense, and distribute the\par
+ Work and such Derivative Works in Source or Object form.\par
+\par
+ 3. Grant of Patent License. Subject to the terms and conditions of\par
+ this License, each Contributor hereby grants to You a perpetual,\par
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\par
+ (except as stated in this section) patent license to make, have made,\par
+ use, offer to sell, sell, import, and otherwise transfer the Work,\par
+ where such license applies only to those patent claims licensable\par
+ by such Contributor that are necessarily infringed by their\par
+ Contribution(s) alone or by combination of their Contribution(s)\par
+ with the Work to which such Contribution(s) was submitted. If You\par
+ institute patent litigation against any entity (including a\par
+ cross-claim or counterclaim in a lawsuit) alleging that the Work\par
+ or a Contribution incorporated within the Work constitutes direct\par
+ or contributory patent infringement, then any patent licenses\par
+ granted to You under this License for that Work shall terminate\par
+ as of the date such litigation is filed.\par
+\par
+ 4. Redistribution. You may reproduce and distribute copies of the\par
+ Work or Derivative Works thereof in any medium, with or without\par
+ modifications, and in Source or Object form, provided that You\par
+ meet the following conditions:\par
+\par
+ (a) You must give any other recipients of the Work or\par
+ Derivative Works a copy of this License; and\par
+\par
+ (b) You must cause any modified files to carry prominent notices\par
+ stating that You changed the files; and\par
+\par
+ (c) You must retain, in the Source form of any Derivative Works\par
+ that You distribute, all copyright, patent, trademark, and\par
+ attribution notices from the Source form of the Work,\par
+ excluding those notices that do not pertain to any part of\par
+ the Derivative Works; and\par
+\par
+ (d) If the Work includes a "NOTICE" text file as part of its\par
+ distribution, then any Derivative Works that You distribute must\par
+ include a readable copy of the attribution notices contained\par
+ within such NOTICE file, excluding those notices that do not\par
+ pertain to any part of the Derivative Works, in at least one\par
+ of the following places: within a NOTICE text file distributed\par
+ as part of the Derivative Works; within the Source form or\par
+ documentation, if provided along with the Derivative Works; or,\par
+ within a display generated by the Derivative Works, if and\par
+ wherever such third-party notices normally appear. The contents\par
+ of the NOTICE file are for informational purposes only and\par
+ do not modify the License. You may add Your own attribution\par
+ notices within Derivative Works that You distribute, alongside\par
+ or as an addendum to the NOTICE text from the Work, provided\par
+ that such additional attribution notices cannot be construed\par
+ as modifying the License.\par
+\par
+ You may add Your own copyright statement to Your modifications and\par
+ may provide additional or different license terms and conditions\par
+ for use, reproduction, or distribution of Your modifications, or\par
+ for any such Derivative Works as a whole, provided Your use,\par
+ reproduction, and distribution of the Work otherwise complies with\par
+ the conditions stated in this License.\par
+\par
+ 5. Submission of Contributions. Unless You explicitly state otherwise,\par
+ any Contribution intentionally submitted for inclusion in the Work\par
+ by You to the Licensor shall be under the terms and conditions of\par
+ this License, without any additional terms or conditions.\par
+ Notwithstanding the above, nothing herein shall supersede or modify\par
+ the terms of any separate license agreement you may have executed\par
+ with Licensor regarding such Contributions.\par
+\par
+ 6. Trademarks. This License does not grant permission to use the trade\par
+ names, trademarks, service marks, or product names of the Licensor,\par
+ except as required for reasonable and customary use in describing the\par
+ origin of the Work and reproducing the content of the NOTICE file.\par
+\par
+ 7. Disclaimer of Warranty. Unless required by applicable law or\par
+ agreed to in writing, Licensor provides the Work (and each\par
+ Contributor provides its Contributions) on an "AS IS" BASIS,\par
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\par
+ implied, including, without limitation, any warranties or conditions\par
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\par
+ PARTICULAR PURPOSE. You are solely responsible for determining the\par
+ appropriateness of using or redistributing the Work and assume any\par
+ risks associated with Your exercise of permissions under this License.\par
+\par
+ 8. Limitation of Liability. In no event and under no legal theory,\par
+ whether in tort (including negligence), contract, or otherwise,\par
+ unless required by applicable law (such as deliberate and grossly\par
+ negligent acts) or agreed to in writing, shall any Contributor be\par
+ liable to You for damages, including any direct, indirect, special,\par
+ incidental, or consequential damages of any character arising as a\par
+ result of this License or out of the use or inability to use the\par
+ Work (including but not limited to damages for loss of goodwill,\par
+ work stoppage, computer failure or malfunction, or any and all\par
+ other commercial damages or losses), even if such Contributor\par
+ has been advised of the possibility of such damages.\par
+\par
+ 9. Accepting Warranty or Additional Liability. While redistributing\par
+ the Work or Derivative Works thereof, You may choose to offer,\par
+ and charge a fee for, acceptance of support, warranty, indemnity,\par
+ or other liability obligations and/or rights consistent with this\par
+ License. However, in accepting such obligations, You may act only\par
+ on Your own behalf and on Your sole responsibility, not on behalf\par
+ of any other Contributor, and only if You agree to indemnify,\par
+ defend, and hold each Contributor harmless for any liability\par
+ incurred by, or claims asserted against, such Contributor by reason\par
+ of your accepting any such warranty or additional liability.\par
+\par
+-------------------END OF LICENSE-------------------------------\par
+\par
+The software includes the AutoMapper library ("AutoMapper"). The MIT License set out below is provided for informational purposes only. It is not the license that governs any part of the software.\par
+\par
+----------------START OF LICENSE--------------------------------\par
+\par
+Provided for Informational Purposes Only\par
+\par
+AutoMapper\par
+\par
+The MIT License (MIT)\par
+\par
+Copyright (c) 2010 Jimmy Bogard\par
+\par
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\par
+\par
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\par
+\par
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\par
+\par
+-------------END OF LICENSE----------------------------------------\par
+\par
+}
+
diff --git a/setup-powershellget/media/WAIcon.ico b/setup-powershellget/media/WAIcon.ico
new file mode 100644
index 000000000000..76425402df61
Binary files /dev/null and b/setup-powershellget/media/WAIcon.ico differ
diff --git a/setup-powershellget/media/bannrbmp.bmp b/setup-powershellget/media/bannrbmp.bmp
new file mode 100644
index 000000000000..e115559090c4
Binary files /dev/null and b/setup-powershellget/media/bannrbmp.bmp differ
diff --git a/setup-powershellget/media/dlgbmp.bmp b/setup-powershellget/media/dlgbmp.bmp
new file mode 100644
index 000000000000..399c62e6f1e1
Binary files /dev/null and b/setup-powershellget/media/dlgbmp.bmp differ
diff --git a/setup-powershellget/powershellget.sln b/setup-powershellget/powershellget.sln
new file mode 100644
index 000000000000..8b5bc5d52589
--- /dev/null
+++ b/setup-powershellget/powershellget.sln
@@ -0,0 +1,30 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.40629.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "powershellget", "powershellget.wixproj", "{36D6E303-E057-4963-A093-C7AAE0FD92B3}"
+ ProjectSection(ProjectDependencies) = postProject
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D} = {EA5BD11B-10B3-433D-A250-92AE76669D8D}
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Setup", "Setup\Setup.csproj", "{EA5BD11B-10B3-433D-A250-92AE76669D8D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.Build.0 = Debug|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.ActiveCfg = Release|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.Build.0 = Release|x86
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/setup-powershellget/powershellget.wixproj b/setup-powershellget/powershellget.wixproj
new file mode 100644
index 000000000000..c3a89824ad39
--- /dev/null
+++ b/setup-powershellget/powershellget.wixproj
@@ -0,0 +1,67 @@
+
+
+
+ Debug
+ x86
+ 3.5
+ {36d6e303-e057-4963-a093-c7aae0fd92b3}
+ 2.0
+ AzurePowerShellGet
+ Package
+ $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets
+ $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets
+ AzurePowershell
+
+
+ build\$(Configuration)\
+ obj\$(Configuration)\
+ Debug
+ ICE30;ICE91;ICE64;ICE61;ICE69
+
+
+ build\$(Configuration)\
+ obj\$(Configuration)\
+ ICE30;ICE91;ICE64;ICE61;ICE69
+
+
+
+ $(WixExtDir)\WixNetFxExtension.dll
+ WixNetFxExtension
+
+
+ $(WixExtDir)\WixUtilExtension.dll
+ WixUtilExtension
+
+
+ $(WixExtDir)\WixUIExtension.dll
+ WixUIExtension
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index cbb42ddd1f00..1d0b416685a9 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -5,7 +5,7 @@
-
+
@@ -69,7 +69,7 @@
-
+
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index 84a4a919a7c5..672cd10e5031 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -7,2845 +7,2197 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -2923,6 +2275,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2936,33 +2395,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3023,12 +2461,6 @@
-
-
-
-
-
-
@@ -3119,9 +2551,6 @@
-
-
-
@@ -3329,39 +2758,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3422,12 +2830,6 @@
-
-
-
-
-
-
@@ -3482,9 +2884,6 @@
-
-
-
@@ -3571,12 +2970,6 @@
-
-
-
-
-
-
@@ -3973,9 +3366,6 @@
-
-
-
@@ -3985,6 +3375,9 @@
+
+
+
@@ -4021,6 +3414,9 @@
+
+
+
@@ -4068,33 +3464,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -4224,9 +3599,6 @@
-
-
-
@@ -4469,8 +3841,8 @@
-
-
+
+
@@ -4478,24 +3850,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -4556,12 +3910,6 @@
-
-
-
-
-
-
@@ -4646,9 +3994,6 @@
-
-
-
@@ -4668,107 +4013,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -4936,917 +4180,721 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5870,19 +4918,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
@@ -5903,8 +4979,6 @@
-
-
@@ -5935,7 +5009,6 @@
-
@@ -6003,17 +5076,10 @@
-
-
-
-
-
-
-
@@ -6034,8 +5100,6 @@
-
-
@@ -6054,7 +5118,6 @@
-
@@ -6083,8 +5146,6 @@
-
-
@@ -6205,10 +5266,10 @@
-
+
@@ -6221,6 +5282,7 @@
+
@@ -6236,15 +5298,8 @@
-
-
-
-
-
-
-
@@ -6288,7 +5343,6 @@
-
@@ -6359,15 +5413,9 @@
-
+
-
-
-
-
-
-
@@ -6388,8 +5436,6 @@
-
-
@@ -6418,46 +5464,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/setup/azurepowershell.sln b/setup/azurepowershell.sln
index d6782b6e5edc..1896d3821999 100644
--- a/setup/azurepowershell.sln
+++ b/setup/azurepowershell.sln
@@ -1,8 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
-VisualStudioVersion = 12.0.30110.0
+VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
-
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "azurepowershell", "azurepowershell.wixproj", "{36D6E303-E057-4963-A093-C7AAE0FD92B3}"
ProjectSection(ProjectDependencies) = postProject
{EA5BD11B-10B3-433D-A250-92AE76669D8D} = {EA5BD11B-10B3-433D-A250-92AE76669D8D}
@@ -16,10 +15,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.Build.0 = Debug|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.ActiveCfg = Release|x86
+ {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.Build.0 = Release|x86
{EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA5BD11B-10B3-433D-A250-92AE76669D8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/setup/azurepowershell.wixproj b/setup/azurepowershell.wixproj
index 3aa6465bf54a..d94ac083da23 100644
--- a/setup/azurepowershell.wixproj
+++ b/setup/azurepowershell.wixproj
@@ -2,7 +2,7 @@
Debug
- AnyCPU
+ x86
3.5
{36d6e303-e057-4963-a093-c7aae0fd92b3}
2.0
@@ -12,13 +12,13 @@
$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets
AzurePowershell
-
+
build\$(Configuration)\
obj\$(Configuration)\
Debug
ICE30;ICE91;ICE64;ICE61;ICE69
-
+
build\$(Configuration)\
obj\$(Configuration)\
ICE30;ICE91;ICE64;ICE61;ICE69
diff --git a/src/.nuget/NuGet.Config b/src/.nuget/NuGet.Config
deleted file mode 100644
index 67524b49b980..000000000000
--- a/src/.nuget/NuGet.Config
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/.nuget/NuGet.targets b/src/.nuget/NuGet.targets
deleted file mode 100644
index 2d11ba558f2b..000000000000
--- a/src/.nuget/NuGet.targets
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- $(MSBuildProjectDirectory)\..\
-
-
- false
-
-
- false
-
-
- true
-
-
- false
-
-
-
-
-
-
-
-
-
-
- $([System.IO.Path]::Combine($(SolutionDir), ".nuget"))
- $([System.IO.Path]::Combine($(ProjectDir), "packages.config"))
- $([System.IO.Path]::Combine($(SolutionDir), "packages"))
-
-
-
-
- $(SolutionDir).nuget
- packages.config
- $(SolutionDir)packages
-
-
-
-
- $(NuGetToolsPath)\nuget.exe
- @(PackageSource)
-
- "$(NuGetExePath)"
- mono --runtime=v4.0.30319 $(NuGetExePath)
-
- $(TargetDir.Trim('\\'))
-
- -RequireConsent
-
- $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -o "$(PackagesDir)"
- $(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols
-
-
-
- RestorePackages;
- $(BuildDependsOn);
-
-
-
-
- $(BuildDependsOn);
- BuildPackage;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Common.sln b/src/Common.sln
deleted file mode 100644
index 2a66f4292cd6..000000000000
--- a/src/Common.sln
+++ /dev/null
@@ -1,45 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.30501.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Storage", "Common\Commands.Common.Storage\Commands.Common.Storage.csproj", "{65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Test", "Common\Commands.Common.Test\Commands.Common.Test.csproj", "{3B48A77B-5956-4A62-9081-92BA04B02B27}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "Common\Commands.Profile\Commands.Profile.csproj", "{C60342B1-47D3-4A0E-8081-9B97CE60B7AF}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTest", "Common\Commands.ScenarioTest\Commands.ScenarioTest.csproj", "{A3965B66-5A3E-4B8C-9574-28E5958D4828}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
- {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.Build.0 = Release|Any CPU
- {3B48A77B-5956-4A62-9081-92BA04B02B27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3B48A77B-5956-4A62-9081-92BA04B02B27}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3B48A77B-5956-4A62-9081-92BA04B02B27}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3B48A77B-5956-4A62-9081-92BA04B02B27}.Release|Any CPU.Build.0 = Release|Any CPU
- {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C60342B1-47D3-4A0E-8081-9B97CE60B7AF}.Release|Any CPU.Build.0 = Release|Any CPU
- {A3965B66-5A3E-4B8C-9574-28E5958D4828}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A3965B66-5A3E-4B8C-9574-28E5958D4828}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A3965B66-5A3E-4B8C-9574-28E5958D4828}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A3965B66-5A3E-4B8C-9574-28E5958D4828}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
index 588c8a15e5fc..8dbda6b0aea0 100644
--- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
+++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
@@ -12,7 +12,6 @@
v4.5
512
- ..\..\
true
/assemblyCompareMode:StrongNameIgnoringVersion
@@ -57,7 +56,7 @@
..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -106,7 +105,7 @@
False
- ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll
+ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll
False
@@ -182,10 +181,5 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
index 6f37a649d717..87905f9bf0a1 100644
--- a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
+++ b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
@@ -24,5 +24,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("c565107e-98a9-4703-85cd-a7efc3d8da7b")]
-[assembly: AssemblyVersion("0.9.8")]
-[assembly: AssemblyFileVersion("0.9.8")]
+[assembly: AssemblyVersion("0.9.9")]
+[assembly: AssemblyFileVersion("0.9.9")]
diff --git a/src/Common/Commands.Common.Storage/packages.config b/src/Common/Commands.Common.Storage/packages.config
index dad781bcb501..bc1a6455a430 100644
--- a/src/Common/Commands.Common.Storage/packages.config
+++ b/src/Common/Commands.Common.Storage/packages.config
@@ -2,7 +2,7 @@
-
+
diff --git a/src/Common/AzurePSCmdlet.cs b/src/Common/Commands.Common/AzurePSCmdlet.cs
similarity index 100%
rename from src/Common/AzurePSCmdlet.cs
rename to src/Common/Commands.Common/AzurePSCmdlet.cs
diff --git a/src/Common/Commands.Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs
index dd3e122f685f..10b42c12ee2b 100644
--- a/src/Common/Commands.Common/AzurePowerShell.cs
+++ b/src/Common/Commands.Common/AzurePowerShell.cs
@@ -27,9 +27,9 @@ public class AzurePowerShell
public const string AssemblyCopyright = "Copyright © Microsoft";
- public const string AssemblyVersion = "0.9.8";
+ public const string AssemblyVersion = "0.9.9";
- public const string AssemblyFileVersion = "0.9.8";
+ public const string AssemblyFileVersion = "0.9.9";
public const string ProfileFile = "AzureProfile.json";
diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj
index d78e6a93ba52..5696d4a1fcce 100644
--- a/src/Common/Commands.Common/Commands.Common.csproj
+++ b/src/Common/Commands.Common/Commands.Common.csproj
@@ -12,7 +12,6 @@
v4.5
512
- ..\..\
true
/assemblyCompareMode:StrongNameIgnoringVersion
06e19c11
@@ -64,7 +63,7 @@
..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -143,12 +142,9 @@
-
- AzurePSCmdlet.cs
-
+
-
@@ -157,8 +153,6 @@
Resources.resx
-
-
@@ -167,25 +161,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -203,10 +181,5 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Common/Commands.Common/ProfileClient.cs b/src/Common/Commands.Common/ProfileClient.cs
index b0bff4a9d6b8..528674fc4352 100644
--- a/src/Common/Commands.Common/ProfileClient.cs
+++ b/src/Common/Commands.Common/ProfileClient.cs
@@ -22,7 +22,7 @@
using Hyak.Common;
using Microsoft.Azure.Common.Authentication.Factories;
using Microsoft.Azure.Common.Authentication.Models;
-using Microsoft.Azure.Common.Authentication.Properties;
+using Microsoft.WindowsAzure.Commands.Common.Properties;
using Microsoft.WindowsAzure.Subscriptions;
namespace Microsoft.Azure.Common.Authentication
diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs
index 14275289ba96..f6602baf5d1d 100644
--- a/src/Common/Commands.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs
@@ -1,17 +1,17 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.0
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
-namespace Microsoft.WindowsAzure.Commands.Common.Properties
-{
-
-
+namespace Microsoft.WindowsAzure.Commands.Common.Properties {
+ using System;
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -231,6 +231,15 @@ public static string AddTrafficManagerEndpointFailed {
}
}
+ ///
+ /// Looks up a localized string similar to [Common.Authentication]: Authenticating for account {0} with single tenant {1}..
+ ///
+ public static string AuthenticatingForSingleTenant {
+ get {
+ return ResourceManager.GetString("AuthenticatingForSingleTenant", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Windows Azure Powershell\.
///
@@ -564,6 +573,15 @@ public static string ChangeSettingsElementMessage {
}
}
+ ///
+ /// Looks up a localized string similar to Changing public environment is not supported..
+ ///
+ public static string ChangingDefaultEnvironmentNotSupported {
+ get {
+ return ResourceManager.GetString("ChangingDefaultEnvironmentNotSupported", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Choose which publish settings file to use:.
///
@@ -945,6 +963,33 @@ public static string EnvironmentNameDoesntMatchSubscription {
}
}
+ ///
+ /// Looks up a localized string similar to Environment name needs to be specified..
+ ///
+ public static string EnvironmentNameNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("EnvironmentNameNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Environment needs to be specified..
+ ///
+ public static string EnvironmentNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("EnvironmentNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The environment name '{0}' is not found..
+ ///
+ public static string EnvironmentNotFound {
+ get {
+ return ResourceManager.GetString("EnvironmentNotFound", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to environments.xml.
///
@@ -990,6 +1035,15 @@ public static string FailedJobErrorMessage {
}
}
+ ///
+ /// Looks up a localized string similar to File path is not valid..
+ ///
+ public static string FilePathIsNotValid {
+ get {
+ return ResourceManager.GetString("FilePathIsNotValid", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to The HTTP request was forbidden with client authentication scheme 'Anonymous'..
///
@@ -1472,6 +1526,15 @@ public static string InvalidSubscriptionId {
}
}
+ ///
+ /// Looks up a localized string similar to Must specify a non-null subscription name..
+ ///
+ public static string InvalidSubscriptionName {
+ get {
+ return ResourceManager.GetString("InvalidSubscriptionName", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to A valid subscription name is required. This can be provided using the -Subscription parameter or by setting the subscription via the Set-AzureSubscription cmdlet.
///
@@ -2702,6 +2765,15 @@ public static string RemoveAzureServiceWaitMessage {
}
}
+ ///
+ /// Looks up a localized string similar to The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription..
+ ///
+ public static string RemoveDefaultSubscription {
+ get {
+ return ResourceManager.GetString("RemoveDefaultSubscription", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Removing {0} deployment for {1} service.
///
@@ -2954,6 +3026,15 @@ public static string RemoveWebsiteWarning {
}
}
+ ///
+ /// Looks up a localized string similar to Removing public environment is not supported..
+ ///
+ public static string RemovingDefaultEnvironmentsNotSupported {
+ get {
+ return ResourceManager.GetString("RemovingDefaultEnvironmentsNotSupported", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Deleting namespace.
///
@@ -3693,6 +3774,15 @@ public static string SubscriptionDataFileNotFound {
}
}
+ ///
+ /// Looks up a localized string similar to The subscription id {0} doesn't exist..
+ ///
+ public static string SubscriptionIdNotFoundMessage {
+ get {
+ return ResourceManager.GetString("SubscriptionIdNotFoundMessage", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Subscription must not be null.
///
@@ -3702,6 +3792,33 @@ public static string SubscriptionMustNotBeNull {
}
}
+ ///
+ /// Looks up a localized string similar to Subscription name needs to be specified..
+ ///
+ public static string SubscriptionNameNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("SubscriptionNameNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The subscription name {0} doesn't exist..
+ ///
+ public static string SubscriptionNameNotFoundMessage {
+ get {
+ return ResourceManager.GetString("SubscriptionNameNotFoundMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Subscription needs to be specified..
+ ///
+ public static string SubscriptionNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("SubscriptionNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Suspend.
///
@@ -3774,6 +3891,24 @@ public static string UpdatedSettings {
}
}
+ ///
+ /// Looks up a localized string similar to User name is not valid..
+ ///
+ public static string UserNameIsNotValid {
+ get {
+ return ResourceManager.GetString("UserNameIsNotValid", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to User name needs to be specified..
+ ///
+ public static string UserNameNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("UserNameNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to A value for the VLan Id has to be provided..
///
diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx
index 98ebeec2c58d..33e5c44cf6f7 100644
--- a/src/Common/Commands.Common/Properties/Resources.resx
+++ b/src/Common/Commands.Common/Properties/Resources.resx
@@ -1496,4 +1496,49 @@ Select Y to enable data collection [Y/N]:
The setting profile has been saved to the following path '{0}'.
+
+ [Common.Authentication]: Authenticating for account {0} with single tenant {1}.
+
+
+ Changing public environment is not supported.
+
+
+ Environment name needs to be specified.
+
+
+ Environment needs to be specified.
+
+
+ The environment name '{0}' is not found.
+
+
+ File path is not valid.
+
+
+ Must specify a non-null subscription name.
+
+
+ The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription.
+
+
+ Removing public environment is not supported.
+
+
+ The subscription id {0} doesn't exist.
+
+
+ Subscription name needs to be specified.
+
+
+ The subscription name {0} doesn't exist.
+
+
+ Subscription needs to be specified.
+
+
+ User name is not valid.
+
+
+ User name needs to be specified.
+
\ No newline at end of file
diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config
index 8b3394fd6012..357c4f26f18d 100644
--- a/src/Common/Commands.Common/packages.config
+++ b/src/Common/Commands.Common/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/Common/Commands.Profile/SwitchAzureMode.cs b/src/Common/Commands.Profile/SwitchAzureMode.cs
deleted file mode 100644
index 8fd6a71d5211..000000000000
--- a/src/Common/Commands.Profile/SwitchAzureMode.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.Properties;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Microsoft.Azure.Common.Authentication;
-
-namespace Microsoft.WindowsAzure.Commands.Profile
-{
- ///
- /// Switches between ServiceManagement and ResourceManager modes.
- ///
- [Cmdlet(VerbsCommon.Switch, "AzureMode")]
- public class SwitchAzureMode : AzureSMCmdlet
- {
- [Parameter(Position = 0, Mandatory = true, HelpMessage = "Name of the mode to switch to. Valid values are AzureServiceManagement and AzureResourceManager")]
- [ValidateSet("AzureServiceManagement", "AzureResourceManager", IgnoreCase = false)]
- public string Name { get; set; }
-
- [Parameter(Position = 1, Mandatory = false, HelpMessage = "If specified, save the module switch at machine level")]
- public SwitchParameter Global { get; set; }
-
- 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));
- ImportAzureModule(FileUtilities.GetModuleName(moduleToImport), FileUtilities.GetPSModulePathForModule(moduleToImport));
- }
-
- private void ImportAzureModule(string name, string path)
- {
- if (!IsLoaded(name))
- {
- WriteVerbose(string.Format("Adding {0} module path to PSModulePath...", path));
- PowerShellUtilities.AddModuleToPSModulePath(path);
-
- WriteVerbose(string.Format("Importing {0} module...", name));
- this.ImportModule(name);
-
- if (Global)
- {
- PowerShellUtilities.AddModuleToPSModulePath(path, EnvironmentVariableTarget.Machine);
- }
- }
- }
-
- private bool IsLoaded(string moduleName)
- {
- return this.GetLoadedModules().Exists(m => m.Name.Equals(moduleName));
- }
-
- private void RemoveAzureModule(string name, string path)
- {
- if (IsLoaded(name))
- {
- WriteVerbose(string.Format("Removing {0} module...", name));
- this.RemoveModule(name);
-
- if (name.Equals(FileUtilities.GetModuleName(AzureModule.AzureServiceManagement)))
- {
- this.RemoveAzureAliases();
- }
-
- WriteVerbose(string.Format("Removing {0} module path from PSModulePath...", path));
- PowerShellUtilities.RemoveModuleFromPSModulePath(path);
-
- if (Global)
- {
- PowerShellUtilities.RemoveModuleFromPSModulePath(path, EnvironmentVariableTarget.Machine);
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Common/Commands.ResourceManager.Profile.Test/SessionRecords/Microsoft.Azure.Commands.Profile.Test.SubscriptionCmdletTests/AllParameterSetsSucceed.json b/src/Common/Commands.ResourceManager.Profile.Test/SessionRecords/Microsoft.Azure.Commands.Profile.Test.SubscriptionCmdletTests/AllParameterSetsSucceed.json
deleted file mode 100644
index 6e40e34f6a17..000000000000
--- a/src/Common/Commands.ResourceManager.Profile.Test/SessionRecords/Microsoft.Azure.Commands.Profile.Test.SubscriptionCmdletTests/AllParameterSetsSucceed.json
+++ /dev/null
@@ -1,392 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/tenants?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n {\r\n \"id\": \"/tenants/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n {\r\n \"id\": \"/tenants/d5f34e25-06f2-42eb-bbe1-0efebece6ed5\",\r\n \"tenantId\": \"d5f34e25-06f2-42eb-bbe1-0efebece6ed5\"\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "326"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14994"
- ],
- "x-ms-request-id": [
- "dfbcb8b4-79bd-4b49-98cd-2f48f03ab959"
- ],
- "x-ms-correlation-request-id": [
- "dfbcb8b4-79bd-4b49-98cd-2f48f03ab959"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092920Z:dfbcb8b4-79bd-4b49-98cd-2f48f03ab959"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:19 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"subscriptionId\": \"279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"displayName\": \"Azure SDK CI\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"subscriptionId\": \"2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"displayName\": \"Node CLI Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"subscriptionId\": \"69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"displayName\": \"WebStackAndEF_TestInfra\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"subscriptionId\": \"6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"displayName\": \"Azure SDK Infrastructure\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"subscriptionId\": \"9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"displayName\": \"FISMA Pen Testing Subscription\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"subscriptionId\": \"c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"displayName\": \"Azure SDK Powershell Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"subscriptionId\": \"d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"displayName\": \"Test Subscription 1 for Migration\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"subscriptionId\": \"db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"displayName\": \"Azure SDK sandbox\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"subscriptionId\": \"3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"displayName\": \"WindowsOnDevices\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"subscriptionId\": \"b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"displayName\": \"XFD Data Systems - Public\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "3016"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14993"
- ],
- "x-ms-request-id": [
- "3bf4c9ed-5a95-47ad-b574-3d3bab512da2"
- ],
- "x-ms-correlation-request-id": [
- "3bf4c9ed-5a95-47ad-b574-3d3bab512da2"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092921Z:3bf4c9ed-5a95-47ad-b574-3d3bab512da2"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:20 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"subscriptionId\": \"279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"displayName\": \"Azure SDK CI\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"subscriptionId\": \"2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"displayName\": \"Node CLI Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"subscriptionId\": \"69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"displayName\": \"WebStackAndEF_TestInfra\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"subscriptionId\": \"6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"displayName\": \"Azure SDK Infrastructure\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"subscriptionId\": \"9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"displayName\": \"FISMA Pen Testing Subscription\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"subscriptionId\": \"c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"displayName\": \"Azure SDK Powershell Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"subscriptionId\": \"d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"displayName\": \"Test Subscription 1 for Migration\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"subscriptionId\": \"db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"displayName\": \"Azure SDK sandbox\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"subscriptionId\": \"3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"displayName\": \"WindowsOnDevices\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"subscriptionId\": \"b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"displayName\": \"XFD Data Systems - Public\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "3016"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14992"
- ],
- "x-ms-request-id": [
- "f59628b0-b505-47bd-8662-b362f1585fcc"
- ],
- "x-ms-correlation-request-id": [
- "f59628b0-b505-47bd-8662-b362f1585fcc"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092922Z:f59628b0-b505-47bd-8662-b362f1585fcc"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:21 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"subscriptionId\": \"279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"displayName\": \"Azure SDK CI\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"subscriptionId\": \"2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"displayName\": \"Node CLI Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"subscriptionId\": \"69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"displayName\": \"WebStackAndEF_TestInfra\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"subscriptionId\": \"6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"displayName\": \"Azure SDK Infrastructure\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"subscriptionId\": \"9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"displayName\": \"FISMA Pen Testing Subscription\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"subscriptionId\": \"c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"displayName\": \"Azure SDK Powershell Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"subscriptionId\": \"d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"displayName\": \"Test Subscription 1 for Migration\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"subscriptionId\": \"db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"displayName\": \"Azure SDK sandbox\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"subscriptionId\": \"3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"displayName\": \"WindowsOnDevices\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"subscriptionId\": \"b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"displayName\": \"XFD Data Systems - Public\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "3016"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14991"
- ],
- "x-ms-request-id": [
- "c6440f00-0988-475d-94da-24d45117ed6f"
- ],
- "x-ms-correlation-request-id": [
- "c6440f00-0988-475d-94da-24d45117ed6f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092923Z:c6440f00-0988-475d-94da-24d45117ed6f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:23 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"subscriptionId\": \"279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"displayName\": \"Azure SDK CI\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"subscriptionId\": \"2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"displayName\": \"Node CLI Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"subscriptionId\": \"69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"displayName\": \"WebStackAndEF_TestInfra\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"subscriptionId\": \"6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"displayName\": \"Azure SDK Infrastructure\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"subscriptionId\": \"9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"displayName\": \"FISMA Pen Testing Subscription\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"subscriptionId\": \"c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"displayName\": \"Azure SDK Powershell Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"subscriptionId\": \"d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"displayName\": \"Test Subscription 1 for Migration\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"subscriptionId\": \"db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"displayName\": \"Azure SDK sandbox\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"subscriptionId\": \"3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"displayName\": \"WindowsOnDevices\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"subscriptionId\": \"b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"displayName\": \"XFD Data Systems - Public\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "3016"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14990"
- ],
- "x-ms-request-id": [
- "821067d5-0dda-4c06-896c-d05adda670be"
- ],
- "x-ms-correlation-request-id": [
- "821067d5-0dda-4c06-896c-d05adda670be"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092941Z:821067d5-0dda-4c06-896c-d05adda670be"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:40 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"subscriptionId\": \"279b0675-cf67-467f-98f0-67ae31eb540f\",\r\n \"displayName\": \"Azure SDK CI\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"subscriptionId\": \"2c224e7e-3ef5-431d-a57b-e71f4662e3a6\",\r\n \"displayName\": \"Node CLI Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"subscriptionId\": \"69801886-4b2b-493b-ba5b-3b26dabadadc\",\r\n \"displayName\": \"WebStackAndEF_TestInfra\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"subscriptionId\": \"6b085460-5f21-477e-ba44-1035046e9101\",\r\n \"displayName\": \"Azure SDK Infrastructure\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"subscriptionId\": \"9ed7cca5-c306-4f66-9d1c-2766e67013d8\",\r\n \"displayName\": \"FISMA Pen Testing Subscription\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"subscriptionId\": \"c9cbd920-c00c-427c-852b-8aaf38badaeb\",\r\n \"displayName\": \"Azure SDK Powershell Test\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"subscriptionId\": \"d1e52cbc-b073-42e2-a0a0-c2f547118a6e\",\r\n \"displayName\": \"Test Subscription 1 for Migration\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"subscriptionId\": \"db1ab6f0-4769-4b27-930e-01e2ef9c123c\",\r\n \"displayName\": \"Azure SDK sandbox\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"subscriptionId\": \"3028579c-d25b-4ab8-87fc-455abc9bb7fb\",\r\n \"displayName\": \"WindowsOnDevices\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"subscriptionId\": \"b6b78feb-3074-4129-8748-42cee6c73020\",\r\n \"displayName\": \"XFD Data Systems - Public\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "3016"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "14989"
- ],
- "x-ms-request-id": [
- "41377497-013c-4147-a578-899a8c738e7c"
- ],
- "x-ms-correlation-request-id": [
- "41377497-013c-4147-a578-899a8c738e7c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092941Z:41377497-013c-4147-a578-899a8c738e7c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:41 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDA5NzdjZGItMTYzZi00MzVmLTljMzItMzllYzhhZTYxZjRkP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "256"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
- ],
- "x-ms-request-id": [
- "0b257a33-7f01-4a98-8d98-1bc654be1159"
- ],
- "x-ms-correlation-request-id": [
- "0b257a33-7f01-4a98-8d98-1bc654be1159"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092923Z:0b257a33-7f01-4a98-8d98-1bc654be1159"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:23 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d?api-version=2014-04-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDA5NzdjZGItMTYzZi00MzVmLTljMzItMzllYzhhZTYxZjRkP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"subscriptionId\": \"00977cdb-163f-435f-9c32-39ec8ae61f4d\",\r\n \"displayName\": \"node\",\r\n \"state\": \"Enabled\",\r\n \"subscriptionPolicies\": {\r\n \"locationPlacementId\": \"Internal_2014-09-01\",\r\n \"quotaId\": \"Internal_2014-09-01\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "256"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
- ],
- "x-ms-request-id": [
- "ad76a94a-cb03-494f-853e-7c0a68a7766a"
- ],
- "x-ms-correlation-request-id": [
- "ad76a94a-cb03-494f-853e-7c0a68a7766a"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20150917T092936Z:ad76a94a-cb03-494f-853e-7c0a68a7766a"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Thu, 17 Sep 2015 09:29:36 GMT"
- ]
- },
- "StatusCode": 200
- }
- ],
- "Names": {},
- "Variables": {
- "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c"
- }
-}
\ No newline at end of file
diff --git a/src/Common/Commands.ResourceManager.Profile/Context/SetAzureRMContext.cs b/src/Common/Commands.ResourceManager.Profile/Context/SetAzureRMContext.cs
deleted file mode 100644
index 444b9eccaf08..000000000000
--- a/src/Common/Commands.ResourceManager.Profile/Context/SetAzureRMContext.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.ResourceManager.Common;
-using Microsoft.Azure.Common.Authentication.Models;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Profile
-{
- ///
- /// Cmdlet to change current Azure context.
- ///
- [Cmdlet(VerbsCommon.Set, "AzureRMContext")]
- [OutputType(typeof(AzureContext))]
- public class SetAzureRMContextCommand : AzureRMCmdlet
- {
- private const string TenantParameterSet = "Tenant";
- private const string SubscriptionParameterSet = "Subscription";
- private const string TenantAndSubscriptionParameterSet = "TenantAndSubscription";
-
- [Parameter(ParameterSetName = TenantParameterSet, Mandatory = true, HelpMessage = "Tenant name or ID")]
- [Parameter(ParameterSetName = TenantAndSubscriptionParameterSet, Mandatory = true, HelpMessage = "Tenant name or ID")]
- [ValidateNotNullOrEmpty]
- public string Tenant { get; set; }
-
- [Parameter(ParameterSetName = SubscriptionParameterSet, Mandatory = true, HelpMessage = "Subscription")]
- [Parameter(ParameterSetName = TenantAndSubscriptionParameterSet, Mandatory = true, HelpMessage = "Subscription")]
- [ValidateNotNullOrEmpty]
- public string SubscriptionId { get; set; }
-
- protected override void ProcessRecord()
- {
- var profileClient = new RMProfileClient(AzureRMCmdlet.DefaultProfile);
-
- AzureRMCmdlet.DefaultProfile.Context = profileClient.SetCurrentContext(SubscriptionId, Tenant);
-
- WriteObject(AzureRMCmdlet.DefaultProfile.Context);
- }
- }
-}
diff --git a/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.dll-Help.xml b/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.dll-Help.xml
deleted file mode 100644
index e4d520115e03..000000000000
--- a/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.dll-Help.xml
+++ /dev/null
@@ -1,4907 +0,0 @@
-
-
-
-
- Add-AzureAccount
-
- Adds the Azure account to Windows PowerShell
-
-
-
-
- Add
- AzureAccount
-
-
-
- The Add-AzureAccount cmdlet makes your Azure account and its subscriptions available in Windows PowerShell. It's like logging into your Azure account in Windows PowerShell. To log out of the account, use the Remove-AzureAccount cmdlet.
- Add-AzureAccount downloads information about your Azure account and saves it in a subscription data file in your roaming user profile. It also gets an access token that allows Windows PowerShell to access your Azure account on your behalf. When the command completes, you can manage your Azure account in Windows PowerShell.
- There are two different ways to make your Azure account available to Windows PowerShell. You can use the Add-AzureAccount cmdlet, which uses Azure Active Directory (Azure AD) authentication access tokens, or Import-AzurePublishSettingsFile, which uses a management certificate. For guidance on which method to use, see "How to: Connect to your subscription" (http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/#Connect).
- When you run Add-AzureAccount, it displays an interactive window that prompts you to sign into your Azure account. This sign-in is valid until the access token expires. When it expires, cmdlets that require access to your account prompt you to run Add-AzureAccount again.
- If you have a Microsoft Organizational account, you can use the -Credential parameter to add the subscriptions associated with your account to Windows PowerShell without an interactive dialog.
- When specifying -ServicePrincipal switch a -Credential parameter is used to authenticate a Service Principal.
-
-
-
- Add-AzureAccount
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
-
- Profile
-
- The Profile to add accounts and subscriptions to. If not specified, adds accounts and subscriptions to the default (on disk) profile.
-
- AzureProfile
-
-
-
- Add-AzureAccount
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
-
- ServicePrincipal
-
- Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
-
- SwitchParameter
-
-
- Tenant
-
- Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
-
- String
-
-
- Profile
-
- The Profile to add accounts and subscriptions to. If not specified, adds accounts and subscriptions to the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Environment
-
- Specifies an Azure environment for the user account. This parameter is optional. The default is the AzureCloud environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack.To get the available Azure environments, use the Get-AzureEnvironment cmdlet. To add an environment, use the Add-AzureEnvironment cmdlet.
-
- String
-
- String
-
-
-
-
-
- Credential
-
- The username and password account credentials used to authenticate with Azure Active Directory. The credentials must be for a Microsoft Organizational account or Service Principal, not a Microsoft account.
-
- PSCredential
-
- PSCredential
-
-
-
-
-
- Profile
-
- The Profile to add accounts and subscriptions to. If not specified, adds accounts and subscriptions to the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
- Default on-disk Profile
-
-
- ServicePrincipal
-
- Specifies that your are logging in as a service principal. You must give a Credentials parameter for this case, with the service principal ID as the user name and the service principal key as the password.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Tenant
-
- Used when logging in as a service principal. Specifies the AAD tenant the service principal is defined in. This can be either the tenant's domain name or id.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Add-AzureAccount (and the Azure AD authentication method) takes precedence over Import-AzurePublishSettings (and the management certificate method). If you use Add-AzureAccount even once on your account, the Azure AD authentication method is used and the management certificate is ignored. To remove the Azure AD token and restore the management certificate method, use the Remove-AzureAccount cmdlet. For more information, type: Get-Help Remove-AzureAccount.
-
-
-
-
- -------------------------- Example 1: Add an account --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount
-
- This command adds an Azure account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount -SubscriptionDataFile C:\Testing\SDF.xml
-
- This command uses the SubscriptionDataFile parameter to direct Add-AzureAccount to store the account data in the C:\Testing\SDF.xml file, instead of the default file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Add a Microsoft Organizational account using Credential --------------------------
-
- PS C:\>
-
- PS C:\>$credential = Get-Credential
- PS C:\>Add-AzureAccount -Credential $credential
-
- This command uses the Credential parameter to provide AAD authentication information on the command line, rather than using the pop-up dialog for AAD authentication.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Add a Service Principal account using Credential and ServicePrincipal --------------------------
-
- PS C:\>
-
- PS C:\>$credential = Get-Credential
- PS C:\>Add-AzureAccount -Credential $credential -ServicePrincipal -Tenant "3EB32C56-E1E5-46A6-9410-F4A0572B3998"
-
- This command uses the Credential parameter to provide AAD authentication information of the Service Principal in the tenant 3EB32C56-E1E5-46A6-9410-F4A0572B3998.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 5: Add an account in Azure China --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureAccount -Environment AzureChinaCloud
-
- This command uses the Environment parameter to add an Azure China account to Windows PowerShell. When you run the command, a windows pops up to request the user name and password of the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397618
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Get-AzureAccount
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Add-AzureEnvironment
-
- Creates an Azure environment
-
-
-
-
- Add
- AzureEnvironment
-
-
-
- The Add-AzureEnvironment cmdlet creates a new custom Azure account environment and saves it in your roaming user profile. The cmdlet returns an object that represents the new environment. When the command completes, you can use the environment in Windows PowerShell.
- An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
- Only the Name parameter of this cmdlet is mandatory. If you omit a parameter, its value is null ($null), and the service that uses that endpoint might not function properly. To add or change the value of an environment property, use the Set-AzureEnvironment cmdlet.
- NOTE: Changing your environment can cause your account to fail. Typically, environments are added only for testing or troubleshooting.
-
-
-
- Add-AzureEnvironment
-
- Name
-
- Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
-
- String
-
-
- PublishSettingsFileUrl
-
- Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
-
- ServiceEndpoint
-
- Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
-
- ManagementPortalUrl
-
- Specifies the URL of the Azure Management Portal in the new environment.
-
- String
-
-
- StorageEndpoint
-
- Specifies the default endpoint of storage services in the new environment.
-
- String
-
-
- ActiveDirectoryEndpoint
-
- Specifies the endpoint for Azure Active Directory authentication in the new environment.
-
- String
-
-
- ResourceManagerEndpoint
-
- Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
-
- AzureKeyVaultDnsSuffix
-
- The DNS suffix for Azure KeyVaut; servers in this environment
-
- String
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- The identity of the KeyVault endpoint, used to acquire a token for authenticating with the KeyValue service.
-
- String
-
-
- Profile
-
- The Profile to add the environment to to. If not specified, adds the environment to the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Name
-
- Specifies a name for the environment. This parameter is required. Do not use the names of the default environments, AzureCloud and AzureChinaCloud.
-
- String
-
- String
-
-
-
-
-
- PublishSettingsFileUrl
-
- Specifies the URL of the publish settings files for your account. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
- String
-
-
-
-
-
- ServiceEndpoint
-
- Specifies the URL of the Azure service endpoint. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
- String
-
-
-
-
-
- ManagementPortalUrl
-
- Specifies the URL of the Azure Management Portal in the new environment.
-
- String
-
- String
-
-
-
-
-
- StorageEndpoint
-
- Specifies the default endpoint of storage services in the new environment.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Specifies the endpoint for Azure Active Directory authentication in the new environment.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Specifies the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery, which stores resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
- String
-
-
-
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
- String
-
-
-
-
-
- AzureKeyVaultDnsSuffix
-
- The DNS suffix for Azure KeyVaut; servers in this environment
-
- String
-
- String
-
-
-
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- The identity of the KeyVault endpoint, used to acquire a token for authenticating with the KeyValue service.
-
- String
-
- String
-
-
-
-
-
- Profile
-
- The Profile to add the environment to to. If not specified, adds the environment to the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Add an Azure environment --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl https://contoso.com/fwlink/?LinkID=101 -ServiceEndpoint https://contoso.com/fwlink/?LinkID=102
- Name : ContosoEnv
-
- PublishSettingsFileUrl : https://contoso.com/fwlink/?LinkID=101
-
- ServiceEndpoint : https://contoso.com/fwlink/?LinkID=102
-
- ResourceManagerEndpoint :
-
- ManagementPortalUrl :
-
- ActiveDirectoryEndpoint :
-
- ActiveDirectoryCommonTenantId :
-
- StorageEndpointSuffix :
-
- StorageBlobEndpointFormat :
-
- StorageQueueEndpointFormat :
-
- StorageTableEndpointFormat :
-
- GalleryEndpoint :
-
- This command creates the ContosoEnv Azure environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Add an Azure environment with Parameters --------------------------
-
- PS C:\>
-
- PS C:\>Add-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com/fwlink/?LinkID=101" -ServiceEndpoint "https://contoso.com/fwlink/?LinkID=102" -ResourceManagerEndpoint "https://contoso.com/fwlink/?LinkID=103" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
-
- This command creates the ContosoEnv Azure environment with PublishSettingsFileUrl, ServiceEndpoint, ResourceManagerEndpoint, and GraphEndpoint specified. All other endpoints are ignored.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397619
-
-
- Get-AzureEnvironment
-
-
-
- Remove-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Clear-AzureProfile
-
- Clears an Azure profile
-
-
-
-
- Clear
- AzureProfile
-
-
-
- The Clear-AzureProfile cmdlet resets Azure profile to default values. All imported subscriptions and accounts are removed.
-
-
-
- Clear-AzureProfile
-
- Force
-
- Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to remove all accounts, certificates, and subscriptions from. If not specified, removes all accounts and subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Clear-AzureProfile prompts you before clearing the profile.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to remove all accounts, certificates, and subscriptions from. If not specified, removes all accounts and subscriptions from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Clear profile --------------------------
-
- PS C:\>
-
- PS C:\>Clear-AzureProfile
-
- This command clears default user Azure profile.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Clear nondefault profile --------------------------
-
- PS C:\>
-
- PS C:\>Clear-AzureProfile -SubscriptionDataFile c:\myprofile.json
-
- This command clears Azure profile stored in c:\myprofile.json file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
- Add-AzureAccount
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Get-AzureAccount
-
- Gets Azure accounts that are available to Azure PowerShell.
-
-
-
-
- Get
- AzureAccount
-
-
-
- This is the Description section
- The Get-AzureAccount cmdlet gets the Azure accounts that are available to Windows PowerShell. To make your accounts available to Windows PowerShell, use the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
-
-
-
- Get-AzureAccount
-
- Name
-
- Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
-
- String
-
-
- Profile
-
- The Profile to get accounts from. If not specified, gets the accounts from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Name
-
- Gets only the specified account. The default is all accounts that are available to Windows PowerShell. Enter the account name. The Name value is case-sensitive. Wildcards are not permitted.
-
- String
-
- String
-
-
-
-
-
- Profile
-
- The Profile to get accounts from. If not specified, gets the accounts from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Get all accounts --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureAccount
- Name ActiveDirectories
- ---- -----------------
- contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
- contosotest1@outlook.com {{ ActiveDirectoryTenantId = aaeabcde-386c-4466-bf70-794...
-
- This command gets all accounts associated with the specified user.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get an account by name --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureAccount -Name contosoadmin@outlook.com
- Name ActiveDirectories
- ---- -----------------
- contosoadmin@outlook.com {{ ActiveDirectoryTenantId = abcde5cd-bcc3-441a-bd86-e6a...
-
- This command gets the ContosoAdmin account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397620
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureAccount
-
-
-
-
-
-
-
- Get-AzureEnvironment
-
- Gets Azure environments
-
-
-
-
- Get
- AzureEnvironment
-
-
-
- This is the Description section
- The Get-AzureEnvironment cmdlet gets the Azure environments that are available to Windows PowerShell.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).The Get-AzureEnvironment cmdlet gets environments from your subscription data file, not from Azure. If the subscription data file is outdated, run the Add-AzureAccount or Import-PublishSettingsFile cmdlet to refresh it.
-
-
-
- Get-AzureEnvironment
-
- Name
-
- Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Profile
-
- The Profile to get environments from. If not specified, gets environments from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Name
-
- Gets only the specified environment. Type the environment name. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Profile
-
- The Profile to get environments from. If not specified, gets environments from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- System.Management.Automation.PSCustomObject
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Get all environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment
- EnvironmentName ServiceEndpoint ResourceManagerEndpoint PublishSettingsFileUrl
- --------------- --------------- ----------------------- ----------------------
-
- AzureCloud https://management.core.wi... https://management.azure.com/ http://go.microsoft.com/fw...
- AzureChinaCloud https://management.core.ch... https://not-supported-serv... http://go.microsoft.com/fw...
-
- This command gets all environments that are available to Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get an environment by name --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment -Name AzureCloud
- Name : AzureCloud
-
- PublishSettingsFileUrl : http://go.microsoft.com/fwlink/?LinkID=301775
-
- ServiceEndpoint : https://management.core.windows.net/
-
- ResourceManagerEndpoint : https://management.azure.com/
-
- ManagementPortalUrl : http://go.microsoft.com/fwlink/?LinkId=254433
-
- ActiveDirectoryEndpoint : https://login.windows.net/
-
- ActiveDirectoryCommonTenantId : common
-
- StorageEndpointSuffix : core.windows.net
-
- StorageBlobEndpointFormat : {0}://{1}.blob.core.windows.net/
-
- StorageQueueEndpointFormat : {0}://{1}.queue.core.windows.net/
-
- StorageTableEndpointFormat : {0}://{1}.table.core.windows.net/
-
- GalleryEndpoint : https://gallery.azure.com/
-
- This example gets the AzureCloud environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Get all properties of all environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment | ForEach-Object {Get-AzureEnvironment -Name $_.EnvironmentName}
-
- This command gets all properties of all environments.
-
-
- The command uses the Get-AzureEnvironment cmdlet to get all Azure environments for this account. Then, it uses the Foreach-Object cmdlet to run a Get-AzureEnvironment command with the Name parameter on each environment. The value of the Name parameter is the EnvironmentName property of each environment.Without parameters, Get-AzureEnvironment gets only selected properties of an environment.
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397621
-
-
- Add-AzureAccount
-
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Get-AzurePublishSettingsFile
-
- Downloads the publish settings file for an Azure subscription.
-
-
-
-
- Get
- AzurePublishSettingsFile
-
-
-
- This is the Description section
- The Get-AzurePublishSettingsFile cmdlet downloads a publish settings file for a subscription in your account. When the command completes, you can use the Import-PublishSettingsFile cmdlet to make the settings in the file available to Windows PowerShell.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.When you run Get-AzurePublishSettingsFile, it opens your default browser and prompts you to sign into your Azure account, select a subscription, and select a file system location for the publish settings file. Then, it downloads the publish settings file for your subscription into the file that you selected.A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions.Security Note: Publish settings files contains credentials that are used to administer your Azure subscriptions and services. If malicious users access your publish settings file, they can edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
-
-
-
- Get-AzurePublishSettingsFile
-
- Environment
-
- Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
- String
-
-
- Realm
-
- Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to retrieve the PublishSettings download endpoint from. If not specified, gets the PublishSettings download endpoint from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Environment
-
- Specifies an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
- String
-
- String
-
-
-
-
-
- Realm
-
- Specifies the organization in an organizational ID. For example, if you sign into Azure as admin@contoso.com, the value of the Realm parameter is contoso.com. Use this parameter when you use an organizational ID to sign into the Azure portal. This parameter is not required when you use a Microsoft account, such as an outlook.com or live.com account.
-
- String
-
- String
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output. The PassThru parameter is typically used in conditional statements in functions and scripts.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to retrieve the PublishSettings download endpoint from. If not specified, gets the PublishSettings download endpoint from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Download a publish settings file --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzurePublishSettingsFile
-
- This command opens your default browser, connects to your Microsoft Azure account, and then downloads the .publishsettings file for your account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Specify a realm --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzurePublishSettingsFile -Realm contoso.com -Passthru
-
- This command downloads the publish settings file for an account in the contoso.com domain. Use a command with the Realm parameter when you sign into Azure with an organizational account, instead of a Microsoft account.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397622
-
-
- Add-AzureAccount
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
-
-
-
-
- Get-AzureSubscription
-
- Gets Azure subscriptions in Azure account.
-
-
-
-
- Get
- AzureSubscription
-
-
-
- This is the Description section
- The Get-AzureSubscription cmdlet gets the subscriptions in your Azure account. You can use this cmdlet to get information about the subscription and to pipe the subscription to other cmdlets.Get-AzureSubscription requires access to your Azure accounts. Before you run Get-AzureSubscription, you must run the Add-AzureAccount cmdlet or the cmdlets that download and install a publish settings file (Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile.
-
-
-
- Get-AzureSubscription
-
- SubscriptionName
-
- Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to get subscriptions from. If not specified, gets subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
-
- Get-AzureSubscription
-
- SubscriptionId
-
- Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to get subscriptions from. If not specified, gets subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
-
- Get-AzureSubscription
-
- Default
-
- Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to get subscriptions from. If not specified, gets subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
-
- Get-AzureSubscription
-
- Current
-
- Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to get subscriptions from. If not specified, gets subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- SubscriptionName
-
- Gets only the specified subscription. Enter the subscription name. The value is case-sensitive. Wildcard characters are not supported. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
- String
-
-
-
-
-
- ExtendedDetails
-
- Returns quota information for the subscription, in addition to the standard settings.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to get subscriptions from. If not specified, gets subscriptions from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionId
-
- Gets only the specified subscription. Enter the subscription Id. By default, Get-AzureSubscription gets all subscriptions in your Azure accounts.
-
- String
-
- String
-
-
-
-
-
- Default
-
- Gets only the default subscription, that is, the subscription designated as "default." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "default," use the Default parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Current
-
- Gets only the current subscription, that is, the subscription designated as "current." By default, Get-AzureSubscription gets all subscriptions in your Azure accounts. To designate a subscription as "current," use the Current parameter of the Select-AzureSubscription cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.AzureSubscription
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get-AzureSubscription gets data from the subscription data file that the Add-AzureAccount and Import-PublishSettingsFile cmdlets create.
-
-
-
-
- -------------------------- Example 1: Get all subscriptions --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription
-
- This command gets all subscriptions in the account.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Get a subscription by name --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription –SubscriptionName "MyProdSubscription"
-
- This command gets only the "MyProdSubsciption" subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Get the default subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>(Get-AzureSubscription -Default).SubscriptionName
-
- This command gets only the name of the default subscription. The command first gets the subscription and then uses the dot method to get the SubscriptionName property of the subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Get selected subscription properties --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription -Current | Format-List -Property SubscriptionName, Certificate
-
- This command returns a list with the name and certificate of the current subscription. It uses a Get-AzureSubscription command to get the current subscription. Then it pipes the subscription to a Format-List command that displays the selected properties in a list.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 5: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS>Get-AzureSubscription -SubscriptionDataFile "C:\Temp\MySubscriptions.xml"
-
- This command gets subscriptions from the C:\Temp\MySubscriptions.xml subscription data file. Use the SubscriptionDataFile parameter if you specified an alternate subscription data file when you ran the Add-AzureAccount or Import-PublishSettingsFile cmdlets.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397623
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Import-AzurePublishSettingsFile
-
- Imports a publish settings file that lets you manage your Azure accounts in Windows PowerShell.
-
-
-
-
- Import
- AzurePublishSettingsFile
-
-
-
- This is the Description section
- The Import-AzurePublishSettingsFile cmdlet imports a publish settings file (*.publishsettings) that contains information about your Azure accounts and saves a subscription data file on your computer. When the cmdlet completes, you can manage your Azure accounts in Windows PowerShell.Before running Import-AzurePublishSettingsFile, run Get-AzurePublishSettingsFile, which downloads and saves the publish settings file so you can import it.To make your Azure account available to Windows PowerShell, you can use a publish settings file or the Add-AzureAccount cmdlet. Publish settings files let you prepare the session in advance so you can run scripts and background jobs unattended. However, not all services support publish settings files. For example, the AzureResourceManager module does not support publish settings files.Security Note: Publish settings files contain a management certificate that is encoded, but not encrypted. If malicious users access your publish settings file, they might be able to edit, create, and delete your Azure services. As a security best practice, save the file to a location in your Downloads or Documents folder and then delete it after using Import-AzurePublishSettingsFile cmdlet to import the settings.
-
-
-
- Import-AzurePublishSettingsFile
-
- PublishSettingsFile
-
- Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
-
- String
-
-
- Environment
-
- Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
-
- String
-
-
- Profile
-
- The Profile to add certificates and subscriptions to. If not specified, adds certificates and subscriptions to the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- PublishSettingsFile
-
- Specifies the full path and filename of the publish settings file. This should match the file location that you entered when prompted by Get-AzurePublishSettingsFile.
-
- String
-
- String
-
-
-
-
-
- Environment
-
- Specifies the environment to use. This parameter is optional. If it is not provided, an environment will be chosen according to the endpoint in the publish settings file.
-
- String
-
- String
-
-
-
-
-
- Profile
-
- The Profile to add certificates and subscriptions to. If not specified, adds certificates and subscriptions to the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- A "publish settings file" is an XML file with a .publishsettings file name extension. The file contains an encoded certificate that provides management credentials for your Azure subscriptions. After you import this file, delete it to avoid security risks.
-
-
-
-
- -------------------------- Example 1 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings
-
- This command imports the "C:\Temp\MyAccount.publishsettings" file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml
-
- This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml.
-
-
- When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3 --------------------------
-
- PS C:\>
-
- PS C:\>Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud
-
- This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397624
-
-
- How to Install and Configure Azure PowerShell
-
-
-
- Add-AzureAccount
-
-
-
- Get-AzurePublishSettingsFile
-
-
-
-
-
-
-
- New-AzureProfile
-
- Create a new credential profile for Microsoft Azure PowerShell cmdlets in the current PowerShell session.
-
-
-
-
- New
- AzureProfile
-
-
-
- Create a new credential profile for Microsoft Azure PowerShell cmdlets in the current PowerShell session. A credential Profile is a container for the environments, accounts, and subscriptions used to authenticate Microsoft Azure PowerShell cmdlets with Microsoft Azure endpoints. A profile created with tis command can be passed as a parameter to any Microsoft Azure PowerShell cmdlet and the cmdlet will use the passed in profile for authentication. You can also use Select-AzureProfile to select a profile for use by all cmdlets in the current PowerrShell session. This enables using different credential sets in different PowerShell sessions independently.
- The cmdlet can initialize the created profile with a default subscription and the associated credentials. You can create a default subscription in the profile using a certificate, Azure ActiveDirectory Organization ID credewntials, Azure active directory Service Principal credentials, or an Azure Access Directory access token you acquire outside of PowerShell.
-
-
-
- New-AzureProfile
-
- Environment
-
- Sets the AzureEnvironment for the default subscription in the created AzureProfile.
-
- AzureEnvironment
-
-
- SubscriptionId
-
- The Id of the default subscription for this profile.
-
- String
-
-
- StorageAccount
-
- The default storage account for the default subscription in the created Profile.
-
- String
-
-
- AccessToken
-
- The authorization token used to authenticate the default subscription in this Profile.
-
- String
-
-
- AccountId
-
- The Account name associated with the AccessToken for the default subscription in this Profile.
-
- String
-
-
-
- New-AzureProfile
-
- Environment
-
- Sets the AzureEnvironment for the default subscription in the created AzureProfile.
-
- AzureEnvironment
-
-
- SubscriptionId
-
- The Id of the default subscription for this profile.
-
- String
-
-
- StorageAccount
-
- The default storage account for the default subscription in the created Profile.
-
- String
-
-
- Credential
-
- Azure Organization ID credentials for authenticating the default subscription in this Profile.
-
- PSCredential
-
-
- Tenant
-
- The Tenant Id for the default subscription in this Profile.
-
- String
-
-
- ServicePrincipal
-
- The ServicePrincipal Credential used to authenticate the default subscription in this Profile.
-
- SwitchParameter
-
-
-
- New-AzureProfile
-
- Environment
-
- Sets the AzureEnvironment for the default subscription in the created AzureProfile.
-
- AzureEnvironment
-
-
- SubscriptionId
-
- The Id of the default subscription for this profile.
-
- String
-
-
- StorageAccount
-
- The default storage account for the default subscription in the created Profile.
-
- String
-
-
- Credential
-
- Azure Organization ID credentials for authenticating the default subscription in this Profile.
-
- PSCredential
-
-
- Tenant
-
- The Tenant Id for the default subscription in this Profile.
-
- String
-
-
-
- New-AzureProfile
-
- Environment
-
- Sets the AzureEnvironment for the default subscription in the created AzureProfile.
-
- AzureEnvironment
-
-
- SubscriptionId
-
- The Id of the default subscription for this profile.
-
- String
-
-
- StorageAccount
-
- The default storage account for the default subscription in the created Profile.
-
- String
-
-
- Certificate
-
- The certificate used to authenticate the default subscription in this Profile.
-
- X509Certificate2
-
-
-
- New-AzureProfile
-
- Path
-
- The fully-qualified path to an AzureProfile saved on disk.
-
- String
-
-
-
- New-AzureProfile
-
- Properties
-
- A hash table containing details about the default subscription for this profile. The Hash keys and values may include:
- SubscriptionId
- [string]: The subscription ID for the default subscription in this Profile.
- Certificate
- [X509Certificate2]: The certificate credentials for the default subscription in this Profile.
- Username
- [string]: The user name associated with the default subscription for this Profile. Used to acquire an Azure Active Directory User credential.
- Password
- [string]: The password associated with the default subscription for the Profile. Used to acquire an Azure Active Directory User or Service credential.
- ServicePrincipal
- [string]: The SPN associated with the default subscription for this Profile. Used to acquire an Azure Active Directory Service credential.
- Tenant
- [string]: The tenant associated with the default subscription for this Profile. Used to acquire an Azure Active Directory Service credential.
- AccountId
- [string]: The user name associated with the default subscription for this Profile. Used to create a credential when access token is also specified.
- Token
- [string]: The access token associated with the default subscription for this Profile. Used to create a credential when AccountId is also specified.
- Environment
- [string]: The name of the environment associated with the default subscription for this Profile. Defaults to 'AzureCloud' if not specified.
- StorageAccount
- [string]: The name of the default storage account associated with the default subscription for this Profile.
-
- Hashtable
-
-
-
-
-
- Environment
-
- Sets the AzureEnvironment for the default subscription in the created AzureProfile.
-
- AzureEnvironment
-
- AzureEnvironment
-
-
- AzureCloud
-
-
- SubscriptionId
-
- The Id of the default subscription for this profile.
-
- String
-
- String
-
-
-
-
-
- StorageAccount
-
- The default storage account for the default subscription in the created Profile.
-
- String
-
- String
-
-
-
-
-
- AccessToken
-
- The authorization token used to authenticate the default subscription in this Profile.
-
- String
-
- String
-
-
-
-
-
- AccountId
-
- The Account name associated with the AccessToken for the default subscription in this Profile.
-
- String
-
- String
-
-
-
-
-
- Credential
-
- Azure Organization ID credentials for authenticating the default subscription in this Profile.
-
- PSCredential
-
- PSCredential
-
-
-
-
-
- Tenant
-
- The Tenant Id for the default subscription in this Profile.
-
- String
-
- String
-
-
-
-
-
- ServicePrincipal
-
- The ServicePrincipal Credential used to authenticate the default subscription in this Profile.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Certificate
-
- The certificate used to authenticate the default subscription in this Profile.
-
- X509Certificate2
-
- X509Certificate2
-
-
-
-
-
- Path
-
- The fully-qualified path to an AzureProfile saved on disk.
-
- String
-
- String
-
-
-
-
-
- Properties
-
- A hash table containing details about the default subscription for this profile. The Hash keys and values may include:
- SubscriptionId
- [string]: The subscription ID for the default subscription in this Profile.
- Certificate
- [X509Certificate2]: The certificate credentials for the default subscription in this Profile.
- Username
- [string]: The user name associated with the default subscription for this Profile. Used to acquire an Azure Active Directory User credential.
- Password
- [string]: The password associated with the default subscription for the Profile. Used to acquire an Azure Active Directory User or Service credential.
- ServicePrincipal
- [string]: The SPN associated with the default subscription for this Profile. Used to acquire an Azure Active Directory Service credential.
- Tenant
- [string]: The tenant associated with the default subscription for this Profile. Used to acquire an Azure Active Directory Service credential.
- AccountId
- [string]: The user name associated with the default subscription for this Profile. Used to create a credential when access token is also specified.
- Token
- [string]: The access token associated with the default subscription for this Profile. Used to create a credential when AccountId is also specified.
- Environment
- [string]: The name of the environment associated with the default subscription for this Profile. Defaults to 'AzureCloud' if not specified.
- StorageAccount
- [string]: The name of the default storage account associated with the default subscription for this Profile.
-
- Hashtable
-
- Hashtable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Create a new empty profile for the current session --------------------------
-
- PS C:\>
-
- > Select-AzureProfile -Profile $(New-AzureProfile)
-> Add-AzureAccount
-> Get-AzureVM
-
- This creates a new empty profile and makes this profile active for the current Azure PowerShell session. Any commands executed in the current PowerShell window will use this in-memory Profile rather than the default profile on disk.
- In the example above, the Add-AzureAccount cmdlet adds a subscription to the in-memory profile, and the Get-AzureVM command lists the VMs for this subscription. The added subscription is only visible in the current session, another PowerShell window could use a separate in-memory profile at the same time. When the PowerShell window is closed, the subscription and associated credentials are discarded.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Create and use multiple profiles in a session --------------------------
-
- PS C:\>
-
- > $profile1 = New-AzureProfile -SubscriptionId <subscription1> -Credential $(Get-Credential)
-> $profile2 = New-AzureProfile -SubscriptionId <subscription2> -Credential $(Get-Credential)
-> Get-AzureVM -Profile $profile1
-> Get-AzureVM -Profile $profile2
-
- This example creates 2 profiles containing different default subscriptions. The VMs for each subscription are listed by passing in the profile on the command line.
- Using this pattern, management actions can be easily executed using multiple subscriptions and mutliple sets of credentials within the same PowerShell session.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Select-AzureProfile
-
-
-
- Clear-AzureProfile
-
-
-
-
-
-
-
- Remove-AzureAccount
-
- Deletes an Azure account from Windows PowerShell.
-
-
-
-
- Remove
- AzureAccount
-
-
-
- The Remove-AzureAccount cmdlet deletes an Azure account and its subscriptions from the subscription data file in your roaming user profile. It does not delete the account from Microsoft Azure, or change the actual account in any way.
- Using this cmdlet is a lot like logging out of your Azure account. And, if you want to log into the account again, use the Add-AzureAccount or Import-AzurePublishSettingsFile to add the account to Windows PowerShell again.
- You can also use Remove-AzureAccount cmdlet to change the way the Azure PowerShell cmdlets sign into your Azure account. If your account has both a management certificate from Import-AzurePublishSettingsFile and an access token from Add-AzureAccount, the Azure PowerShell cmdlets use only the access token; they ignore the management certificate. To use the management certificate, run Remove-AzureAccount. When Remove-AzureAccount finds both a management certificate and an access token, it deletes only the access token, instead of deleting the account. The management certificate is still there, so account is still available to Windows PowerShell.
-
-
-
- Remove-AzureAccount
-
- Name
-
- Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to remove accounts from. If not specified, removes accounts from the default (on disk) profile.
-
- AzureProfile
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
-
-
- Name
-
- Specifies the name of the account to remove. The parameter value is case-sensitive. Wildcard characters are not supported.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the operation succeeded and False ($false) if it failed. By default, the cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to remove accounts from. If not specified, removes accounts from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Remove an account --------------------------
-
- PS C:\>
-
- PS C:\>Remove-AzureAccount -Name admin@contoso.com
-
- This command removes the admin@contoso.com from your subscription data file. When the command completes, the account is no longer available to Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397625
-
-
- Add-AzureAccount
-
-
-
- Get-AzureAccount
-
-
-
-
-
-
-
- Remove-AzureEnvironment
-
- Deletes an Azure environment from Windows PowerShell
-
-
-
-
- Remove
- AzureEnvironment
-
-
-
- This is the Description section
- The Remove-AzureEnvironment cmdlet deletes an Azure environment from your roaming profile so Windows PowerShell can't find it. This cmdlet does not delete the environment from Microsoft Azure, or change the actual environment in any way.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).
-
-
-
- Remove-AzureEnvironment
-
- Name
-
- Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to remove environments from. If not specified, removes environments from the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Name
-
- Specifies the name of the environment to remove. This parameter is required. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureAccount prompts you before removing the account from Windows PowerShell.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to remove environments from. If not specified, removes environments from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Delete an environment --------------------------
-
- PS C:\>
-
- PS C:\>Remove-AzureEnvironment -Name ContosoEnv
-
- This command deletes the ContosoEnv environment from Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Delete multiple environments --------------------------
-
- PS C:\>
-
- PS C:\>Get-AzureEnvironment | Where-Object EnvironmentName -like "Contoso*" | ForEach-Object {Remove-AzureEnvironment -Name $_.EnvironmentName }
-
- This command deletes environments whose names begin with "Contoso" from Windows PowerShell.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397626
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Set-AzureEnvironment
-
-
-
-
-
-
-
- Remove-AzureSubscription
-
- Deletes an Azure subscription from Windows PowerShell.
-
-
-
-
- Remove
- AzureSubscription
-
-
-
- The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way.
-
-
-
- Remove-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to remove subscriptions from. If not specified, removes subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
- Remove-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id. This parameter is required.
-
- String
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to remove subscriptions from. If not specified, removes subscriptions from the default (on disk) profile.
-
- AzureProfile
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription name. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Force
-
- Suppresses the confirmation prompt. By default, Remove-AzureSubscription prompts you before deleting the subscription.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the command succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to remove subscriptions from. If not specified, removes subscriptions from the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- SwitchParameter
-
- SwitchParameter
-
-
- false
-
-
- SubscriptionId
-
- Specifies the subscription Id. This parameter is required.
-
- String
-
- String
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Delete a subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test
-
- Confirm
- Are you sure you want to perform this action?
- [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
-
- This command deletes the "Test" subscription from the default subscription data file.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Delete from an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Remove-AzureSubscription -SubscriptionName Test -SubscriptionDataFile C:\Subs\MySubscriptions.xml -Force
-
- This command deletes the Test subscription from the MySubscriptions.xml subscription data file. The command uses the Force parameter to suppress the confirmation prompt.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Delete a subscription in a script --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> ...if (Remove-AzureSubscription -SubscriptionName Test -PassThru) {...}
-
- This command uses the Remove-AzureSubscription command in an If statement. It uses the PassThru parameter, which returns a Boolean value, to determine whether the script block in the If statement is executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397627
-
-
- Get-AzureSubscription
-
-
-
- Select-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Select-AzureProfile
-
- Select the active profile for the current PowerShell session.
-
-
-
-
- Select
- AzureProfile
-
-
-
- Select the active profile for the current PowerShell session. A Profile is a container for subscriptions and associated credentials used to authenticate Microsoft Azure PowerShell cmdlets with Microsoft Azure services.
- Any cmdlets executed in the current session will use the selected Profile until the window is closed or another Select-AzureProfile cmdlet is executed.
-
-
-
- Select-AzureProfile
-
- Profile
-
- The profile to select as the active Profile for the session. All cmdlets subsequently executed in the session will use the subscriptions contained in this Profile for authenticating with Microsoft Azure
-
- AzureProfile
-
-
-
- Select-AzureProfile
-
- Default
-
- Select the default on-disk profile as the active profile for the session. All subsequent cmdlets executed in the session will use the default on-disk Profile
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The profile to select as the active Profile for the session. All cmdlets subsequently executed in the session will use the subscriptions contained in this Profile for authenticating with Microsoft Azure
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- Default
-
- Select the default on-disk profile as the active profile for the session. All subsequent cmdlets executed in the session will use the default on-disk Profile
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Select-AzureSubscription
-
- Changes the current and default Azure subscriptions
-
-
-
-
- Select
- AzureSubscription
-
-
-
- The Select-AzureSubscription cmdlet sets and clears the current and default Azure subscriptions.
- The "current subscription" is the subscription that is used by default in the current Windows PowerShell session. The "default subscription" is used by default in all Windows PowerShell sessions. The "current subscription" label lets you specify a different subscription to be used by default for the current session without changing the "default subscription" for all other sessions.
- The "default" subscription designation is saved in your subscription data file. The session-specific "current" designation is not saved.
-
-
-
- Select-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Select-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Select-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Select-AzureSubscription
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Select-AzureSubscription
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- NoCurrent
-
- Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Select-AzureSubscription
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- NoDefault
-
- Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
-
- SwitchParameter
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription to change. Enter the subscription name. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Account
-
- Specifies optionally the account to use with the subscription. This parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- Current
-
- Sets the "current" subscription. Use the SubscriptionName parameter to identify the subscription.The "current subscription" is the subscription that is used by default in the current Windows PowerShell session.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- PassThru
-
- Returns True ($true) when the operation succeeds and False ($false) when it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to select the default subscription in. The default subscription in a profile is the subscription that is used when that profile is active in the current session. If not specified, selects the default subscription in the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- Default
-
- Sets the "default" subscription. Use the SubscriptionName parameter to identify the subscription.The "default subscription" is the subscription that is used by default in the all Windows PowerShell sessions, unless a different subscription is set to "current".
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionId
-
- Specifies the subscription Id to change. Enter the subscription Id.
-
- String
-
- String
-
-
-
-
-
- NoCurrent
-
- Clears the "current" subscription setting. When no subscription is set to "current," the Azure PowerShell cmdlets use the default subscription.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- NoDefault
-
- Clears the "default" subscription setting. If there is no default subscription, the current subscription is used by default. When there is no current or default subscription, and you do not identify a subscription, commands that require a subscription fail.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or AzureSubscription if PassThru
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Set the current subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering
-
- This command makes "ContosoEngineering" the current subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Set the current subscription with account --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Current -SubscriptionName ContosoEngineering -Account user@mail.contoso.com
-
- This command makes "ContosoEngineering" the current subscription and user@mail.contoso.com the current user.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Set the default description --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Select-AzureSubscription -Default -SubscriptionName ContosoFinance -SubscriptionDataFile "C:\subs\MySubscriptions.xml"
-
- This command changes the default subscription to "ContosoFinance." It saves the setting in the Subscriptions.xml subscription data file, instead of the default subscription data file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397628
-
-
- Get-AzureSubscription
-
-
-
- Remove-AzureSubscription
-
-
-
- Set-AzureSubscription
-
-
-
-
-
-
-
- Set-AzureEnvironment
-
- Changes the properties of an Azure environment
-
-
-
-
- Set
- AzureEnvironment
-
-
-
- This is the Description section
- The Set-AzureEnvironment cmdlet changes the properties of an Azure environment. It returns an object that represents the environment with its new property values. Use the Name parameter to identify the environment and the other parameters to change property values. You cannot use Set-AzureEnvironment to change the name of an Azure environment.An Azure environment an independent deployment of Microsoft Azure, such as AzureCloud for global Azure and AzureChinaCloud for Azure operated by 21Vianet in China. You can also create on-premises Azure environments by using Azure Pack and the WAPack cmdlets. For more information, see Azure Pack (http://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack/default.aspx).NOTE: Do not change the properties of the AzureCloud or AzureChinaCloud environments. Use this cmdlet to change the values of private environments that you create.
-
-
-
- Set-AzureEnvironment
-
- Name
-
- Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
-
- PublishSettingsFileUrl
-
- Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
-
- ServiceEndpoint
-
- Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
-
- ManagementPortalUrl
-
- Changes the URL of the Azure Management Portal to the specified value.
-
- String
-
-
- StorageEndpoint
-
- Changes the default endpoint of storage services in the specified environment.
-
- String
-
-
- ActiveDirectoryEndpoint
-
- Changes the endpoint for Azure Active Directory authentication to the specified value.
-
- String
-
-
- ResourceManagerEndpoint
-
- Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- GalleryEndpoint
-
- Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
-
- AzureKeyVaultDnsSuffix
-
- The dns suffix used by KeyValut endpoints in the environment.
-
- String
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- The audience used when acquiring tokens for use with the KeyValut service in this environment.
-
- String
-
-
- Profile
-
- The Profile to set environment details in. If not specified, sets environment details in the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- Name
-
- Identifies the environment that is being changed. This parameter is required. The parameter value is case-sensitive. Wildcard characters are not permitted.
-
- String
-
- String
-
-
-
-
-
- PublishSettingsFileUrl
-
- Changes the URL for publish settings files in the specified environment. An Azure publish settings file is an XML file that contains information about your account and a management certificate that allows Windows PowerShell to sign into your Azure account on your behalf.
-
- String
-
- String
-
-
-
-
-
- ServiceEndpoint
-
- Changes the URL of the Azure service endpoint in the specified environment. The Azure service endpoint determines whether your application is managed by the global Azure platform, Azure operated by 21Vianet in China, or a private Azure installation.
-
- String
-
- String
-
-
-
-
-
- ManagementPortalUrl
-
- Changes the URL of the Azure Management Portal to the specified value.
-
- String
-
- String
-
-
-
-
-
- StorageEndpoint
-
- Changes the default endpoint of storage services in the specified environment.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Changes the endpoint for Azure Active Directory authentication to the specified value.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Changes the endpoint for Azure Resource Manager data, including data about resource groups associated with the account. For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- GalleryEndpoint
-
- Changes the endpoint for the Azure Resource Manager gallery to the specified value. The gallery endpoint is the location for resource group gallery templates. For more information about Azure resource groups and gallery templates, see the help topic for Get-AzureResourceGroupGalleryTemplate.
-
- String
-
- String
-
-
-
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the resource ID of a management API whose access is managed by Azure Active Directory.
-
- String
-
- String
-
-
-
-
-
- GraphEndpoint
-
- Changes the endpoint for Azure Active Directory Graph API to the specified value.
-
- String
-
- String
-
-
-
-
-
- AzureKeyVaultDnsSuffix
-
- The dns suffix used by KeyValut endpoints in the environment.
-
- String
-
- String
-
-
-
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- The audience used when acquiring tokens for use with the KeyValut service in this environment.
-
- String
-
- String
-
-
-
-
-
- Profile
-
- The Profile to set environment details in. If not specified, sets environment details in the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Change environment properties --------------------------
-
- PS C:\>
-
- PS C:\>Set-AzureEnvironment -Name ContosoEnv -PublishSettingsFileUrl "https://contoso.com" -StorageEndpoint "contoso.com" -GraphEndpoint "https://contoso.com/fwlink/?LinkID=104"
-
- This command changes the values of the PublishSettingsFileUrl, StorageEndpoint, and GraphEndpoint properties of the ContosoEnv environment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397629
-
-
- Add-AzureEnvironment
-
-
-
- Get-AzureEnvironment
-
-
-
- Remove-AzureEnvironment
-
-
-
-
-
-
-
- Set-AzureSubscription
-
- Creates or changes an Azure subscription
-
-
-
-
- Set
- AzureSubscription
-
-
-
- The Set-AzureSubscription cmdlet establishes and changes the properties of an Azure subscription. You can use this cmdlet to create a new subscription or change the properties of an existing subscription.
- To create a new subscription, select a unique name for the value of the SubscriptionName parameter. To change an existing subscription, use the SubscriptionName parameter to identify the subscription.
- This cmdlet changes the data in the subscription data file that you create when you use the Add-AzureAccount or Import-AzurePublishSettingsFile cmdlet to add an Azure account to Windows PowerShell.
-
-
-
- Set-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to set subscription details in. If not specified, sets subscription details in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Set-AzureSubscription
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to set subscription details in. If not specified, sets subscription details in the default (on disk) profile.
-
- AzureProfile
-
-
-
- Set-AzureSubscription
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
-
- Profile
-
- The Profile to set subscription details in. If not specified, sets subscription details in the default (on disk) profile.
-
- AzureProfile
-
-
-
-
-
- SubscriptionName
-
- Specifies the subscription name. If an Azure subscription with this name does not exist, this parameter creates a new subscription with the specified name. If the subscription exists, this parameter identifies the subscription and uses the other property values to change it.To get the names of existing Azure subscriptions, use the Get-AzureSubscription cmdlet.
-
- String
-
- String
-
-
-
-
-
- SubscriptionId
-
- Specifies the ID of the subscription. To get the subscription ID of an existing Azure subscription, use the Get-AzureSubscription cmdlet.
-
- String
-
- String
-
-
-
-
-
- Certificate
-
- Specifies a management certificate for the subscription. Management certificates are X.509 certificates that are saved as .cer files and uploaded to the Azure Management Portal. The certificate, including its private key, must be installed on the local computer, either in the current user's personal certificate store, or the local machine’s personal certificate store.
-
- X509Certificate2
-
- X509Certificate2
-
-
-
-
-
- ServiceEndpoint
-
- Sets or changes the custom service endpoint for the management service to the specified value.The service endpoint is the Azure management API endpoint in the Azure environment. You can create custom service endpoints and set a different service endpoint for each subscription.
-
- String
-
- String
-
-
-
-
-
- ResourceManagerEndpoint
-
- Sets or changes the endpoint for Azure Resource Manager data to the specified value.For more information about Azure Resource Manager, see Azure Resource Manager Cmdlets (http://go.microsoft.com/fwlink/?LinkID=394765) and Using Windows PowerShell with Resource Manager (http://go.microsoft.com/fwlink/?LinkID=394767).
-
- String
-
- String
-
-
-
-
-
- CurrentStorageAccountName
-
- Designates the specified storage account as the "current" storage account for the subscription. Enter the storage account name. The parameter value is case-sensitive. Wildcard characters are not permitted.This parameter does not create a storage account; it just associates the storage account with the subscription. To create a storage account, use the New-AzureStorageAccount cmdlet.
-
- String
-
- String
-
-
-
-
-
- Environment
-
- Specifies the environment name.
-
- String
-
- String
-
-
-
-
-
- PassThru
-
- Returns True ($true) if the operation succeeds and False ($false) if it fails. By default, this cmdlet does not return any output.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
- The Profile to set subscription details in. If not specified, sets subscription details in the default (on disk) profile.
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
- SubscriptionDataFile
-
- [Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.
-
- string
-
- string
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None or System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Create a new subscription --------------------------
-
- PS C:\>
-
- PS C:\>$thumbprint = <Certificate Thumbprint>
- PS C:\>$myCert = Get-Item cert:\\CurrentUser\My\$thumbprint
- PS C:\>Set-AzureSubscription -SubscriptionName ContosotTest -Certificate $myCert -SubscriptionID 12345
-
- These commands create the ContosoTest subscription in the default subscription data file. The commands add a management certificate and subscription ID for the new subscription.
-
-
- When you run the Set-AzureSubscription command, the cmdlet looks for a subscription with the name "ContosoTest". If it doesn't find one, it creates a new subscription with the specified values.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Change an existing subscription --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> $thumbprint = <Thumbprint-2>
- C:\PS> $differentCert = Get-Item cert:\\CurrentUser\My\$thumbprint
- C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -Certificate $differentCert
-
- These commands are very similar to the commands in Example 1. However, because the SubscriptionName parameter now identifies an existing subscription, Set-AzureSubscription uses the remaining parameters to change the values of the existing subscription rather than creating a new subscription
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Change the service endpoint --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering -ServiceEndpoint "https://management.core.contoso.com"
-
- This command adds or changes a custom service endpoint for the ContosoEngineering subscription.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 3: Clear property values --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription –SubscriptionName ContosoEngineering –Certificate $null -ResourceManagerEndpoint $null
-
- This command sets the values of the Certificate and ResourceManagerEndpoint properties to null ($null). This clears the values of those properties without changing other settings.
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 4: Use an alternate subscription data file --------------------------
-
- PS C:\>
-
- PS C:\> C:\PS> Set-AzureSubscription -SubscriptionName ContosoFinance -SubscriptionDataFile = C:\Azure\SubscriptionData.xml - CurrentStorageAccount ContosoStorage01
-
- This command changes the current storage account of the ContosoFinance subscription to ContosoStorage01. The command uses the SubscriptionDataFile parameter to change the data in the C:\Azure\SubscriptionData.xml subscription data file. By default, Set-AzureSubscription uses the default subscription data file in your roaming user profile.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=397630
-
-
- Add-AzureAccount
-
-
-
- Get-AzureSubscription
-
-
-
- Import-AzurePublishSettingsFile
-
-
-
- Remove-AzureSubscription
-
-
-
- Select-AzureSubscription
-
-
-
-
-
-
-
- Switch-AzureMode
-
- Switches between the Azure and Azure Resource Manager modules
-
-
-
-
- Switch
- AzureMode
-
-
-
- This is the Description section
- The Switch-AzureMode cmdlet switches between the Azure and Azure Resource Manager (AzureResourceManager) modules. These modules are not designed to be used in the same session. To determine which module is in your current session, use the Get-Module cmdlet.NOTE: The AzureResourceManager module is currently in preview. It might not provide the same management capabilities as the Azure module. Beginning in version 0.8,0, the Azure PowerShell installation includes both Azure modules and Azure Profile, a module of commands common to both modules. When you use the Azure PowerShell cmdlets, the Azure and Azure Profile modules are imported into the session by default. To remove the Azure module from the session and import the Azure Resource Manager module, use Switch-AzureMode. And, to switch back to the Azure module, just use Switch-AzureMode again. The Azure module includes cmdlets that help you to manage your Azure account in the traditional way. The cmdlets get, create, change, and remove individual resources such as storage accounts, virtual machines, SQL databases, web sites, media services, and cloud services.The new Azure Resource Manager module lets you manage your resources in an entirely new way. Instead of creating individual resources and trying to use them together, begin by imagining the service you want to create, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. Select a resource group template, including one of dozens in the Azure template gallery, or create your own. Each template provides a model of a complex service, complete with the resources that you need to support the service. Then use the template to create a resource group and its resources, and deploy and manage the related resources as a unit.You can use Switch-AzureMode to switch between Azure modules as often as you like. To set an Azure module as the default for all sessions, use the Global parameter when switching between modes.
-
-
-
- Switch-AzureMode
-
- Name
-
- Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
-
- String
-
-
- Global
-
- Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
-
- SwitchParameter
-
-
- Profile
-
-
-
- AzureProfile
-
-
-
-
-
- Name
-
- Switches to the specified module. To switch to the Azure Resource Manager module, type AzureResourceManager. To switch to the Azure module, type AzureServiceManagement. This parameter is required.
-
- String
-
- String
-
-
-
-
-
- Global
-
- Switches all Windows PowerShell session to the specified Azure module. Use this parameter to save your module selection for other sessions. This parameter is optional. By default, the switch affects only the current session.This parameter requires administrator permissions. To use this parameter, start Windows PowerShell with the "Run as administrator" option.
-
- SwitchParameter
-
- SwitchParameter
-
-
-
-
-
- Profile
-
-
-
- AzureProfile
-
- AzureProfile
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: Switch to the Azure Resource Manager module --------------------------
-
- PS C:\>
-
- PS C:\>Switch-AzureMode -Name AzureResourceManager
- PS C:\>Switch-AzureMode -Name AzureServiceManagement
-
- This command shows you how to switch between modules. The first command uses the Switch-AzureMode cmdlet to switch to the Azure Resource Manager module. The second command uses the Switch-AzureMode cmdlet to switch back to the Azure module.
-
-
- When you import either module, the AzureProfile module, which includes commands common to both modules, including Add-AzureAccount, Get-AzureSubscription, and Switch-AzureMode, is imported, too.
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 2: Switch all sessions to the Azure Resource Manager module --------------------------
-
- PS C:\>
-
- PS C:\>Switch-AzureMode -Name AzureResourceManager -Global
-
- This command uses the Global parameter of Switch-AzureMode to switch all Microsoft Azure PowerShell sessions to the Azure Resource Manager module. If you close this session and open an new one, the Azure Resource Manager module is imported by default.
-
-
- The Global parameter requires administrator permissions. To run this command, start Windows PowerShell with the "Run as administrator" option.
-
-
-
-
-
-
-
-
-
-
-
-
- Online Version:
- http://go.microsoft.com/fwlink/?LinkID=394398
-
-
- Azure Resource Manager Cmdlets
-
-
-
- Azure Service Management Cmdlets
-
-
-
- Azure Profile Cmdlets
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.format.ps1xml b/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.format.ps1xml
deleted file mode 100644
index b34dcf874e8b..000000000000
--- a/src/Common/Commands.ResourceManager.Profile/Microsoft.Azure.Commands.Profile.format.ps1xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
- Microsoft.Azure.Common.Authentication.Models.PSAzureAccount
-
- Microsoft.Azure.Common.Authentication.Models.PSAzureAccount
-
-
-
-
-
- 30
-
-
-
- 10
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id
-
-
- Type
-
-
- Subscriptions
-
-
- Tenants
-
-
-
-
-
-
-
-
diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index 28c6ed516e94..5f1e76cfdaf9 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -155,34 +155,15 @@
+
+ {cff09e81-1e31-444e-b4d4-a21e946c29e2}
+ Commands.ServiceManagement.Common
+
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Common/Storage/Azure.Storage.psd1 b/src/Common/Storage/Azure.Storage.psd1
new file mode 100644
index 000000000000..54f4e2bea750
--- /dev/null
+++ b/src/Common/Storage/Azure.Storage.psd1
@@ -0,0 +1,96 @@
+#
+# Module manifest for module 'Microsoft.WindowsAzure.Commands.Storage'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 9/19/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.8'
+
+# ID used to uniquely identify this module
+GUID = '00612bca-fa22-401d-a671-9cc48b010e3b'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = ' Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - Storage'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @(
+ '.\Microsoft.WindowsAzure.Commands.Storage.Types.ps1xml'
+)
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @(
+ '.\Microsoft.WindowsAzure.Commands.Storage.format.ps1xml'
+)
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.WindowsAzure.Commands.Storage.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @(
+ 'Get-AzureStorageContainerAcl',
+ 'Start-CopyAzureStorageBlob',
+ 'Stop-CopyAzureStorageBlob'
+)
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj b/src/Common/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj
similarity index 76%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj
rename to src/Common/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj
index b9d524e04086..ad83697aeb5a 100644
--- a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj
+++ b/src/Common/Storage/Commands.Storage.MsTest2/Commands.Storage.MsTest2.csproj
@@ -61,18 +61,4 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Main.cs b/src/Common/Storage/Commands.Storage.MsTest2/Main.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/Main.cs
rename to src/Common/Storage/Commands.Storage.MsTest2/Main.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestClassUnit.cs b/src/Common/Storage/Commands.Storage.MsTest2/TestClassUnit.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestClassUnit.cs
rename to src/Common/Storage/Commands.Storage.MsTest2/TestClassUnit.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestContext2.cs b/src/Common/Storage/Commands.Storage.MsTest2/TestContext2.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestContext2.cs
rename to src/Common/Storage/Commands.Storage.MsTest2/TestContext2.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestMethodUnit.cs b/src/Common/Storage/Commands.Storage.MsTest2/TestMethodUnit.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTest2/TestMethodUnit.cs
rename to src/Common/Storage/Commands.Storage.MsTest2/TestMethodUnit.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ClassConfig.cs b/src/Common/Storage/Commands.Storage.MsTestLib/ClassConfig.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ClassConfig.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/ClassConfig.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj b/src/Common/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj
similarity index 78%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj
rename to src/Common/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj
index fc03eb031fb0..66ed265773c3 100644
--- a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj
+++ b/src/Common/Storage/Commands.Storage.MsTestLib/Commands.Storage.MsTestLib.csproj
@@ -70,18 +70,4 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ConsoleLogger.cs b/src/Common/Storage/Commands.Storage.MsTestLib/ConsoleLogger.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ConsoleLogger.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/ConsoleLogger.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Exceptions.cs b/src/Common/Storage/Commands.Storage.MsTestLib/Exceptions.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Exceptions.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/Exceptions.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/FileLogger.cs b/src/Common/Storage/Commands.Storage.MsTestLib/FileLogger.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/FileLogger.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/FileLogger.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ILogger.cs b/src/Common/Storage/Commands.Storage.MsTestLib/ILogger.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/ILogger.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/ILogger.cs
diff --git a/src/Common/Commands.Common.Test/MSSharedLibKey.snk b/src/Common/Storage/Commands.Storage.MsTestLib/MSSharedLibKey.snk
similarity index 100%
rename from src/Common/Commands.Common.Test/MSSharedLibKey.snk
rename to src/Common/Storage/Commands.Storage.MsTestLib/MSSharedLibKey.snk
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/MessageBuilder.cs b/src/Common/Storage/Commands.Storage.MsTestLib/MessageBuilder.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/MessageBuilder.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/MessageBuilder.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/MethodConfig.cs b/src/Common/Storage/Commands.Storage.MsTestLib/MethodConfig.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/MethodConfig.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/MethodConfig.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage.MsTestLib/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Test.cs b/src/Common/Storage/Commands.Storage.MsTestLib/Test.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/Test.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/Test.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestConfig.cs b/src/Common/Storage/Commands.Storage.MsTestLib/TestConfig.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestConfig.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/TestConfig.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestHelper.cs b/src/Common/Storage/Commands.Storage.MsTestLib/TestHelper.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestHelper.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/TestHelper.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestLogger.cs b/src/Common/Storage/Commands.Storage.MsTestLib/TestLogger.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.MsTestLib/TestLogger.cs
rename to src/Common/Storage/Commands.Storage.MsTestLib/TestLogger.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Agent.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Agent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Agent.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Agent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/AssemblyInitCleanup.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/AssemblyInitCleanup.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/AssemblyInitCleanup.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/AssemblyInitCleanup.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/CLICommonBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/CLICommonBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/CLICommonBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/CLICommonBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AnonymousBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AnonymousBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AnonymousBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AnonymousBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEmulatorBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEmulatorBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEmulatorBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEmulatorBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEnvironment.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEnvironment.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEnvironment.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/AzureEnvironment.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/ConnectionStringBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/ConnectionStringBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/ConnectionStringBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/ConnectionStringBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/EnvConnectionStringBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/EnvConnectionStringBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/EnvConnectionStringBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/EnvConnectionStringBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/NameKeyContextBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/NameKeyContextBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/NameKeyContextBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/NameKeyContextBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/SecondaryEndPointBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/SecondaryEndPointBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/SecondaryEndPointBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTP/SecondaryEndPointBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AnonymousBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AnonymousBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AnonymousBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AnonymousBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/ConnectionStringBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/ConnectionStringBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/ConnectionStringBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/ConnectionStringBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/EnvConnectionStringBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/EnvConnectionStringBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/EnvConnectionStringBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/EnvConnectionStringBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/NameKeyContextBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/NameKeyContextBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/NameKeyContextBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/NameKeyContextBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SecondaryEndPointBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SecondaryEndPointBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SecondaryEndPointBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SecondaryEndPointBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SubScriptionBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SubScriptionBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SubScriptionBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/HTTPS/SubScriptionBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/BVT/StorageBVT.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIBlobFunc.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/CLIBlobFunc.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIBlobFunc.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/CLIBlobFunc.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIContainerFunc.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/CLIContainerFunc.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIContainerFunc.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/CLIContainerFunc.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIContextFunc.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/CLIContextFunc.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIContextFunc.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/CLIContextFunc.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIQueueFunc.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/CLIQueueFunc.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLIQueueFunc.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/CLIQueueFunc.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLITableFunc.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/CLITableFunc.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/CLITableFunc.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/CLITableFunc.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj b/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
similarity index 88%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
index d04e196baca8..ba7d2757b27d 100644
--- a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
+++ b/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
@@ -189,7 +189,7 @@
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
-
+
{a3965b66-5a3e-4b8c-9574-28e5958d4828}
Commands.ScenarioTest
@@ -239,23 +239,5 @@
-
-
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Common/TestBase.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Common/TestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Common/TestBase.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Common/TestBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlob.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlob.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlob.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlob.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlobContent.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlobContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlobContent.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetBlobContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetContainer.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetContainer.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetCopyState.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetCopyState.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetCopyState.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/GetCopyState.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/NewContainer.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/NewContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/NewContainer.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/NewContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveBlob.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveBlob.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveBlob.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveBlob.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveContainer.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveContainer.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/RemoveContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetBlobContent.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetBlobContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetBlobContent.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetBlobContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetContainerAcl.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetContainerAcl.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetContainerAcl.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetContainerAcl.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StartCopy.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StartCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StartCopy.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StartCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StopCopy.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StopCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StopCopy.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Blob/StopCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Queue/GetQueue.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Queue/GetQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Queue/GetQueue.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Queue/GetQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Queue/RemoveQueue.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Queue/RemoveQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Queue/RemoveQueue.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Queue/RemoveQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/StorageContext.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/StorageContext.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/StorageContext.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/StorageContext.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Table/RemoveTable.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Table/RemoveTable.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Functional/Table/RemoveTable.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Functional/Table/RemoveTable.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/GB18030Test/BlobContentTest.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/GB18030Test/BlobContentTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/GB18030Test/BlobContentTest.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/GB18030Test/BlobContentTest.cs
diff --git a/src/Common/Commands.Profile/MSSharedLibKey.snk b/src/Common/Storage/Commands.Storage.ScenarioTest/MSSharedLibKey.snk
similarity index 100%
rename from src/Common/Commands.Profile/MSSharedLibKey.snk
rename to src/Common/Storage/Commands.Storage.ScenarioTest/MSSharedLibKey.snk
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/PowerShellAgent.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/PowerShellAgent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/PowerShellAgent.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/PowerShellAgent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/PsTag.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/PsTag.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/PsTag.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/PsTag.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/README b/src/Common/Storage/Commands.Storage.ScenarioTest/README
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/README
rename to src/Common/Storage/Commands.Storage.ScenarioTest/README
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Resources/TestData.xml b/src/Common/Storage/Commands.Storage.ScenarioTest/Resources/TestData.xml
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Resources/TestData.xml
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Resources/TestData.xml
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/StorageObjectType.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/StorageObjectType.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/StorageObjectType.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/StorageObjectType.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudBlobUtil.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudBlobUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudBlobUtil.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudBlobUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudQueueUtil.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudQueueUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudQueueUtil.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudQueueUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudTableUtil.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudTableUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/CloudTableUtil.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Util/CloudTableUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/FileUtil.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Util/FileUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/FileUtil.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Util/FileUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/PowerShellExtension.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Util/PowerShellExtension.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Util/PowerShellExtension.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Util/PowerShellExtension.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Utility.cs b/src/Common/Storage/Commands.Storage.ScenarioTest/Utility.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Utility.cs
rename to src/Common/Storage/Commands.Storage.ScenarioTest/Utility.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/deploy.cmd b/src/Common/Storage/Commands.Storage.ScenarioTest/deploy.cmd
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/deploy.cmd
rename to src/Common/Storage/Commands.Storage.ScenarioTest/deploy.cmd
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config b/src/Common/Storage/Commands.Storage.ScenarioTest/packages.config
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/packages.config
rename to src/Common/Storage/Commands.Storage.ScenarioTest/packages.config
diff --git a/src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/storagetest.cmd b/src/Common/Storage/Commands.Storage.ScenarioTest/storagetest.cmd
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/storagetest.cmd
rename to src/Common/Storage/Commands.Storage.ScenarioTest/storagetest.cmd
diff --git a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj b/src/Common/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj
similarity index 85%
rename from src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj
rename to src/Common/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj
index 5910418946bc..39cbf00d1f00 100644
--- a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj
+++ b/src/Common/Storage/Commands.Storage.StorageTestLib/Commands.Storage.StorageTestLib.csproj
@@ -99,18 +99,4 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Helpers.cs b/src/Common/Storage/Commands.Storage.StorageTestLib/Helpers.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Helpers.cs
rename to src/Common/Storage/Commands.Storage.StorageTestLib/Helpers.cs
diff --git a/src/Common/Commands.ResourceManager.Common/MSSharedLibKey.snk b/src/Common/Storage/Commands.Storage.StorageTestLib/MSSharedLibKey.snk
similarity index 100%
rename from src/Common/Commands.ResourceManager.Common/MSSharedLibKey.snk
rename to src/Common/Storage/Commands.Storage.StorageTestLib/MSSharedLibKey.snk
diff --git a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage.StorageTestLib/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage.StorageTestLib/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/TestConstants.cs b/src/Common/Storage/Commands.Storage.StorageTestLib/TestConstants.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/TestConstants.cs
rename to src/Common/Storage/Commands.Storage.StorageTestLib/TestConstants.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/packages.config b/src/Common/Storage/Commands.Storage.StorageTestLib/packages.config
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.StorageTestLib/packages.config
rename to src/Common/Storage/Commands.Storage.StorageTestLib/packages.config
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobContentTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobContentTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobContentTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobContentTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageBlobTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageContainerTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageContainerTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageContainerTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/GetAzureStorageContainerTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageBlobSasTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageBlobSasTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageBlobSasTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageBlobSasTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerSasTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerSasTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerSasTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerSasTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/NewAzureStorageContainerTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageBlobTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageBlobTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageBlobTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageBlobTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageBlobContentTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageBlobContentTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageBlobContentTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageBlobContentTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageContainerAclTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageContainerAclTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageContainerAclTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/Cmdlet/SetAzureStorageContainerAclTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs b/src/Common/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageCloudBlobCmdletBaseTest.cs b/src/Common/Storage/Commands.Storage.Test/Blob/StorageCloudBlobCmdletBaseTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageCloudBlobCmdletBaseTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Blob/StorageCloudBlobCmdletBaseTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj b/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
similarity index 90%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
rename to src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
index c7bfc06a2bbd..83389c210171 100644
--- a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
+++ b/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
@@ -231,7 +231,7 @@
-
+
{3b48a77b-5956-4a62-9081-92ba04b02b27}
Commands.Common.Test
@@ -239,6 +239,10 @@
{c1bda476-a5cc-4394-914d-48b0ec31a710}
Commands.ScenarioTests.Common
+
+ {cff09e81-1e31-444e-b4d4-a21e946c29e2}
+ Commands.ServiceManagement.Common
+
{08cf7da7-0392-4a19-b79b-e1ff67cdb81a}
Commands.Storage
@@ -276,23 +280,5 @@
-
-
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/NewAzureStorageContextTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/NewAzureStorageContextTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/NewAzureStorageContextTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/NewAzureStorageContextTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceHourMetricsTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceHourMetricsTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceHourMetricsTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceHourMetricsTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceLoggingTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceLoggingTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceLoggingTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/Cmdlet/SetAzureStorageServiceLoggingTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/CmdletOperationContextTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/CmdletOperationContextTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/CmdletOperationContextTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/CmdletOperationContextTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/CommunicationExceptionUtilTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/CommunicationExceptionUtilTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/CommunicationExceptionUtilTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/CommunicationExceptionUtilTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs b/src/Common/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/FileNamingGenerator.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/IStorageManagement.cs b/src/Common/Storage/Commands.Storage.Test/Common/IStorageManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/IStorageManagement.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/IStorageManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/MockTransferJobRunner.cs b/src/Common/Storage/Commands.Storage.Test/Common/MockTransferJobRunner.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/MockTransferJobRunner.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/MockTransferJobRunner.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/MockupException.cs b/src/Common/Storage/Commands.Storage.Test/Common/MockupException.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/MockupException.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/MockupException.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/NameUtilTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/NameUtilTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/NameUtilTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/NameUtilTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/ResourceAlreadyExistExceptionTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/ResourceAlreadyExistExceptionTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/ResourceAlreadyExistExceptionTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/ResourceAlreadyExistExceptionTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/ResourceNotFoundExceptionTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/ResourceNotFoundExceptionTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/ResourceNotFoundExceptionTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/ResourceNotFoundExceptionTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/SasTokenHelperTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/SasTokenHelperTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/SasTokenHelperTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/SasTokenHelperTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/StorageCloudCmdletBaseTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/StorageCloudCmdletBaseTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/StorageCloudCmdletBaseTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/StorageCloudCmdletBaseTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Common/StorageExceptionUtilTest.cs b/src/Common/Storage/Commands.Storage.Test/Common/StorageExceptionUtilTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Common/StorageExceptionUtilTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Common/StorageExceptionUtilTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileContentTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageFileTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageShareTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageShareTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageShareTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/GetAzureStorageShareTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageDirectoryTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageShareTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageShareTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageShareTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/NewAzureStorageShareTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageDirectoryTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageDirectoryTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageDirectoryTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageDirectoryTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageFileTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageFileTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageFileTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageFileTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageShareTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageShareTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageShareTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/RemoveAzureStorageShareTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/SetAzureStorageFileContentTest.cs b/src/Common/Storage/Commands.Storage.Test/File/Cmdlet/SetAzureStorageFileContentTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/Cmdlet/SetAzureStorageFileContentTest.cs
rename to src/Common/Storage/Commands.Storage.Test/File/Cmdlet/SetAzureStorageFileContentTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/FileAssertUtil.cs b/src/Common/Storage/Commands.Storage.Test/File/FileAssertUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/FileAssertUtil.cs
rename to src/Common/Storage/Commands.Storage.Test/File/FileAssertUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/PSCmdletReflectionHelper.cs b/src/Common/Storage/Commands.Storage.Test/File/PSCmdletReflectionHelper.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/PSCmdletReflectionHelper.cs
rename to src/Common/Storage/Commands.Storage.Test/File/PSCmdletReflectionHelper.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/File/StorageFileTestBase.cs b/src/Common/Storage/Commands.Storage.Test/File/StorageFileTestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/File/StorageFileTestBase.cs
rename to src/Common/Storage/Commands.Storage.Test/File/StorageFileTestBase.cs
diff --git a/src/Common/Commands.ResourceManager.Profile.Test/MSSharedLibKey.snk b/src/Common/Storage/Commands.Storage.Test/MSSharedLibKey.snk
similarity index 100%
rename from src/Common/Commands.ResourceManager.Profile.Test/MSSharedLibKey.snk
rename to src/Common/Storage/Commands.Storage.Test/MSSharedLibKey.snk
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage.Test/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage.Test/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Queue/GetAzureStorageQueueTest.cs b/src/Common/Storage/Commands.Storage.Test/Queue/GetAzureStorageQueueTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Queue/GetAzureStorageQueueTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Queue/GetAzureStorageQueueTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueSasTest.cs b/src/Common/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueSasTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueSasTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueSasTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueTest.cs b/src/Common/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Queue/NewAzureStorageQueueTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Queue/RemoveAzureStorageQueueTest.cs b/src/Common/Storage/Commands.Storage.Test/Queue/RemoveAzureStorageQueueTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Queue/RemoveAzureStorageQueueTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Queue/RemoveAzureStorageQueueTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Queue/StorageQueueTestBase.cs b/src/Common/Storage/Commands.Storage.Test/Queue/StorageQueueTestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Queue/StorageQueueTestBase.cs
rename to src/Common/Storage/Commands.Storage.Test/Queue/StorageQueueTestBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageBlobManagement.cs b/src/Common/Storage/Commands.Storage.Test/Service/MockStorageBlobManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageBlobManagement.cs
rename to src/Common/Storage/Commands.Storage.Test/Service/MockStorageBlobManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageFileManagement.cs b/src/Common/Storage/Commands.Storage.Test/Service/MockStorageFileManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageFileManagement.cs
rename to src/Common/Storage/Commands.Storage.Test/Service/MockStorageFileManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageQueueManagement.cs b/src/Common/Storage/Commands.Storage.Test/Service/MockStorageQueueManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageQueueManagement.cs
rename to src/Common/Storage/Commands.Storage.Test/Service/MockStorageQueueManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageTableManagement.cs b/src/Common/Storage/Commands.Storage.Test/Service/MockStorageTableManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Service/MockStorageTableManagement.cs
rename to src/Common/Storage/Commands.Storage.Test/Service/MockStorageTableManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/StorageTestBase.cs b/src/Common/Storage/Commands.Storage.Test/StorageTestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/StorageTestBase.cs
rename to src/Common/Storage/Commands.Storage.Test/StorageTestBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/GetAzureStorageTableStoredAccessPolicyTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/GetAzureStorageTableStoredAccessPolicyTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/GetAzureStorageTableStoredAccessPolicyTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/GetAzureStorageTableStoredAccessPolicyTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/GetAzureStorageTableTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/GetAzureStorageTableTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/GetAzureStorageTableTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/GetAzureStorageTableTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableSasTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableSasTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableSasTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableSasTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/NewAzureStorageTableTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/NewAzureStorageTableTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableStoredAccessPolicyTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableStoredAccessPolicyTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableStoredAccessPolicyTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableStoredAccessPolicyTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/RemoveAzureStorageTableTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/SetAzureStorageTableStoredAccessPolicyTest.cs b/src/Common/Storage/Commands.Storage.Test/Table/SetAzureStorageTableStoredAccessPolicyTest.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/SetAzureStorageTableStoredAccessPolicyTest.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/SetAzureStorageTableStoredAccessPolicyTest.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Table/StorageTableStorageTestBase.cs b/src/Common/Storage/Commands.Storage.Test/Table/StorageTableStorageTestBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/Table/StorageTableStorageTestBase.cs
rename to src/Common/Storage/Commands.Storage.Test/Table/StorageTableStorageTestBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config b/src/Common/Storage/Commands.Storage.Test/packages.config
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage.Test/packages.config
rename to src/Common/Storage/Commands.Storage.Test/packages.config
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlob.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlob.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlob.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlob.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobContent.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobContent.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobCopyState.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobCopyState.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobCopyState.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageBlobCopyState.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainer.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainer.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainerStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainerStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainerStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainerStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageBlobSasToken.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageBlobSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageBlobSasToken.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageBlobSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainer.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainer.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageBlob.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageBlob.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageBlob.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageBlob.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainer.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainer.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainerStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainerStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainerStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainerStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerAcl.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerAcl.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerAcl.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerAcl.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/StartAzureStorageBlobCopy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/StartAzureStorageBlobCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/StartAzureStorageBlobCopy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/StartAzureStorageBlobCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/StopAzureStorageBlobCopy.cs b/src/Common/Storage/Commands.Storage/Blob/Cmdlet/StopAzureStorageBlobCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/StopAzureStorageBlobCopy.cs
rename to src/Common/Storage/Commands.Storage/Blob/Cmdlet/StopAzureStorageBlobCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/DataMovementUserData.cs b/src/Common/Storage/Commands.Storage/Blob/DataMovementUserData.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/DataMovementUserData.cs
rename to src/Common/Storage/Commands.Storage/Blob/DataMovementUserData.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/StorageCloudBlobCmdletBase.cs b/src/Common/Storage/Commands.Storage/Blob/StorageCloudBlobCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/StorageCloudBlobCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/Blob/StorageCloudBlobCmdletBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Blob/StorageDataMovementCmdletBase.cs b/src/Common/Storage/Commands.Storage/Blob/StorageDataMovementCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Blob/StorageDataMovementCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/Blob/StorageDataMovementCmdletBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj b/src/Common/Storage/Commands.Storage/Commands.Storage.csproj
similarity index 95%
rename from src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj
rename to src/Common/Storage/Commands.Storage/Commands.Storage.csproj
index 8bf56cd89953..0c08503c0dd3 100644
--- a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj
+++ b/src/Common/Storage/Commands.Storage/Commands.Storage.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ServiceManagement\Azure\Storage
+ ..\..\..\Package\Debug\ServiceManagement\Azure\Azure.Storage
DEBUG;TRACE
prompt
4
@@ -32,7 +32,7 @@
true
MSSharedLibKey.snk
true
- ..\..\..\Package\Release\ServiceManagement\Azure\Storage
+ ..\..\..\Package\Release\ServiceManagement\Azure\Azure.Storage
TRACE;SIGN
true
pdbonly
@@ -50,7 +50,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -280,6 +280,10 @@
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
+
+ {cff09e81-1e31-444e-b4d4-a21e946c29e2}
+ Commands.ServiceManagement.Common
+
@@ -288,6 +292,10 @@
+
+ Azure.Storage.psd1
+ PreserveNewest
+
PreserveNewest
Designer
@@ -310,12 +318,7 @@
-
-
-
-
-
powershell.exe -ExecutionPolicy Unrestricted -File "$(ProjectDir)\PostBuild.ps1" "..\..\..\ResourceManager\AzureResourceManager"
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/AccessPolicyHelper.cs b/src/Common/Storage/Commands.Storage/Common/AccessPolicyHelper.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/AccessPolicyHelper.cs
rename to src/Common/Storage/Commands.Storage/Common/AccessPolicyHelper.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/BlobToAzureFileNameResolver.cs b/src/Common/Storage/Commands.Storage/Common/BlobToAzureFileNameResolver.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/BlobToAzureFileNameResolver.cs
rename to src/Common/Storage/Commands.Storage/Common/BlobToAzureFileNameResolver.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/BlobToFileNameResolver.cs b/src/Common/Storage/Commands.Storage/Common/BlobToFileNameResolver.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/BlobToFileNameResolver.cs
rename to src/Common/Storage/Commands.Storage/Common/BlobToFileNameResolver.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/BlobToFileSystemNameResolver.cs b/src/Common/Storage/Commands.Storage/Common/BlobToFileSystemNameResolver.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/BlobToFileSystemNameResolver.cs
rename to src/Common/Storage/Commands.Storage/Common/BlobToFileSystemNameResolver.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/BlobUploadRequestQueue.cs b/src/Common/Storage/Commands.Storage/Common/BlobUploadRequestQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/BlobUploadRequestQueue.cs
rename to src/Common/Storage/Commands.Storage/Common/BlobUploadRequestQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageCORSRule.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageCORSRule.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageCORSRule.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageCORSRule.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceLogging.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceLogging.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceLogging.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceLogging.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceMetrics.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceMetrics.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceMetrics.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/GetAzureStorageServiceMetrics.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/RemoveAzureStorageCORSRule.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/RemoveAzureStorageCORSRule.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/RemoveAzureStorageCORSRule.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/RemoveAzureStorageCORSRule.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageCORSRule.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageCORSRule.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageCORSRule.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageCORSRule.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceLogging.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceLogging.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceLogging.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceLogging.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceMetrics.cs b/src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceMetrics.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceMetrics.cs
rename to src/Common/Storage/Commands.Storage/Common/Cmdlet/SetAzureStorageServiceMetrics.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/CmdletOperationContext.cs b/src/Common/Storage/Commands.Storage/Common/CmdletOperationContext.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/CmdletOperationContext.cs
rename to src/Common/Storage/Commands.Storage/Common/CmdletOperationContext.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/CommunicationExceptionUtil.cs b/src/Common/Storage/Commands.Storage/Common/CommunicationExceptionUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/CommunicationExceptionUtil.cs
rename to src/Common/Storage/Commands.Storage/Common/CommunicationExceptionUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ConfirmTaskCompletionSource.cs b/src/Common/Storage/Commands.Storage/Common/ConfirmTaskCompletionSource.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ConfirmTaskCompletionSource.cs
rename to src/Common/Storage/Commands.Storage/Common/ConfirmTaskCompletionSource.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/DataManagementWrapper.cs b/src/Common/Storage/Commands.Storage/Common/DataManagementWrapper.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/DataManagementWrapper.cs
rename to src/Common/Storage/Commands.Storage/Common/DataManagementWrapper.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ITransferJobRunner.cs b/src/Common/Storage/Commands.Storage/Common/ITransferJobRunner.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ITransferJobRunner.cs
rename to src/Common/Storage/Commands.Storage/Common/ITransferJobRunner.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/LimitedConcurrencyTaskScheduler.cs b/src/Common/Storage/Commands.Storage/Common/LimitedConcurrencyTaskScheduler.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/LimitedConcurrencyTaskScheduler.cs
rename to src/Common/Storage/Commands.Storage/Common/LimitedConcurrencyTaskScheduler.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/NameUtil.cs b/src/Common/Storage/Commands.Storage/Common/NameUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/NameUtil.cs
rename to src/Common/Storage/Commands.Storage/Common/NameUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ResourceAlreadyExistException.cs b/src/Common/Storage/Commands.Storage/Common/ResourceAlreadyExistException.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ResourceAlreadyExistException.cs
rename to src/Common/Storage/Commands.Storage/Common/ResourceAlreadyExistException.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ResourceNotFoundException.cs b/src/Common/Storage/Commands.Storage/Common/ResourceNotFoundException.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ResourceNotFoundException.cs
rename to src/Common/Storage/Commands.Storage/Common/ResourceNotFoundException.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/SasTokenHelper.cs b/src/Common/Storage/Commands.Storage/Common/SasTokenHelper.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/SasTokenHelper.cs
rename to src/Common/Storage/Commands.Storage/Common/SasTokenHelper.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ServiceMetricsType.cs b/src/Common/Storage/Commands.Storage/Common/ServiceMetricsType.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ServiceMetricsType.cs
rename to src/Common/Storage/Commands.Storage/Common/ServiceMetricsType.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/ServicePropertiesExtension.cs b/src/Common/Storage/Commands.Storage/Common/ServicePropertiesExtension.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/ServicePropertiesExtension.cs
rename to src/Common/Storage/Commands.Storage/Common/ServicePropertiesExtension.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs b/src/Common/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageExceptionUtil.cs b/src/Common/Storage/Commands.Storage/Common/StorageExceptionUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/StorageExceptionUtil.cs
rename to src/Common/Storage/Commands.Storage/Common/StorageExceptionUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageExtensions.cs b/src/Common/Storage/Commands.Storage/Common/StorageExtensions.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/StorageExtensions.cs
rename to src/Common/Storage/Commands.Storage/Common/StorageExtensions.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageNouns.cs b/src/Common/Storage/Commands.Storage/Common/StorageNouns.cs
similarity index 74%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/StorageNouns.cs
rename to src/Common/Storage/Commands.Storage/Common/StorageNouns.cs
index 396734e23e02..1c7bb28e2ed7 100644
--- a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageNouns.cs
+++ b/src/Common/Storage/Commands.Storage/Common/StorageNouns.cs
@@ -22,27 +22,27 @@ public static class StorageNouns
///
/// Blob cmdlet name
///
- public const string Blob = "AzureRMStorageBlob";
+ public const string Blob = "AzureStorageBlob";
///
/// Blobcontent cmdlet name
///
- public const string BlobContent = "AzureRMStorageBlobContent";
+ public const string BlobContent = "AzureStorageBlobContent";
///
/// blob snapshot cmdlet name
///
- public const string BlobSnapshot = "AzureRMStorageBlobSnapshot";
+ public const string BlobSnapshot = "AzureStorageBlobSnapshot";
///
/// Container cmdlet name
///
- public const string Container = "AzureRMStorageContainer";
+ public const string Container = "AzureStorageContainer";
///
/// Container acl cmdlet name
///
- public const string ContainerAcl = "AzureRMStorageContainerAcl";
+ public const string ContainerAcl = "AzureStorageContainerAcl";
///
/// Http protocol
@@ -57,12 +57,12 @@ public static class StorageNouns
///
/// Queue cmdlet name
///
- public const string Queue = "AzureRMStorageQueue";
+ public const string Queue = "AzureStorageQueue";
///
/// Storage context cmdlet name
///
- public const string StorageContext = "AzureRMStorageContext";
+ public const string StorageContext = "AzureStorageContext";
///
/// Storage account name
@@ -72,12 +72,12 @@ public static class StorageNouns
///
/// Table cmdlet name
///
- public const string Table = "AzureRMStorageTable";
+ public const string Table = "AzureStorageTable";
///
/// Copy azure storage blob
///
- public const string CopyBlob = "AzureRMStorageBlobCopy";
+ public const string CopyBlob = "AzureStorageBlobCopy";
///
/// Copy azure storage blob deprecated name
@@ -87,78 +87,78 @@ public static class StorageNouns
///
/// Copy status for azure storage blob
///
- public const string CopyBlobStatus = "AzureRMStorageBlobCopyState";
+ public const string CopyBlobStatus = "AzureStorageBlobCopyState";
///
/// Azure storage service hour metrics
///
- public const string StorageServiceMetrics = "AzureRMStorageServiceMetricsProperty";
+ public const string StorageServiceMetrics = "AzureStorageServiceMetricsProperty";
///
/// Azure storage service logging
///
- public const string StorageServiceLogging = "AzureRMStorageServiceLoggingProperty";
+ public const string StorageServiceLogging = "AzureStorageServiceLoggingProperty";
///
/// Azure storage CORS rule
///
- public const string StorageCORSRule = "AzureRMStorageCORSRule";
+ public const string StorageCORSRule = "AzureStorageCORSRule";
///
/// Azure storage container sas
///
- public const string ContainerSas = "AzureRMStorageContainerSASToken";
+ public const string ContainerSas = "AzureStorageContainerSASToken";
///
/// Azure storage blob sas
///
- public const string BlobSas = "AzureRMStorageBlobSASToken";
+ public const string BlobSas = "AzureStorageBlobSASToken";
///
/// Azure storage file share sas
///
- public const string ShareSas = "AzureRMStorageShareSASToken";
+ public const string ShareSas = "AzureStorageShareSASToken";
///
/// Azure storage file sas
///
- public const string FileSas = "AzureRMStorageFileSASToken";
+ public const string FileSas = "AzureStorageFileSASToken";
///
/// Azure storage table sas
///
- public const string TableSas = "AzureRMStorageTableSASToken";
+ public const string TableSas = "AzureStorageTableSASToken";
///
/// Azure storage queue sas
///
- public const string QueueSas = "AzureRMStorageQueueSASToken";
+ public const string QueueSas = "AzureStorageQueueSASToken";
///
/// Azure storage table stored access policy
///
- public const string TableStoredAccessPolicy = "AzureRMStorageTableStoredAccessPolicy";
+ public const string TableStoredAccessPolicy = "AzureStorageTableStoredAccessPolicy";
///
/// Azure storage share stored access policy
///
- public const string ShareStoredAccessPolicy = "AzureRMStorageShareStoredAccessPolicy";
+ public const string ShareStoredAccessPolicy = "AzureStorageShareStoredAccessPolicy";
///
/// Azure storage container stored access policy
///
- public const string ContainerStoredAccessPolicy = "AzureRMStorageContainerStoredAccessPolicy";
+ public const string ContainerStoredAccessPolicy = "AzureStorageContainerStoredAccessPolicy";
///
/// Azure storage container stored access policy
///
- public const string QueueStoredAccessPolicy = "AzureRMStorageQueueStoredAccessPolicy";
+ public const string QueueStoredAccessPolicy = "AzureStorageQueueStoredAccessPolicy";
///
/// Azure storage share quota
///
- public const string ShareQuota = "AzureRMStorageShareQuota";
+ public const string ShareQuota = "AzureStorageShareQuota";
///
/// Default service metrics version
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageServiceType.cs b/src/Common/Storage/Commands.Storage/Common/StorageServiceType.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/StorageServiceType.cs
rename to src/Common/Storage/Commands.Storage/Common/StorageServiceType.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/TaskOutputStream.cs b/src/Common/Storage/Commands.Storage/Common/TaskOutputStream.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/TaskOutputStream.cs
rename to src/Common/Storage/Commands.Storage/Common/TaskOutputStream.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/TransferJobRunnerFactory.cs b/src/Common/Storage/Commands.Storage/Common/TransferJobRunnerFactory.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/TransferJobRunnerFactory.cs
rename to src/Common/Storage/Commands.Storage/Common/TransferJobRunnerFactory.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Util.cs b/src/Common/Storage/Commands.Storage/Common/Util.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Common/Util.cs
rename to src/Common/Storage/Commands.Storage/Common/Util.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs b/src/Common/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/AzureStorageFileException.cs b/src/Common/Storage/Commands.Storage/File/AzureStorageFileException.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/AzureStorageFileException.cs
rename to src/Common/Storage/Commands.Storage/File/AzureStorageFileException.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFile.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFile.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFile.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFile.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileContent.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileContent.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileCopyState.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileCopyState.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileCopyState.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageFileCopyState.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShare.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShare.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShare.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShare.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShareStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShareStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShareStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShareStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageDirectory.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageDirectory.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageDirectory.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageDirectory.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShare.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShare.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShare.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShare.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageDirectory.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageDirectory.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageDirectory.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageDirectory.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageFile.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageFile.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageFile.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageFile.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShare.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShare.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShare.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShare.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShareStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShareStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShareStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShareStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageFileContent.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageFileContent.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageFileContent.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageFileContent.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareQuota.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareQuota.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareQuota.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareQuota.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/StartAzureStorageFileCopy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/StartAzureStorageFileCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/StartAzureStorageFileCopy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/StartAzureStorageFileCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/StopAzureStorageFileCopy.cs b/src/Common/Storage/Commands.Storage/File/Cmdlet/StopAzureStorageFileCopy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Cmdlet/StopAzureStorageFileCopy.cs
rename to src/Common/Storage/Commands.Storage/File/Cmdlet/StopAzureStorageFileCopy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/Constants.cs b/src/Common/Storage/Commands.Storage/File/Constants.cs
similarity index 87%
rename from src/ServiceManagement/Storage/Commands.Storage/File/Constants.cs
rename to src/Common/Storage/Commands.Storage/File/Constants.cs
index 200595ced7a5..f7e3b8e67a43 100644
--- a/src/ServiceManagement/Storage/Commands.Storage/File/Constants.cs
+++ b/src/Common/Storage/Commands.Storage/File/Constants.cs
@@ -34,37 +34,37 @@ internal static class Constants
///
/// Cmdlet name for storage context.
///
- public const string StorageContextCmdletName = "AzureRMStorageContext";
+ public const string StorageContextCmdletName = "AzureStorageContext";
///
/// Cmdlet name for file share.
///
- public const string ShareCmdletName = "AzureRMStorageShare";
+ public const string ShareCmdletName = "AzureStorageShare";
///
/// Cmdlet name for file directory.
///
- public const string FileDirectoryCmdletName = "AzureRMStorageDirectory";
+ public const string FileDirectoryCmdletName = "AzureStorageDirectory";
///
/// Cmdlet name for file.
///
- public const string FileCmdletName = "AzureRMStorageFile";
+ public const string FileCmdletName = "AzureStorageFile";
///
/// Cmdlet name for file content.
///
- public const string FileContentCmdletName = "AzureRMStorageFileContent";
+ public const string FileContentCmdletName = "AzureStorageFileContent";
///
/// Cmdlet name for file copy.
///
- public const string FileCopyCmdletName = "AzureRMStorageFileCopy";
+ public const string FileCopyCmdletName = "AzureStorageFileCopy";
///
/// Cmdlet name for file copy state.
///
- public const string FileCopyCmdletStateName = "AzureRMStorageFileCopyState";
+ public const string FileCopyCmdletStateName = "AzureStorageFileCopyState";
///
/// Stores the default endpoint suffix for storage accounts.
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/ErrorIdConstants.cs b/src/Common/Storage/Commands.Storage/File/ErrorIdConstants.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/ErrorIdConstants.cs
rename to src/Common/Storage/Commands.Storage/File/ErrorIdConstants.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/NamingUtil.cs b/src/Common/Storage/Commands.Storage/File/NamingUtil.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/NamingUtil.cs
rename to src/Common/Storage/Commands.Storage/File/NamingUtil.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/StorageClientExtensions.cs b/src/Common/Storage/Commands.Storage/File/StorageClientExtensions.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/StorageClientExtensions.cs
rename to src/Common/Storage/Commands.Storage/File/StorageClientExtensions.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/File/StorageFileDataManagementCmdletBase.cs b/src/Common/Storage/Commands.Storage/File/StorageFileDataManagementCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/File/StorageFileDataManagementCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/File/StorageFileDataManagementCmdletBase.cs
diff --git a/src/Common/Commands.ResourceManager.Profile/MSSharedLibKey.snk b/src/Common/Storage/Commands.Storage/MSSharedLibKey.snk
similarity index 100%
rename from src/Common/Commands.ResourceManager.Profile/MSSharedLibKey.snk
rename to src/Common/Storage/Commands.Storage/MSSharedLibKey.snk
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1 b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
rename to src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml
rename to src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.format.ps1xml b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.format.ps1xml
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.format.ps1xml
rename to src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.format.ps1xml
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.types.ps1xml b/src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.types.ps1xml
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.types.ps1xml
rename to src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.types.ps1xml
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageBlobManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/IStorageBlobManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageBlobManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/IStorageBlobManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageFileManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/IStorageFileManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageFileManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/IStorageFileManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/IStorageManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/IStorageManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageQueueManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/IStorageQueueManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageQueueManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/IStorageQueueManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageTableManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/IStorageTableManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/IStorageTableManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/IStorageTableManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageBlobManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/StorageBlobManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageBlobManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/StorageBlobManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageFileManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/StorageFileManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageFileManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/StorageFileManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageQueueManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/StorageQueueManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageQueueManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/StorageQueueManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageTableManagement.cs b/src/Common/Storage/Commands.Storage/Model/Contract/StorageTableManagement.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/Contract/StorageTableManagement.cs
rename to src/Common/Storage/Commands.Storage/Model/Contract/StorageTableManagement.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBase.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBase.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBlob.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBlob.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBlob.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageBlob.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageContainer.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageContainer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageContainer.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageContainer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageQueue.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageQueue.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageTable.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageTable.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/AzureStorageTable.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/AzureStorageTable.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/PSCorsRule.cs b/src/Common/Storage/Commands.Storage/Model/ResourceModel/PSCorsRule.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Model/ResourceModel/PSCorsRule.cs
rename to src/Common/Storage/Commands.Storage/Model/ResourceModel/PSCorsRule.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/PostBuild.ps1 b/src/Common/Storage/Commands.Storage/PostBuild.ps1
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/PostBuild.ps1
rename to src/Common/Storage/Commands.Storage/PostBuild.ps1
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Properties/AssemblyInfo.cs
rename to src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueue.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueue.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueueStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueueStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueueStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueueStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueue.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueue.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueSasToken.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueSasToken.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueue.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueue.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueue.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueue.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueueStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueueStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueueStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueueStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/SetAzureStorageQueueStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Queue/Cmdlet/SetAzureStorageQueueStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/Cmdlet/SetAzureStorageQueueStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Queue/Cmdlet/SetAzureStorageQueueStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Queue/StorageQueueBaseCmdlet.cs b/src/Common/Storage/Commands.Storage/Queue/StorageQueueBaseCmdlet.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Queue/StorageQueueBaseCmdlet.cs
rename to src/Common/Storage/Commands.Storage/Queue/StorageQueueBaseCmdlet.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Resources.Designer.cs b/src/Common/Storage/Commands.Storage/Resources.Designer.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Resources.Designer.cs
rename to src/Common/Storage/Commands.Storage/Resources.Designer.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Resources.resx b/src/Common/Storage/Commands.Storage/Resources.resx
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Resources.resx
rename to src/Common/Storage/Commands.Storage/Resources.resx
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/GetAzureStorageTableStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/GetAzureStorageTableStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/GetAzureStorageTableStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/GetAzureStorageTableStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/GetStorageAzureTable.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/GetStorageAzureTable.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/GetStorageAzureTable.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/GetStorageAzureTable.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableSasToken.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableSasToken.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableSasToken.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableSasToken.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/NewAzureStorageTableStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewStorageAzureTable.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/NewStorageAzureTable.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/NewStorageAzureTable.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/NewStorageAzureTable.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/RemoveAzureStorageTableStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/RemoveAzureStorageTableStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/RemoveAzureStorageTableStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/RemoveAzureStorageTableStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/RemoveStorageAzureTable.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/RemoveStorageAzureTable.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/RemoveStorageAzureTable.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/RemoveStorageAzureTable.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/SetAzureStorageTableStoredAccessPolicy.cs b/src/Common/Storage/Commands.Storage/Table/Cmdlet/SetAzureStorageTableStoredAccessPolicy.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/Cmdlet/SetAzureStorageTableStoredAccessPolicy.cs
rename to src/Common/Storage/Commands.Storage/Table/Cmdlet/SetAzureStorageTableStoredAccessPolicy.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/Table/StorageCloudTableCmdletBase.cs b/src/Common/Storage/Commands.Storage/Table/StorageCloudTableCmdletBase.cs
similarity index 100%
rename from src/ServiceManagement/Storage/Commands.Storage/Table/StorageCloudTableCmdletBase.cs
rename to src/Common/Storage/Commands.Storage/Table/StorageCloudTableCmdletBase.cs
diff --git a/src/ServiceManagement/Storage/Commands.Storage/packages.config b/src/Common/Storage/Commands.Storage/packages.config
similarity index 97%
rename from src/ServiceManagement/Storage/Commands.Storage/packages.config
rename to src/Common/Storage/Commands.Storage/packages.config
index 12121d290ef4..0274f35be288 100644
--- a/src/ServiceManagement/Storage/Commands.Storage/packages.config
+++ b/src/Common/Storage/Commands.Storage/packages.config
@@ -2,7 +2,7 @@
-
+
diff --git a/src/ResourceManager.sln b/src/ResourceManager.ForRefactoringOnly.sln
similarity index 92%
rename from src/ResourceManager.sln
rename to src/ResourceManager.ForRefactoringOnly.sln
index 3ef450e2e4cb..c5a317407933 100644
--- a/src/ResourceManager.sln
+++ b/src/ResourceManager.ForRefactoringOnly.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
-VisualStudioVersion = 12.0.40629.0
+VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}"
ProjectSection(SolutionItems) = preProject
@@ -11,7 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "ResourceManager\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources", "ResourceManager\Resources\Commands.Resources\Commands.Resources.csproj", "{E1F5201D-6067-430E-B303-4E367652991B}"
EndProject
@@ -19,17 +19,17 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Tags", "ResourceMa
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Test", "ResourceManager\Resources\Commands.Resources.Test\Commands.Resources.Test.csproj", "{4C2FE49A-09E1-4979-AD46-CD64FD04C8F7}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Cmdlets", "ResourceManager\ResourceManager\Commands.ResourceManager\Cmdlets\Commands.ResourceManager.Cmdlets.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Rest", "ResourceManager\Resources\Commands.ResourceManager\Cmdlets\Commands.Resources.Rest.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement", "ResourceManager\ApiManagement\Commands.ApiManagement\Commands.ApiManagement.csproj", "{DC0A9742-DF36-48C9-BD2F-68D01AED6257}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManagement.Automation", "ResourceManager\Automation\Commands.Automation\Commands.ResourceManagement.Automation.csproj", "{90DEF35A-F7FF-40D0-B008-F489A4C092DB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Automation", "ResourceManager\Automation\Commands.Automation\Commands.Automation.csproj", "{90DEF35A-F7FF-40D0-B008-F489A4C092DB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup", "ResourceManager\AzureBackup\Commands.AzureBackup\Commands.AzureBackup.csproj", "{6C8D2337-C9D1-4F52-94B3-AB63A19F3453}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch", "ResourceManager\AzureBatch\Commands.Batch\Commands.Batch.csproj", "{D470E50A-9607-48D6-A924-4F9F86502704}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates", "ResourceManager\Commerce\Commands.UsageAggregates\Commands.UsageAggregates.csproj", "{1A131D3A-EAC4-420C-A1C0-5490ED68EF67}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates", "ResourceManager\UsageAggregates\Commands.UsageAggregates\Commands.UsageAggregates.csproj", "{1A131D3A-EAC4-420C-A1C0-5490ED68EF67}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Compute", "ResourceManager\Compute\Commands.Compute\Commands.Compute.csproj", "{52643BD5-6378-49BD-9F6E-DAC9DD8A867B}"
EndProject
@@ -57,7 +57,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics", "ResourceManager\StreamAnalytics\Commands.StreamAnalytics\Commands.StreamAnalytics.csproj", "{F49A314A-A235-47D3-A654-1EC19ACA366C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager2", "ResourceManager\TrafficManager\Commands.TrafficManager2\Commands.TrafficManager2.csproj", "{270CBB5F-BB8A-4E33-B35B-95698E607D97}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager", "ResourceManager\TrafficManager\Commands.TrafficManager2\Commands.TrafficManager.csproj", "{270CBB5F-BB8A-4E33-B35B-95698E607D97}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Websites", "ResourceManager\Websites\Commands.Websites\Commands.Websites.csproj", "{80A92297-7C92-456B-8EE7-9FB6CE30149D}"
EndProject
@@ -65,7 +65,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Storage", "
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.Test", "ResourceManager\ApiManagement\Commands.ApiManagement.Test\Commands.ApiManagement.Test.csproj", "{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManagement.Automation.Test", "ResourceManager\Automation\Commands.Automation.Test\Commands.ResourceManagement.Automation.Test.csproj", "{59D1B5DC-9175-43EC-90C6-CBA601B3565F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Automation.Test", "ResourceManager\Automation\Commands.Automation.Test\Commands.Automation.Test.csproj", "{59D1B5DC-9175-43EC-90C6-CBA601B3565F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup.Test", "ResourceManager\AzureBackup\Commands.AzureBackup.Test\Commands.AzureBackup.Test.csproj", "{678AE95D-2364-47D7-888C-3FFA6D412CC8}"
EndProject
@@ -105,21 +105,23 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Sql.Test", "Resour
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics.Test", "ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\Commands.StreamAnalytics.Test.csproj", "{7E6683BE-ECFF-4709-89EB-1325E9E70512}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager2.Test", "ResourceManager\TrafficManager\Commands.TrafficManager2.Test\Commands.TrafficManager2.Test.csproj", "{5764A3A4-586C-4536-8481-13007CAC111B}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.TrafficManager.Test", "ResourceManager\TrafficManager\Commands.TrafficManager2.Test\Commands.TrafficManager.Test.csproj", "{5764A3A4-586C-4536-8481-13007CAC111B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Profile", "Common\Commands.ResourceManager.Profile\Commands.ResourceManager.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "ResourceManager\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Profile.Test", "Common\Commands.ResourceManager.Profile.Test\Commands.ResourceManager.Profile.Test.csproj", "{152D78F0-A642-4D0E-B3A8-2FC64FFA9714}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile.Test", "ResourceManager\Profile\Commands.Profile.Test\Commands.Profile.Test.csproj", "{152D78F0-A642-4D0E-B3A8-2FC64FFA9714}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates.Test", "ResourceManager\Commerce\Commands.UsageAggregates.Test\Commands.UsageAggregates.Test.csproj", "{F220C306-29A3-4511-8518-A58A55C60D07}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates.Test", "ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\Commands.UsageAggregates.Test.csproj", "{F220C306-29A3-4511-8518-A58A55C60D07}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Websites.Test", "ResourceManager\Websites\Commands.Websites.Test\Commands.Websites.Test.csproj", "{13E031E4-8A43-4B87-9D72-D70180C31C11}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "ResourceManager\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Storage", "ServiceManagement\Storage\Commands.Storage\Commands.Storage.csproj", "{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Storage", "Common\Storage\Commands.Storage\Commands.Storage.csproj", "{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement.Common", "ServiceManagement\Common\Commands.ServiceManagement.Common\Commands.ServiceManagement.Common.csproj", "{CFF09E81-1E31-444E-B4D4-A21E946C29E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -347,6 +349,10 @@ Global
{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/src/ResourceManager/ApiManagement/ApiManagement.sln b/src/ResourceManager/ApiManagement/ApiManagement.sln
new file mode 100644
index 000000000000..733aa0b7732b
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/ApiManagement.sln
@@ -0,0 +1,112 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.40629.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement", "Commands.ApiManagement\Commands.ApiManagement.csproj", "{DC0A9742-DF36-48C9-BD2F-68D01AED6257}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Storage", "..\..\Common\Commands.Common.Storage\Commands.Common.Storage.csproj", "{65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.Test", "Commands.ApiManagement.Test\Commands.ApiManagement.Test.csproj", "{BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.ServiceManagement", "Commands.ApiManagement.ServiceManagement\Commands.ApiManagement.ServiceManagement.csproj", "{ED8BA708-AF42-4C08-9F4E-DAA1037797D5}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.ServiceManagement.Test", "Commands.SMAPI.Test\Commands.ApiManagement.ServiceManagement.Test.csproj", "{6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "..\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources", "..\Resources\Commands.Resources\Commands.Resources.csproj", "{E1F5201D-6067-430E-B303-4E367652991B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Management.Storage", "..\Storage\Commands.Management.Storage\Commands.Management.Storage.csproj", "{A50AB133-5C04-4A17-9054-F8343683EC23}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Rest", "..\Resources\Commands.ResourceManager\Cmdlets\Commands.Resources.Rest.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Storage", "..\..\Common\Storage\Commands.Storage\Commands.Storage.csproj", "{08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement.Common", "..\..\ServiceManagement\Common\Commands.ServiceManagement.Common\Commands.ServiceManagement.Common.csproj", "{CFF09E81-1E31-444E-B4D4-A21E946C29E2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Tags", "..\Tags\Commands.Tags\Commands.Tags.csproj", "{2493A8F7-1949-4F29-8D53-9D459046C3B8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {DC0A9742-DF36-48C9-BD2F-68D01AED6257}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DC0A9742-DF36-48C9-BD2F-68D01AED6257}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DC0A9742-DF36-48C9-BD2F-68D01AED6257}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DC0A9742-DF36-48C9-BD2F-68D01AED6257}.Release|Any CPU.Build.0 = Release|Any CPU
+ {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A50AB133-5C04-4A17-9054-F8343683EC23}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A50AB133-5C04-4A17-9054-F8343683EC23}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.Build.0 = Release|Any CPU
+ {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {08CF7DA7-0392-4A19-B79B-E1FF67CDB81A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CFF09E81-1E31-444E-B4D4-A21E946C29E2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ EndGlobalSection
+EndGlobal
diff --git a/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1 b/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1
new file mode 100644
index 000000000000..a1e9f526253c
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1
@@ -0,0 +1,89 @@
+#
+# Module manifest for module 'Microsoft.Azure.Commands.ApiManagement'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 9/19/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.8'
+
+# ID used to uniquely identify this module
+GUID = 'f875725d-8ce4-423f-a6af-ea880bc63f13'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = ' Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - Api Management'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @()
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.Azure.Commands.ApiManagement.dll',
+ '.\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
index a373866a0fdf..8fdef0af0cf4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -30,7 +30,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\ApiManagement\
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
TRACE;SIGN
AnyCPU
bin\Release\Management.Automation.dll.CodeAnalysisLog.xml
@@ -60,7 +60,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -237,7 +237,11 @@
{65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}
Commands.Common.Storage
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
@@ -246,6 +250,10 @@
PreserveNewest
+
+ AzureRM.ApiManagement.psd1
+ PreserveNewest
+
@@ -254,27 +262,5 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
index bdad99e70da2..2d3335dad986 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
@@ -1 +1 @@
-//
// Copyright (c) Microsoft. 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.
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
[Cmdlet(VerbsCommon.Add, "AzureRMApiManagementApiToProduct")]
[OutputType(typeof(bool))]
public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase
{
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementContext Context { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ProductId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ApiId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
{
Client.ApiAddToProduct(Context, ProductId, ApiId);
if (PassThru)
{
WriteObject(true);
}
}
}
}
\ No newline at end of file
+//
// Copyright (c) Microsoft. 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.
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
{
using System;
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
[Cmdlet(VerbsCommon.Add, "AzureRmApiManagementApiToProduct")]
[OutputType(typeof(bool))]
public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase
{
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")]
[ValidateNotNullOrEmpty]
public PsApiManagementContext Context { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ProductId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = true,
HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")]
[ValidateNotNullOrEmpty]
public String ApiId { get; set; }
[Parameter(
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")]
public SwitchParameter PassThru { get; set; }
public override void ExecuteApiManagementCmdlet()
{
Client.ApiAddToProduct(Context, ProductId, ApiId);
if (PassThru)
{
WriteObject(true);
}
}
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
index 2a45edeabb0f..ab3daca3319e 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementProductToGroup")]
+ [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementProductToGroup")]
[OutputType(typeof(bool))]
public class AddAzureApiManagementProductToGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
index f4cc021fd688..b5593fd9c6a6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementUserToGroup")]
+ [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementUserToGroup")]
[OutputType(typeof(bool))]
public class AddAzureApiManagementUserToGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
index c0202bbedd9b..2308dcfaf433 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsData.Export, "AzureRMApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)]
+ [Cmdlet(VerbsData.Export, "AzureRmApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)]
[OutputType(typeof(string))]
public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
index 1eaacf365c29..ac670fbe0765 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementApi", DefaultParameterSetName = AllApis)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementApi", DefaultParameterSetName = AllApis)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
index 612037af97fa..b4018fc9840e 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementAuthorizationServer")]
[OutputType(typeof(IList))]
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
index 59deca31d848..1d2e89ee3645 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Runtime.InteropServices;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementCertificate", DefaultParameterSetName = GetAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementCertificate", DefaultParameterSetName = GetAll)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
index 90cdb5529c5f..a67024405235 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementGroup", DefaultParameterSetName = GetAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementGroup", DefaultParameterSetName = GetAll)]
[OutputType(typeof(PsApiManagementGroup))]
public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
index 9ee752e3b0cb..85c3294a546c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementOperation", DefaultParameterSetName = AllApiOperations)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementOperation", DefaultParameterSetName = AllApiOperations)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
index 880366aa86c8..7bb367563b7e 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(string))]
public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
index 335d89ddb1c4..5e50d7299454 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementProduct", DefaultParameterSetName = GetAllProducts)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementProduct", DefaultParameterSetName = GetAllProducts)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
index 5a4e7d3e31f1..006ef7d21baa 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementSubscription", DefaultParameterSetName = GetAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSubscription", DefaultParameterSetName = GetAll)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
index 67b69c1d8db0..1cc9592358e7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUser", DefaultParameterSetName = GetAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUser", DefaultParameterSetName = GetAll)]
[OutputType(typeof(IList))]
public class GetAzureApiManagementUser : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
index 38bb968ad3f6..ebf4f6c76570 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUserSsoUrl")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUserSsoUrl")]
[OutputType(typeof(string))]
public class GetAzureApiManagementUserSsoUrl : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
index 390beef5c713..da8196788fa7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsData.Import, "AzureRMApiManagementApi", DefaultParameterSetName = FromLocalFile)]
+ [Cmdlet(VerbsData.Import, "AzureRmApiManagementApi", DefaultParameterSetName = FromLocalFile)]
[OutputType(typeof(PsApiManagementApi))]
public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
index dc0b4b2cf8ab..dc83d65af483 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementApi")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementApi")]
[OutputType(typeof(PsApiManagementApi))]
public class NewAzureApiManagementApi : AzureApiManagementCmdletBase
{
@@ -118,7 +118,7 @@ public override void ExecuteApiManagementCmdlet()
if (ProductIds != null && ProductIds.Any())
{
- WriteProgress(new ProgressRecord(0, "New-AzureRMApiManagementApi", "New API created. Adding to products..."));
+ WriteProgress(new ProgressRecord(0, "New-AzureRmApiManagementApi", "New API created. Adding to products..."));
foreach (var productId in ProductIds)
{
@@ -128,7 +128,7 @@ public override void ExecuteApiManagementCmdlet()
WriteProgress(
new ProgressRecord(
0,
- "New-AzureRMApiManagementApi",
+ "New-AzureRmApiManagementApi",
string.Format("... Added to product {0}", productId))
);
}
@@ -137,7 +137,7 @@ public override void ExecuteApiManagementCmdlet()
WriteProgress(
new ProgressRecord(
0,
- "New-AzureRMApiManagementApi",
+ "New-AzureRmApiManagementApi",
string.Format("... Failed to add to product {0} due to: {1}", productId, ex))
);
}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
index 186d60e8c27e..57f05ae42772 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementAuthorizationServer")]
[OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
index f1ac6c5811a4..d94fcc153836 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementCertificate", DefaultParameterSetName = FromFile)]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)]
[OutputType(typeof(PsApiManagementCertificate))]
public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
index e3b4219622ef..891f7fbb36e7 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementContext"), OutputType(typeof (PsApiManagementContext))]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementContext"), OutputType(typeof (PsApiManagementContext))]
public class NewAzureApiManagementContext : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
index f48ac577e442..81e19fa496f6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementGroup")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementGroup")]
[OutputType(typeof(PsApiManagementGroup))]
public class NewAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
index 0d08de1cd17a..76b49fc2ade9 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementOperation")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementOperation")]
[OutputType(typeof(PsApiManagementOperation))]
public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
index 972dc1f104be..0032d81e8590 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Text.RegularExpressions;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementProduct")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementProduct")]
[OutputType(typeof(PsApiManagementProduct))]
public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
index 51e8b2479246..95571625d69c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Runtime.InteropServices;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementSubscription")]
[OutputType(typeof(PsApiManagementSubscription))]
public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
index 5c20af753d41..fcf44ed5d3ae 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementUser")]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementUser")]
[OutputType(typeof(PsApiManagementUser))]
public class NewAzureApiManagementUser : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
index 4de8a10c028f..9d10f3bdc1cf 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementApi")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApi")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
index 8893abefd865..26804fa283b6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementApiFromProduct")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApiFromProduct")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementApiFromProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
index 69c45125b7f4..a0c5c71fd111 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementAuthorizationServer")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementAuthorizationServer : AzureApiManagementRemoveCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
index dd717aa3c934..a8ecc54a6964 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementCertificate")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementCertificate")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementCertificate : AzureApiManagementRemoveCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
index c1b8cbb3a174..a22d737480ed 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementGroup")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementGroup")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
index aa9700851d59..48fe0927898d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementOperation")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementOperation")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementOperation : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
index cbe346efac47..06fdaa3c2838 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
index 7680f6dd83b9..87fbbe3d5162 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementProduct")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProduct")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
index ceb3fb73d3e0..1ed8fa0d2c78 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementProductFromGroup")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProductFromGroup")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementProductFromGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
index 8d273cd6e669..22b75323392d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementSubscription")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
index 1daf4d995c47..7e11e218fdf8 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementUser")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUser")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementUser : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
index 21c2f7bd50c6..8656b35407cd 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementUserFromGroup")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUserFromGroup")]
[OutputType(typeof(bool))]
public class RemoveAzureApiManagementUserFromGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
index 5426bf99d08b..5a1e2c91a922 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementApi")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementApi")]
[OutputType(typeof(PsApiManagementApi))]
public class SetAzureApiManagementApi : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
index e6522ebac0c8..eb0f258807d4 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementAuthorizationServer")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementAuthorizationServer")]
[OutputType(typeof (PsApiManagementOAuth2AuthrozationServer))]
public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
index 3e3cead5b69a..9441b6d4ad05 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Security.Cryptography.X509Certificates;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementCertificate", DefaultParameterSetName = FromFile)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)]
[OutputType(typeof(PsApiManagementCertificate))]
public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
index 2f77ff216555..7afcbcfd5a7d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementGroup")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementGroup")]
[OutputType(typeof(PsApiManagementGroup))]
public class SetAzureApiManagementGroup : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
index 8daea6a48a1e..25f5c8b116f5 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementOperation")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementOperation")]
[OutputType(typeof(PsApiManagementOperation))]
public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
index 3cba353fb35d..fbe170ca3792 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Text;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)]
[OutputType(typeof(bool))]
public class SetAzureApiManagementPolicy : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
index 353396e6121c..bd1ab1d0548b 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementProduct")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementProduct")]
[OutputType(typeof(PsApiManagementProduct))]
public class SetAzureApiManagementProduct : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
index c99cb78c7df4..46d3b575d7a1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementSubscription")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementSubscription")]
[OutputType(typeof(PsApiManagementSubscription))]
public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
index baea3c98b20b..283f8f1dc468 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementUser")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementUser")]
[OutputType(typeof(PsApiManagementUser))]
public class SetAzureApiManagementUser : AzureApiManagementCmdletBase
{
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
index f1bec2255f7f..3688fb6e4c1a 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml
@@ -2,7 +2,7 @@
- Add-AzureRMApiManagementApiToProduct
+ Add-AzureRmApiManagementApiToProduct
Adds existing API to existing Product.
@@ -18,7 +18,7 @@
- Add-AzureRMApiManagementApiToProduct
+ Add-AzureRmApiManagementApiToProduct
Context
@@ -158,7 +158,7 @@
PS C:\>
- Add-AzureRMApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
+ Add-AzureRmApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001
Add existing API to an existing Product.
@@ -180,7 +180,7 @@
- Add-AzureRMApiManagementProductToGroup
+ Add-AzureRmApiManagementProductToGroup
Adds existing product to existing group. In other words assigns a group to a product.
@@ -196,7 +196,7 @@
- Add-AzureRMApiManagementProductToGroup
+ Add-AzureRmApiManagementProductToGroup
Context
@@ -336,7 +336,7 @@
PS C:\>
- Add-AzureRMApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+ Add-AzureRmApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
Add existing product to an existing group.
@@ -358,7 +358,7 @@
- Add-AzureRMApiManagementUserToGroup
+ Add-AzureRmApiManagementUserToGroup
Adds existing user to existing group.
@@ -374,7 +374,7 @@
- Add-AzureRMApiManagementUserToGroup
+ Add-AzureRmApiManagementUserToGroup
Context
@@ -514,7 +514,7 @@
PS C:\>
- Add-AzureRMApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+ Add-AzureRmApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
Add existing user to an existing group.
@@ -536,7 +536,7 @@
- Export-AzureRMApiManagementApi
+ Export-AzureRmApiManagementApi
Export API to file in one of the supported formats.
@@ -552,7 +552,7 @@
- Export-AzureRMApiManagementApi
+ Export-AzureRmApiManagementApi
Context
@@ -583,7 +583,7 @@
- Export-AzureRMApiManagementApi
+ Export-AzureRmApiManagementApi
Context
@@ -772,7 +772,7 @@ true/false
PS C:\>
- Export-AzureRMApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
+ Export-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl'
Export API to file as WADL.
@@ -794,7 +794,7 @@ true/false
- Get-AzureRMApiManagementApi
+ Get-AzureRmApiManagementApi
Gets a list or a particular API description.
@@ -810,7 +810,7 @@ true/false
- Get-AzureRMApiManagementApi
+ Get-AzureRmApiManagementApi
Context
@@ -827,7 +827,7 @@ true/false
- Get-AzureRMApiManagementApi
+ Get-AzureRmApiManagementApi
Context
@@ -851,7 +851,7 @@ true/false
- Get-AzureRMApiManagementApi
+ Get-AzureRmApiManagementApi
Context
@@ -875,7 +875,7 @@ true/false
- Get-AzureRMApiManagementApi
+ Get-AzureRmApiManagementApi
Context
@@ -1011,7 +1011,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementApi –Context $apimContext
+ Get-AzureRmApiManagementApi –Context $apimContext
Get list of all APIs.
@@ -1031,7 +1031,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementApi –Context $apimContext –ApiId $apiId
+ Get-AzureRmApiManagementApi –Context $apimContext –ApiId $apiId
Get API by Id.
@@ -1051,7 +1051,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementApi –Context $apimContext –Name "EchoApi"
+ Get-AzureRmApiManagementApi –Context $apimContext –Name "EchoApi"
Get API by Name
@@ -1073,7 +1073,7 @@ true/false
- Get-AzureRMApiManagementAuthorizationServer
+ Get-AzureRmApiManagementAuthorizationServer
Gets all or specific authorization servers.
@@ -1089,7 +1089,7 @@ true/false
- Get-AzureRMApiManagementAuthorizationServer
+ Get-AzureRmApiManagementAuthorizationServer
Context
@@ -1201,7 +1201,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementAuthrizarionServer –Context $apimContext
+ Get-AzureRmApiManagementAuthrizarionServer –Context $apimContext
Get all authorization servers.
@@ -1221,7 +1221,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementCertificate –Context $apimContext –ServerId 0123456789
+ Get-AzureRmApiManagementCertificate –Context $apimContext –ServerId 0123456789
Get specific authorization server.
@@ -1243,7 +1243,7 @@ true/false
- Get-AzureRMApiManagementCertificate
+ Get-AzureRmApiManagementCertificate
Gets all or specific certificates.
@@ -1259,7 +1259,7 @@ true/false
- Get-AzureRMApiManagementCertificate
+ Get-AzureRmApiManagementCertificate
Context
@@ -1276,7 +1276,7 @@ true/false
- Get-AzureRMApiManagementCertificate
+ Get-AzureRmApiManagementCertificate
Context
@@ -1378,7 +1378,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementCertificate –Context $apimContext
+ Get-AzureRmApiManagementCertificate –Context $apimContext
Get all certificates.
@@ -1398,7 +1398,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789
+ Get-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789
Get specific certificate.
@@ -1420,7 +1420,7 @@ true/false
- Get-AzureRMApiManagementGroup
+ Get-AzureRmApiManagementGroup
Gets all or specific groups.
@@ -1436,7 +1436,7 @@ true/false
- Get-AzureRMApiManagementGroup
+ Get-AzureRmApiManagementGroup
Context
@@ -1460,7 +1460,7 @@ true/false
- Get-AzureRMApiManagementGroup
+ Get-AzureRmApiManagementGroup
Context
@@ -1491,7 +1491,7 @@ true/false
- Get-AzureRMApiManagementGroup
+ Get-AzureRmApiManagementGroup
Context
@@ -1522,7 +1522,7 @@ true/false
- Get-AzureRMApiManagementGroup
+ Get-AzureRmApiManagementGroup
Context
@@ -1677,7 +1677,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementGroup –Context $apimContext
+ Get-AzureRmApiManagementGroup –Context $apimContext
Get all groups.
@@ -1697,7 +1697,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementGroup –Context $apimContext –GroupId 0123456789
+ Get-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789
Get group by identifier.
@@ -1717,7 +1717,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementGroup –Context $apimContext –Name 'Custom group'
+ Get-AzureRmApiManagementGroup –Context $apimContext –Name 'Custom group'
Get group by name.
@@ -1737,7 +1737,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementGroup –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementGroup –Context $apimContext –UserId 0123456789
Get all user groups.
@@ -1759,7 +1759,7 @@ true/false
- Get-AzureRMApiManagementOperation
+ Get-AzureRmApiManagementOperation
Gets a list or a particular API Operation.
@@ -1775,7 +1775,7 @@ true/false
- Get-AzureRMApiManagementOperation
+ Get-AzureRmApiManagementOperation
Context
@@ -1799,7 +1799,7 @@ true/false
- Get-AzureRMApiManagementOperation
+ Get-AzureRmApiManagementOperation
Context
@@ -1931,7 +1931,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId
Get all API Operations.
@@ -1951,7 +1951,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
+ Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789
Get Operation by id.
@@ -1973,7 +1973,7 @@ true/false
- Get-AzureRMApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Gets specified scope policy.
@@ -1989,7 +1989,7 @@ true/false
- Get-AzureRMApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Context
@@ -2027,7 +2027,7 @@ true/false
- Get-AzureRMApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Context
@@ -2072,7 +2072,7 @@ true/false
- Get-AzureRMApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Context
@@ -2124,7 +2124,7 @@ true/false
- Get-AzureRMApiManagementPolicy
+ Get-AzureRmApiManagementPolicy
Context
@@ -2317,7 +2317,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
+ Get-AzureRmApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml'
Get tenant level policy and save to file named tenantpolicy.xml.
@@ -2337,7 +2337,7 @@ true/false
PS C:\>
- $policyString = Get-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
Get product-scope policy
@@ -2357,7 +2357,7 @@ true/false
PS C:\>
- $policyString = Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210
+ $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
Get API-scope policy.
@@ -2377,7 +2377,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
Get operation-scope policy.
@@ -2399,7 +2399,7 @@ true/false
- Get-AzureRMApiManagementProduct
+ Get-AzureRmApiManagementProduct
Gets a list or a particular Product.
@@ -2415,7 +2415,7 @@ true/false
- Get-AzureRMApiManagementProduct
+ Get-AzureRmApiManagementProduct
Context
@@ -2432,7 +2432,7 @@ true/false
- Get-AzureRMApiManagementProduct
+ Get-AzureRmApiManagementProduct
Context
@@ -2456,7 +2456,7 @@ true/false
- Get-AzureRMApiManagementProduct
+ Get-AzureRmApiManagementProduct
Context
@@ -2581,7 +2581,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementProduct –Context $apimContext
+ Get-AzureRmApiManagementProduct –Context $apimContext
Get all Products.
@@ -2601,7 +2601,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789
+ Get-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789
Get Product by id.
@@ -2623,7 +2623,7 @@ true/false
- Get-AzureRMApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Gets all or specific subscriptions.
@@ -2639,7 +2639,7 @@ true/false
- Get-AzureRMApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Context
@@ -2656,7 +2656,7 @@ true/false
- Get-AzureRMApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Context
@@ -2680,7 +2680,7 @@ true/false
- Get-AzureRMApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Context
@@ -2704,7 +2704,7 @@ true/false
- Get-AzureRMApiManagementSubscription
+ Get-AzureRmApiManagementSubscription
Context
@@ -2840,7 +2840,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementSubscription –Context $apimContext
+ Get-AzureRmApiManagementSubscription –Context $apimContext
Get all subscriptions.
@@ -2860,7 +2860,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
+ Get-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789
Get subscription by Id.
@@ -2880,7 +2880,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementSubscription –Context $apimContext –UserId 777
+ Get-AzureRmApiManagementSubscription –Context $apimContext –UserId 777
Get all users subscriptions.
@@ -2900,7 +2900,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementSubscription –Context $apimContext –ProductId 999
+ Get-AzureRmApiManagementSubscription –Context $apimContext –ProductId 999
Get all subscriptions for the product.
@@ -2922,7 +2922,7 @@ true/false
- Get-AzureRMApiManagementUser
+ Get-AzureRmApiManagementUser
Gets all or specific user.
@@ -2938,7 +2938,7 @@ true/false
- Get-AzureRMApiManagementUser
+ Get-AzureRmApiManagementUser
Context
@@ -2955,7 +2955,7 @@ true/false
- Get-AzureRMApiManagementUser
+ Get-AzureRmApiManagementUser
Context
@@ -2979,7 +2979,7 @@ true/false
- Get-AzureRMApiManagementUser
+ Get-AzureRmApiManagementUser
Context
@@ -3179,7 +3179,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUser –Context $apimContext
+ Get-AzureRmApiManagementUser –Context $apimContext
Get all users.
@@ -3199,7 +3199,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUser –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789
Get user by Id.
@@ -3219,7 +3219,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUser –Context $apimContext –LastName 'Ivanov'
+ Get-AzureRmApiManagementUser –Context $apimContext –LastName 'Ivanov'
Get users by last name.
@@ -3239,7 +3239,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUser –Context $apimContext –Email 'user@contoso.com'
+ Get-AzureRmApiManagementUser –Context $apimContext –Email 'user@contoso.com'
Get user by email.
@@ -3259,7 +3259,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUser –Context $apimContext –GroupId 0001
+ Get-AzureRmApiManagementUser –Context $apimContext –GroupId 0001
Get all users within the group.
@@ -3281,7 +3281,7 @@ true/false
- Get-AzureRMApiManagementUserSsoUrl
+ Get-AzureRmApiManagementUserSsoUrl
Generates SSO URL for the user.
@@ -3297,7 +3297,7 @@ true/false
- Get-AzureRMApiManagementUserSsoUrl
+ Get-AzureRmApiManagementUserSsoUrl
Context
@@ -3399,7 +3399,7 @@ true/false
PS C:\>
- Get-AzureRMApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
+ Get-AzureRmApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789
Get user SSO URL.
@@ -3421,7 +3421,7 @@ true/false
- Import-AzureRMApiManagementApi
+ Import-AzureRmApiManagementApi
Imports API from file or URL in one of the supported formats.
@@ -3437,7 +3437,7 @@ true/false
- Import-AzureRMApiManagementApi
+ Import-AzureRmApiManagementApi
Context
@@ -3482,7 +3482,7 @@ true/false
- Import-AzureRMApiManagementApi
+ Import-AzureRmApiManagementApi
Context
@@ -3653,7 +3653,7 @@ Imported API
PS C:\>
- Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis'
Import API from WADL file.
@@ -3673,7 +3673,7 @@ Imported API
PS C:\>
- Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis'
Import API from Swagger file.
@@ -3693,7 +3693,7 @@ Imported API
PS C:\>
- Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
+ Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis'
Import API from WADL link.
@@ -3715,7 +3715,7 @@ Imported API
- New-AzureRMApiManagementApi
+ New-AzureRmApiManagementApi
Creates new API.
@@ -3731,7 +3731,7 @@ Imported API
- New-AzureRMApiManagementApi
+ New-AzureRmApiManagementApi
Context
@@ -4023,7 +4023,7 @@ Imported API
PS C:\>
- New-AzureRMApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https')
+ New-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https')
Create new API.
@@ -4045,7 +4045,7 @@ Imported API
- New-AzureRMApiManagementAuthorizationServer
+ New-AzureRmApiManagementAuthorizationServer
Creates new authorization server.
@@ -4061,7 +4061,7 @@ Imported API
- New-AzureRMApiManagementAuthorizationServer
+ New-AzureRmApiManagementAuthorizationServer
Context
@@ -4467,7 +4467,7 @@ Imported API
PS C:\>
- New-AzureRMApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
+ New-AzureRmApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty'
Create new authorization server.
@@ -4489,7 +4489,7 @@ Imported API
- New-AzureRMApiManagementCertificate
+ New-AzureRmApiManagementCertificate
Creates new certificate.
@@ -4505,7 +4505,7 @@ Imported API
- New-AzureRMApiManagementCertificate
+ New-AzureRmApiManagementCertificate
Context
@@ -4543,7 +4543,7 @@ Imported API
- New-AzureRMApiManagementCertificate
+ New-AzureRmApiManagementCertificate
Context
@@ -4695,7 +4695,7 @@ Imported API
PS C:\>
- New-AzureRMApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
+ New-AzureRmApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111
Create/upload new certificate.
@@ -4717,7 +4717,7 @@ Imported API
- New-AzureRMApiManagementContext
+ New-AzureRmApiManagementContext
Create PsAzureApiManagementContext.
@@ -4733,7 +4733,7 @@ Imported API
- New-AzureRMApiManagementContext
+ New-AzureRmApiManagementContext
ResourceGroupName
@@ -4835,7 +4835,7 @@ Imported API
PS C:\>
- $apimContext = New-AzureRMApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
+ $apimContext = New-AzureRmApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso
Create an instance of PsApiManagementContext
@@ -4857,7 +4857,7 @@ Imported API
- New-AzureRMApiManagementGroup
+ New-AzureRmApiManagementGroup
Creates new group.
@@ -4873,7 +4873,7 @@ Imported API
- New-AzureRMApiManagementGroup
+ New-AzureRmApiManagementGroup
Context
@@ -5013,7 +5013,7 @@ Imported API
PS C:\>
- New-AzureRMApiManagementGroup –Context $apimContext –Name 'Best devs'
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
Create new group.
@@ -5035,7 +5035,7 @@ Imported API
- New-AzureRMApiManagementOperation
+ New-AzureRmApiManagementOperation
Create new API Operation.
@@ -5051,7 +5051,7 @@ Imported API
- New-AzureRMApiManagementOperation
+ New-AzureRmApiManagementOperation
Context
@@ -5305,7 +5305,7 @@ Imported API
PS C:\>
- New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource'
Create new operation.
@@ -5356,7 +5356,7 @@ $request.Representations = @($requestRepresentation)
#create response
$response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse
$response.StatusCode = 204
-New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
+New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
Script to create new operation with request and response details.
@@ -5378,7 +5378,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementProduct
+ New-AzureRmApiManagementProduct
Creates new product.
@@ -5394,7 +5394,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementProduct
+ New-AzureRmApiManagementProduct
Context
@@ -5667,7 +5667,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
+ New-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published'
Crete new product. No subscription required.
@@ -5687,7 +5687,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1'
+ New-AzureRmApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1'
Crete new product. Subscription and approval required. Notification period – 10 days. Subscription period – 1 year.
@@ -5709,7 +5709,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementSubscription
+ New-AzureRmApiManagementSubscription
Creates new subscription.
@@ -5725,7 +5725,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementSubscription
+ New-AzureRmApiManagementSubscription
Context
@@ -5941,7 +5941,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
+ New-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999
Subscribe existing user to existing product.
@@ -5963,7 +5963,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementUser
+ New-AzureRmApiManagementUser
Register new user.
@@ -5979,7 +5979,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- New-AzureRMApiManagementUser
+ New-AzureRmApiManagementUser
Context
@@ -6195,7 +6195,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
+ New-AzureRmApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty'
Register new user.
@@ -6217,7 +6217,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementApi
+ Remove-AzureRmApiManagementApi
Remove existing API.
@@ -6233,7 +6233,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementApi
+ Remove-AzureRmApiManagementApi
Context
@@ -6373,7 +6373,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementApi –Context $apimContext –ApiId 0123456789
+ Remove-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789
Remove existing API.
@@ -6395,7 +6395,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementApiFromProduct
+ Remove-AzureRmApiManagementApiFromProduct
Removes existing API from existing Product.
@@ -6411,7 +6411,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementApiFromProduct
+ Remove-AzureRmApiManagementApiFromProduct
Context
@@ -6551,7 +6551,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
+ Remove-AzureRmApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru
Remove existing API from an existing Product.
@@ -6573,7 +6573,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementAuthorizationServer
+ Remove-AzureRmApiManagementAuthorizationServer
Deletes existing authorization server.
@@ -6589,7 +6589,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementAuthorizationServer
+ Remove-AzureRmApiManagementAuthorizationServer
Context
@@ -6751,7 +6751,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementCertificate
+ Remove-AzureRmApiManagementCertificate
Deletes existing certificate.
@@ -6767,7 +6767,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementCertificate
+ Remove-AzureRmApiManagementCertificate
Context
@@ -6907,7 +6907,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
+ Remove-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force
Delete existing certificate.
@@ -6929,7 +6929,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementGroup
+ Remove-AzureRmApiManagementGroup
Deletes existing group.
@@ -6945,7 +6945,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementGroup
+ Remove-AzureRmApiManagementGroup
Context
@@ -7085,7 +7085,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
+ Remove-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force
Delete existing group.
@@ -7107,7 +7107,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementOperation
+ Remove-AzureRmApiManagementOperation
Remove existing operation.
@@ -7123,7 +7123,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementOperation
+ Remove-AzureRmApiManagementOperation
Context
@@ -7282,7 +7282,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
+ Remove-AzureRmApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force
Remove existing API Operation.
@@ -7304,7 +7304,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Removes policy from specified scope.
@@ -7320,7 +7320,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Context
@@ -7351,7 +7351,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Context
@@ -7389,7 +7389,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Context
@@ -7427,7 +7427,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementPolicy
+ Remove-AzureRmApiManagementPolicy
Context
@@ -7598,7 +7598,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementPolicy –Context $apimContext
+ Remove-AzureRmApiManagementPolicy –Context $apimContext
Remove tenant level policy.
@@ -7618,7 +7618,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789
Remove product-scope policy.
@@ -7638,7 +7638,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210
Remove API-scope policy.
@@ -7658,7 +7658,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
+ Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777
Remove operation-scope policy.
@@ -7680,7 +7680,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementProduct
+ Remove-AzureRmApiManagementProduct
Remove existing product.
@@ -7696,7 +7696,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementProduct
+ Remove-AzureRmApiManagementProduct
Context
@@ -7855,7 +7855,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
+ Remove-AzureRmApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force
Remove existing Product with all subscriptions.
@@ -7877,7 +7877,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementProductFromGroup
+ Remove-AzureRmApiManagementProductFromGroup
Removes existing product from existing group.
@@ -7893,7 +7893,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementProductFromGroup
+ Remove-AzureRmApiManagementProductFromGroup
Context
@@ -8033,7 +8033,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
+ Remove-AzureRmApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789
Remove existing product from an existing group.
@@ -8055,7 +8055,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementSubscription
+ Remove-AzureRmApiManagementSubscription
Deletes existing subscription.
@@ -8071,7 +8071,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementSubscription
+ Remove-AzureRmApiManagementSubscription
Context
@@ -8211,7 +8211,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
+ Remove-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force
Delete existing subscription.
@@ -8233,7 +8233,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementUser
+ Remove-AzureRmApiManagementUser
Deletes existing user.
@@ -8249,7 +8249,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementUser
+ Remove-AzureRmApiManagementUser
Context
@@ -8408,7 +8408,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementUser –Context $apimContext –UserId 0123456789 –Force
+ Remove-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 –Force
Delete existing user.
@@ -8430,7 +8430,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementUserFromGroup
+ Remove-AzureRmApiManagementUserFromGroup
Removes existing user from existing group.
@@ -8446,7 +8446,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Remove-AzureRMApiManagementUserFromGroup
+ Remove-AzureRmApiManagementUserFromGroup
Context
@@ -8586,7 +8586,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Remove-AzureRMApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
+ Remove-AzureRmApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789
Remove existing user from an existing group.
@@ -8608,7 +8608,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementApi
+ Set-AzureRmApiManagementApi
Set API details.
@@ -8624,7 +8624,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementApi
+ Set-AzureRmApiManagementApi
Context
@@ -8916,7 +8916,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
+ Set-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo'
@@ -8938,7 +8938,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementAuthorizationServer
+ Set-AzureRmApiManagementAuthorizationServer
Sets authorization server details.
@@ -8954,7 +8954,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementAuthorizationServer
+ Set-AzureRmApiManagementAuthorizationServer
Context
@@ -9379,7 +9379,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
+ Set-AzureRmApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader')
Set authorization server details.
@@ -9401,7 +9401,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementCertificate
+ Set-AzureRmApiManagementCertificate
Sets certificate data.
@@ -9417,7 +9417,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementCertificate
+ Set-AzureRmApiManagementCertificate
Context
@@ -9462,7 +9462,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementCertificate
+ Set-AzureRmApiManagementCertificate
Context
@@ -9633,7 +9633,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
+ Set-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222
Set certificate.
@@ -9655,7 +9655,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementGroup
+ Set-AzureRmApiManagementGroup
Sets existing group details.
@@ -9671,7 +9671,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementGroup
+ Set-AzureRmApiManagementGroup
Context
@@ -9830,7 +9830,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementGroup –Context $apimContext –Name 'Best devs'
+ New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs'
Create new group.
@@ -9852,7 +9852,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementOperation
+ Set-AzureRmApiManagementOperation
Set API Operation details.
@@ -9868,7 +9868,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementOperation
+ Set-AzureRmApiManagementOperation
Context
@@ -10141,7 +10141,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
+ New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource'
Set operation details.
@@ -10163,7 +10163,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Set specified scope policy.
@@ -10179,7 +10179,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Context
@@ -10224,7 +10224,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Context
@@ -10276,7 +10276,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Context
@@ -10328,7 +10328,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementPolicy
+ Set-AzureRmApiManagementPolicy
Context
@@ -10537,7 +10537,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
+ Set-AzureRmApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml'
Set tenant level policy from file named tenantpolicy.xml.
@@ -10557,7 +10557,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring
Set product-scope policy.
@@ -10577,7 +10577,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
+ Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring
Set API-scope policy.
@@ -10597,7 +10597,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
+ Set-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring
Set operation-scope policy.
@@ -10619,7 +10619,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementProduct
+ Set-AzureRmApiManagementProduct
Sets Product details.
@@ -10635,7 +10635,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementProduct
+ Set-AzureRmApiManagementProduct
Context
@@ -10927,7 +10927,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
+ Set-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished'
Update product details: require subscription, unpublish.
@@ -10949,7 +10949,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementSubscription
+ Set-AzureRmApiManagementSubscription
Sets existing subscription details.
@@ -10965,7 +10965,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementSubscription
+ Set-AzureRmApiManagementSubscription
Context
@@ -11200,7 +11200,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
+ Set-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active'
Set subscription primary, secondary key and activate.
@@ -11222,7 +11222,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementUser
+ Set-AzureRmApiManagementUser
Sets user details.
@@ -11238,7 +11238,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
- Set-AzureRMApiManagementUser
+ Set-AzureRmApiManagementUser
Context
@@ -11473,7 +11473,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope
PS C:\>
- Set-AzureRMApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
+ Set-AzureRmApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked'
Set new user password and email and block the user.
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
index 5fcdc5862226..7cbc29f96364 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
@@ -3,7 +3,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
index 7c139d66825b..894b5566d560 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
@@ -42,24 +42,24 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
False
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
-
+
False
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Gallery.dll
+ ..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll
False
..\..\..\packages\Microsoft.Azure.Management.ApiManagement.1.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
-
+
False
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Management.Authorization.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Authorization.1.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll
..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll
@@ -153,21 +153,19 @@
-
+
{3436a126-edc9-4060-8952-9a1be34cdd95}
Commands.ScenarioTests.ResourceManager.Common
-
- {e1f5201d-6067-430e-b303-4e367652991b}
- Commands.Resources
-
{dc0a9742-df36-48c9-bd2f-68d01aed6257}
Commands.ApiManagement
-
+
+ Designer
+
PreserveNewest
@@ -201,26 +199,5 @@
-
- xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.cs
index b2a44a4a77c0..f3df67152b36 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.cs
@@ -16,7 +16,6 @@
namespace Microsoft.Azure.Commands.ApiManagement.Test.ScenarioTests
{
- using System;
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Management.Authorization;
@@ -159,7 +158,14 @@ private void RunPowerShellTest(params string[] scripts)
SetupManagementClients();
_helper.SetupEnvironment(AzureModule.AzureResourceManager);
- _helper.SetupModules(AzureModule.AzureResourceManager, "ScenarioTests\\Common.ps1", "ScenarioTests\\" + GetType().Name + ".ps1");
+ _helper.SetupModules(AzureModule.AzureResourceManager,
+ "ScenarioTests\\Common.ps1",
+ "ScenarioTests\\" + GetType().Name + ".ps1",
+ _helper.RMProfileModule,
+ _helper.RMResourceModule,
+ _helper.RMStorageDataPlaneModule,
+ _helper.RMStorageModule,
+ _helper.GetRMModulePath("AzureRM.ApiManagement.psd1"));
_helper.RunPowerShellTest(scripts);
}
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1
index cba2839023ef..149706f26558 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1
@@ -9,14 +9,14 @@ function Test-CrudApiManagement
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
$adminEmail = "apim@powershell.org"
# Create API Management service
- $result = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail
+ $result = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail
Assert-AreEqual $resourceGroupName $result.ResourceGroupName
Assert-AreEqual $apiManagementName $result.Name
@@ -25,11 +25,11 @@ function Test-CrudApiManagement
Assert-AreEqual 1 $result.Capacity
# Get SSO token
- $token = Get-AzureRMApiManagementSsoToken -ResourceGroupName $resourceGroupName -Name $apiManagementName
+ $token = Get-AzureRmApiManagementSsoToken -ResourceGroupName $resourceGroupName -Name $apiManagementName
Assert-NotNull $token
# List services within the resource group
- $apimServicesInGroup = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName
+ $apimServicesInGroup = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName
Assert-True {$apimServicesInGroup.Count -ge 1}
$found = 0
@@ -50,7 +50,7 @@ function Test-CrudApiManagement
# Create on more group
$secondResourceGroup = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $secondResourceGroup -Location $location -Force
+ New-AzureRmResourceGroup -Name $secondResourceGroup -Location $location -Force
# Create one more service
$secondApiManagementName = Get-ApiManagementServiceName
@@ -59,7 +59,7 @@ function Test-CrudApiManagement
$secondSku = "Standard"
$secondSkuCapacity = 2
- $secondResult = New-AzureRMApiManagement -ResourceGroupName $secondResourceGroup -Location $location -Name $secondApiManagementName -Organization $secondOrganization -AdminEmail $secondAdminEmail -Sku $secondSku -Capacity $secondSkuCapacity
+ $secondResult = New-AzureRmApiManagement -ResourceGroupName $secondResourceGroup -Location $location -Name $secondApiManagementName -Organization $secondOrganization -AdminEmail $secondAdminEmail -Sku $secondSku -Capacity $secondSkuCapacity
Assert-AreEqual $secondResourceGroup $secondResult.ResourceGroupName
Assert-AreEqual $secondApiManagementName $secondResult.Name
Assert-AreEqual $location $secondResult.Location
@@ -67,11 +67,11 @@ function Test-CrudApiManagement
Assert-AreEqual $secondSkuCapacity $secondResult.Capacity
# Get SSO token
- $secondToken = Get-AzureRMApiManagementSsoToken -ResourceGroupName $secondResourceGroup -Name $secondApiManagementName
+ $secondToken = Get-AzureRmApiManagementSsoToken -ResourceGroupName $secondResourceGroup -Name $secondApiManagementName
Assert-NotNull $secondToken
# List all services
- $allServices = Get-AzureRMApiManagement
+ $allServices = Get-AzureRmApiManagement
Assert-True {$allServices.Count -ge 2}
$found = 0
@@ -100,13 +100,13 @@ function Test-CrudApiManagement
Assert-True {$found -eq 2} "Api Management services created earlier is not found."
# Delete listed services
- Get-AzureRMApiManagement | Remove-AzureRMApiManagement -Force
+ Get-AzureRmApiManagement | Remove-AzureRmApiManagement -Force
- $allServices = Get-AzureRMApiManagement
+ $allServices = Get-AzureRmApiManagement
Assert-AreEqual 0 $allServices.Count
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
<#
@@ -120,16 +120,16 @@ function Test-BackupRestoreApiManagement
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
# Create storage account
$storageLocation = Get-ProviderLocation "Microsoft.ClassicStorage/storageAccounts"
$storageAccountName = Get-ApiManagementServiceName
- New-AzureRMStorageAccount -StorageAccountName $storageAccountName -Location $storageLocation -ResourceGroupName $resourceGroupName -Type Standard_LRS
+ New-AzureRmStorageAccount -StorageAccountName $storageAccountName -Location $storageLocation -ResourceGroupName $resourceGroupName -Type Standard_LRS
- $storageKey = (Get-AzureRMStorageAccountKey -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName).Key1
- $storageContext = New-AzureRMStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageKey
+ $storageKey = (Get-AzureRmStorageAccountKey -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName).Key1
+ $storageContext = New-AzureStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageKey
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
@@ -139,16 +139,16 @@ function Test-BackupRestoreApiManagement
$backupName = $apiManagementName + ".apimbackup"
# Create API Management service
- $apiManagementService = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail
+ $apiManagementService = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail
$containerName = "backups"
$backupName = $apiManagementName + ".apimbackup"
# Backup API Management service
- Backup-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -TargetContainerName $containerName -TargetBlobName $backupName
+ Backup-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -TargetContainerName $containerName -TargetBlobName $backupName
# Restore API Management service
- $restoreResult = Restore-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -PassThru
+ $restoreResult = Restore-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -PassThru
Assert-AreEqual $resourceGroupName $restoreResult.ResourceGroupName
Assert-AreEqual $apiManagementName $restoreResult.Name
@@ -160,13 +160,13 @@ function Test-BackupRestoreApiManagement
try
{
# Remove the service
- Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
+ Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
# Remove storage account
- Remove-AzureRMStorageAccount -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName
+ Remove-AzureRmStorageAccount -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
catch
{
@@ -184,7 +184,7 @@ function Test-UpdateApiManagementDeployment
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
@@ -193,14 +193,14 @@ function Test-UpdateApiManagementDeployment
$capacity = 1
# Create API Management service
- New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
+ New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
# Get API Management and:
#- 1) Scale master region to 'Premium' 2 units
$sku = "Premium"
$capacity = 2
- $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
+ $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
$service.Sku = $sku;
$service.Capacity = $capacity
@@ -215,9 +215,9 @@ function Test-UpdateApiManagementDeployment
#$region2Capacity = 3
#$service.AddRegion($region2Location, $region2Sku, $region2Capacity)
- Update-AzureRMApiManagementDeployment -ApiManagement $service
+ Update-AzureRmApiManagementDeployment -ApiManagement $service
- $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
+ $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
Assert-AreEqual $resourceGroupName $service.ResourceGroupName
Assert-AreEqual $apiManagementName $service.Name
@@ -251,10 +251,10 @@ function Test-UpdateApiManagementDeployment
Assert-True {$found -eq 1} "Api Management regions created earlier is not found."
# Remove the service
- Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
+ Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
<#
@@ -268,7 +268,7 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
@@ -277,7 +277,7 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline
$capacity = 1
# Create API Management service
- $service = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
+ $service = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
# Get API Management and:
#- 1) Scale master region to 'Premium' 2
@@ -293,13 +293,13 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline
#$region2Sku = "Premium"
#$region2Capacity = 3
- Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName |
- Update-AzureRMApiManagementRegion -Sku $sku -Capacity $capacity |
- Add-AzureRMApiManagementRegion -Location $region1Location -Sku $region1Sku |
- #Add-AzureRMApiManagementRegion -Location $region2Location -Sku $region2Sku -Capacity $region2Capacity |
- Update-AzureRMApiManagementDeployment
+ Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName |
+ Update-AzureRmApiManagementRegion -Sku $sku -Capacity $capacity |
+ Add-AzureRmApiManagementRegion -Location $region1Location -Sku $region1Sku |
+ #Add-AzureRmApiManagementRegion -Location $region2Location -Sku $region2Sku -Capacity $region2Capacity |
+ Update-AzureRmApiManagementDeployment
- $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
+ $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName
Assert-AreEqual $resourceGroupName $service.ResourceGroupName
Assert-AreEqual $apiManagementName $service.Name
@@ -335,10 +335,10 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline
# Remove the service
- Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
+ Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
<#
@@ -355,7 +355,7 @@ function Test-ImportApiManagementHostnameCertificate
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
@@ -364,18 +364,18 @@ function Test-ImportApiManagementHostnameCertificate
$capacity = 1
# Create API Management service
- $result = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity |
- Get-AzureRMApiManagement |
- Import-AzureRMApiManagementHostnameCertificate -HostnameType "Proxy" -PfxPath $certFilePath -PfxPassword $certPassword -PassThru
+ $result = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity |
+ Get-AzureRmApiManagement |
+ Import-AzureRmApiManagementHostnameCertificate -HostnameType "Proxy" -PfxPath $certFilePath -PfxPassword $certPassword -PassThru
Assert-AreEqual "CN=ailn.redmond.corp.microsoft.com" $result.Subject
Assert-AreEqual "51A702569BADEDB90A75141B070F2D4B5DDFA447" $result.Thumbprint
# Remove the service
- Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
+ Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
<#
@@ -389,7 +389,7 @@ function Test-SetApiManagementVirtualNetworks
# Create resource group
$resourceGroupName = Get-ResourceGroupName
- New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force
$apiManagementName = Get-ApiManagementServiceName
$organization = "apimpowershellorg"
@@ -398,20 +398,20 @@ function Test-SetApiManagementVirtualNetworks
$capacity = 1
# Create API Management service
- New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
+ New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity
$vnetLocation = "East US"
$vnetId = "53F96AC5-9F46-46CE-BA0F-77DE89943258"
$subnetName = "Subnet-1"
$networksList = @()
- $networksList += New-AzureRMApiManagementVirtualNetwork -Location $vnetLocation -VnetId $vnetId -SubnetName $subnetName
+ $networksList += New-AzureRmApiManagementVirtualNetwork -Location $vnetLocation -VnetId $vnetId -SubnetName $subnetName
try
{
try
{
- Set-AzureRMApiManagementVirtualNetworks -ResourceGroupName $resourceGroupName -Name $apiManagementName -VirtualNetworks $networksList
+ Set-AzureRmApiManagementVirtualNetworks -ResourceGroupName $resourceGroupName -Name $apiManagementName -VirtualNetworks $networksList
}
catch
{
@@ -421,9 +421,9 @@ function Test-SetApiManagementVirtualNetworks
finally
{
# Remove the service
- Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
+ Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force
# Remove resource group
- Remove-AzureRMResourceGroup -Name $resourceGroupName -Force
+ Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1
index 0275adb24b47..9946896079db 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1
@@ -50,6 +50,6 @@ Gets all locations for a provider
#>
function Get-ProviderLocations($provider)
{
- $location = Get-AzureRMLocation | where {$_.Name -eq $provider}
+ $location = Get-AzureRmLocation | where {$_.Name -eq $provider}
$location.Locations
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
index 9d3b0d8c923a..40d4a4883355 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
@@ -2,10 +2,12 @@
-
+
+
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs
index 62a0962386d2..2768b50fad12 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs
@@ -96,7 +96,7 @@ public ApiManagementLongRunningOperation BeginCreateApiManagementService(
var longrunningResponse = Client.ResourceProvider.BeginCreatingOrUpdating(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("New-AzureRMApiManagement", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("New-AzureRmApiManagement", longrunningResponse);
}
public ApiManagementLongRunningOperation BeginBackupApiManagement(
@@ -122,7 +122,7 @@ public ApiManagementLongRunningOperation BeginBackupApiManagement(
var longrunningResponse = Client.ResourceProvider.BeginBackup(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("Backup-AzureRMApiManagement", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("Backup-AzureRmApiManagement", longrunningResponse);
}
public bool DeleteApiManagement(string resourceGroupName, string serviceName)
@@ -150,7 +150,7 @@ public ApiManagementLongRunningOperation BeginRestoreApiManagement(
var longrunningResponse = Client.ResourceProvider.BeginRestoring(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("Restore-AzureRMApiManagement", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("Restore-AzureRmApiManagement", longrunningResponse);
}
public ApiManagementLongRunningOperation BeginUpdateDeployments(
@@ -201,7 +201,7 @@ public ApiManagementLongRunningOperation BeginUpdateDeployments(
var longrunningResponse = Client.ResourceProvider.BeginManagingDeployments(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("Update-AzureRMApiManagementDeployment", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("Update-AzureRmApiManagementDeployment", longrunningResponse);
}
public PsApiManagementHostnameCertificate UploadCertificate(
@@ -242,7 +242,7 @@ public ApiManagementLongRunningOperation BeginSetHostnames(
var longrunningResponse = Client.ResourceProvider.BeginUpdatingHostname(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRMApiManagementHostnames", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRmApiManagementHostnames", longrunningResponse);
}
public string GetSsoToken(string resourceGroupName, string serviceName)
@@ -270,7 +270,7 @@ public ApiManagementLongRunningOperation BeginManageVirtualNetworks(
var longrunningResponse = Client.ResourceProvider.BeginManagingVirtualNetworks(resourceGroupName, serviceName, parameters);
AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout);
- return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRMApiManagementVirtualNetworks", longrunningResponse);
+ return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRmApiManagementVirtualNetworks", longrunningResponse);
}
internal ApiManagementLongRunningOperation GetLongRunningOperationStatus(ApiManagementLongRunningOperation longRunningOperation)
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
index 708c83de9b5a..bfbaca53714f 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
@@ -18,7 +18,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -29,7 +29,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\ApiManagement\
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.ApiManagement\
TRACE;SIGN
AnyCPU
bin\Release\Management.Automation.dll.CodeAnalysisLog.xml
@@ -59,7 +59,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -206,7 +206,11 @@
{65C3A86A-716D-4E7D-AB67-1DB00B3BF72D}
Commands.Common.Storage
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
@@ -216,6 +220,10 @@
Designer
PreserveNewest
+
+ AzureRM.ApiManagement.psd1
+ PreserveNewest
+
Designer
@@ -225,27 +233,5 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs
index afeb16e08b21..011d13ad9eb1 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementRegion"), OutputType(typeof(PsApiManagement))]
+ [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementRegion"), OutputType(typeof(PsApiManagement))]
public class AddAzureApiManagementRegion : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs
index 51a41c601526..f0c6f28d695d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using Microsoft.WindowsAzure.Commands.Common.Storage;
- [Cmdlet(VerbsData.Backup, "AzureRMApiManagement"), OutputType(typeof(PsApiManagement))]
+ [Cmdlet(VerbsData.Backup, "AzureRmApiManagement"), OutputType(typeof(PsApiManagement))]
public class BackupAzureApiManagement : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs
index 3ac14a8769ec..79deb8d4ac3c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagement", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof (List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagement", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof (List))]
public class GetAzureApiManagement : AzureApiManagementCmdletBase
{
internal const string BaseParameterSetName = "All In Subscription";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs
index 64b0bf1a38bc..5018e38e2287 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
{
using System.Management.Automation;
- [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementSsoToken"), OutputType(typeof (string))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSsoToken"), OutputType(typeof (string))]
public class GetAzureApiManagementSsoToken : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs
index 19ac74ca6015..abf764d1384d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsData.Import, "AzureRMApiManagementHostnameCertificate"), OutputType(typeof(PsApiManagementHostnameCertificate))]
+ [Cmdlet(VerbsData.Import, "AzureRmApiManagementHostnameCertificate"), OutputType(typeof(PsApiManagementHostnameCertificate))]
public class ImportAzureApiManagementHostnameCertificate : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs
index ff771cac5c54..7a0004cc6ee6 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagement"), OutputType(typeof (PsApiManagement))]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagement"), OutputType(typeof (PsApiManagement))]
public class NewAzureApiManagement : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs
index 96e6b01cbb53..7ab4de6ce4a8 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using ResourceManager.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementHostnameConfiguration"), OutputType(typeof (PsApiManagementHostnameConfiguration))]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementHostnameConfiguration"), OutputType(typeof (PsApiManagementHostnameConfiguration))]
public class NewAzureApiManagementHostnameConfiguration : AzureRMCmdlet
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs
index 4fb6bc439a00..006b10a1c183 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using ResourceManager.Common;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
- [Cmdlet(VerbsCommon.New, "AzureRMApiManagementVirtualNetwork"), OutputType(typeof(PsApiManagementVirtualNetwork))]
+ [Cmdlet(VerbsCommon.New, "AzureRmApiManagementVirtualNetwork"), OutputType(typeof(PsApiManagementVirtualNetwork))]
public class NewAzureApiManagementVirtualNetwork : AzureRMCmdlet
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs
index bfaf27389099..8bb3a659b079 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Properties;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagement"), OutputType(typeof (bool))]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagement"), OutputType(typeof (bool))]
public class RemoveAzureApiManagement : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs
index dbe8f1ec8934..5c3446403e1c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementRegion"), OutputType(typeof (PsApiManagement))]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementRegion"), OutputType(typeof (PsApiManagement))]
public class RemoveAzureApiManagementRegion : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs
index d00ce79d65d7..07e3aae55619 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.Models;
using Microsoft.WindowsAzure.Commands.Common.Storage;
- [Cmdlet(VerbsData.Restore, "AzureRMApiManagement"), OutputType(typeof (PsApiManagement))]
+ [Cmdlet(VerbsData.Restore, "AzureRmApiManagement"), OutputType(typeof (PsApiManagement))]
public class RestoreAzureApiManagement : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs
index ac16731579f7..f5526cb03e4c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementHostnames", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementHostnames", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
public class SetAzureApiManagementHostnames : AzureApiManagementCmdletBase
{
internal const string FromPsApiManagementInstanceSetName = "Set from provided PsApiManagement instance";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs
index fe57b6f27d86..52356ea35450 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementVirtualNetworks"), OutputType(typeof (PsApiManagement))]
+ [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementVirtualNetworks"), OutputType(typeof (PsApiManagement))]
public class SetAzureApiManagementVirtualNetworks : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs
index 02ae8dddc4b0..4606fba8844f 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsData.Update, "AzureRMApiManagementDeployment", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
+ [Cmdlet(VerbsData.Update, "AzureRmApiManagementDeployment", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))]
public class UpdateAzureApiManagementDeployment : AzureApiManagementCmdletBase
{
internal const string FromPsApiManagementInstanceSetName = "Update from PsApiManagement instance";
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs
index 2d5b79858d0c..326345aec642 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
using System.Management.Automation;
using Microsoft.Azure.Commands.ApiManagement.Models;
- [Cmdlet(VerbsData.Update, "AzureRMApiManagementRegion"), OutputType(typeof(PsApiManagement))]
+ [Cmdlet(VerbsData.Update, "AzureRmApiManagementRegion"), OutputType(typeof(PsApiManagement))]
public class UpdateAzureApiManagementRegion : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml
index 46795e76ba70..09ffefba083d 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml
@@ -2,7 +2,7 @@
- Add-AzureRMApiManagementRegion
+ Add-AzureRmApiManagementRegion
Adds new deployment region to PsApiManagement instance.
@@ -14,11 +14,11 @@
- Add-AzureRMApiManagementRegion cmdlet adds new instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion to collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRMApiManagementRegion and Remove-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet.
+ Add-AzureRmApiManagementRegion cmdlet adds new instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion to collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRmApiManagementRegion and Remove-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet.
- Add-AzureRMApiManagementRegion
+ Add-AzureRmApiManagementRegion
ApiManagement
@@ -175,7 +175,7 @@
PS C:\>
- PS C:\> Add-AzureRMApiManagementRegion –ApiManagement $apiManagement -Location “East US” -Sku “Premium” –Capacity 2
+ PS C:\> Add-AzureRmApiManagementRegion –ApiManagement $apiManagement -Location “East US” -Sku “Premium” –Capacity 2
Add new 2 units ‘Premium’ region to the PsApiManagement instance.
@@ -195,9 +195,9 @@
PS C:\>
- PS C:\> Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi |
-Add-AzureRMApiManagementRegion -Location “East US” -Sku “Premium” –Capacity 2 |
-Update-AzureRMApiManagementDeployments
+ PS C:\> Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi |
+Add-AzureRmApiManagementRegion -Location “East US” -Sku “Premium” –Capacity 2 |
+Update-AzureRmApiManagementDeployments
Script to get a PsApiManagement, add 2 ‘Premium’ units region and update deployment.
@@ -219,7 +219,7 @@ Update-AzureRMApiManagementDeployments
- Backup-AzureRMApiManagement
+ Backup-AzureRmApiManagement
Backs up API Management Service and places the backup to the specified Azure storage blob.
@@ -231,11 +231,11 @@ Update-AzureRMApiManagementDeployments
- Backup-AzureRMApiManagement cmdlet makes a backup copy of an API Management Service and places the backup to the specified Azure storage blob.
+ Backup-AzureRmApiManagement cmdlet makes a backup copy of an API Management Service and places the backup to the specified Azure storage blob.
- Backup-AzureRMApiManagement
+ Backup-AzureRmApiManagement
ResourceGroupName
@@ -411,7 +411,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> Backup-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi -StorageContext $storageContext -TargetContainerName ContosoBackups –TargetBlobName ContosoBackup.apimbackup
+ PS C:\> Backup-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi -StorageContext $storageContext -TargetContainerName ContosoBackups –TargetBlobName ContosoBackup.apimbackup
Backup API Management service to Azure storage blob.
@@ -433,7 +433,7 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagement
+ Get-AzureRmApiManagement
Gets a list or a particular API Management Service description.
@@ -445,11 +445,11 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagement cmdlet gets a list of all API Management services under subscription or specified resource group or a particular API Management.
+ Get-AzureRmApiManagement cmdlet gets a list of all API Management services under subscription or specified resource group or a particular API Management.
- Get-AzureRMApiManagement
+ Get-AzureRmApiManagement
Profile
@@ -459,7 +459,7 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagement
+ Get-AzureRmApiManagement
ResourceGroupName
@@ -483,7 +483,7 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagement
+ Get-AzureRmApiManagement
ResourceGroupName
@@ -576,7 +576,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> Get-AzureRMApiManagement
+ PS C:\> Get-AzureRmApiManagement
Get all API Management services within subscription.
@@ -596,7 +596,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> Get-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi
+ PS C:\> Get-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi
Get API Management service by name.
@@ -618,7 +618,7 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagementSsoToken
+ Get-AzureRmApiManagementSsoToken
Gets a link with an SSO token to a deployed management portal of an API Management service.
@@ -630,11 +630,11 @@ Update-AzureRMApiManagementDeployments
- Get-AzureRMApiManagementSsoToken cmdlet returns a link (URL) containing an SSO token to a deployed management portal of an API Management service.
+ Get-AzureRmApiManagementSsoToken cmdlet returns a link (URL) containing an SSO token to a deployed management portal of an API Management service.
- Get-AzureRMApiManagementSsoToken
+ Get-AzureRmApiManagementSsoToken
ResourceGroupName
@@ -734,7 +734,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> Get-AzureRMApiManagementSsoToken –ResourceGroupName Contoso –Name ContosoApi
+ PS C:\> Get-AzureRmApiManagementSsoToken –ResourceGroupName Contoso –Name ContosoApi
Get SSO token of an API Management service.
@@ -756,7 +756,7 @@ Update-AzureRMApiManagementDeployments
- Import-AzureRMApiManagementHostnameCertificate
+ Import-AzureRmApiManagementHostnameCertificate
Imports a certificate in a PFX format for an API Management Service.
@@ -768,11 +768,11 @@ Update-AzureRMApiManagementDeployments
- Import-AzureRMApiManagementHostnameCertificate cmdlet imports a certificate in a PFX format for an API Management Service. The certificate is to be used for custom hostnames configuration.
+ Import-AzureRmApiManagementHostnameCertificate cmdlet imports a certificate in a PFX format for an API Management Service. The certificate is to be used for custom hostnames configuration.
- Import-AzureRMApiManagementHostnameCertificate
+ Import-AzureRmApiManagementHostnameCertificate
ResourceGroupName
@@ -948,7 +948,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret”
+ PS C:\> Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret”
Import a certificate for Proxy custom hostname.
@@ -970,7 +970,7 @@ Update-AzureRMApiManagementDeployments
- New-AzureRMApiManagement
+ New-AzureRmApiManagement
Creates new API Management Service.
@@ -982,11 +982,11 @@ Update-AzureRMApiManagementDeployments
- New-AzureRMApiManagement cmdlet creates new API Management deployment.
+ New-AzureRmApiManagement cmdlet creates new API Management deployment.
- New-AzureRMApiManagement
+ New-AzureRmApiManagement
ResourceGroupName
@@ -1200,7 +1200,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> New-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com
+ PS C:\> New-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com
Create new ‘Developer’ tier API Management service
@@ -1220,7 +1220,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> New-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com –Sku Standard –Capacity 3
+ PS C:\> New-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com –Sku Standard –Capacity 3
Create new ‘Standard’ tier API Management service with 3 units
@@ -1242,7 +1242,7 @@ Update-AzureRMApiManagementDeployments
- New-AzureRMApiManagementHostnameConfiguration
+ New-AzureRmApiManagementHostnameConfiguration
Creates an instance of PsApiManagementHostnameConfiguration.
@@ -1254,11 +1254,11 @@ Update-AzureRMApiManagementDeployments
- Helper command to create an instance of PsApiManagementHostnameConfiguration. This command is to be used with Set-AzureRMApiManagementHostnames command.
+ Helper command to create an instance of PsApiManagementHostnameConfiguration. This command is to be used with Set-AzureRmApiManagementHostnames command.
- New-AzureRMApiManagementHostnameConfiguration
+ New-AzureRmApiManagementHostnameConfiguration
CertificateThumbprint
@@ -1358,7 +1358,7 @@ Update-AzureRMApiManagementDeployments
PS C:\>
- PS C:\> New-AzureRMApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C
+ PS C:\> New-AzureRmApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C
Create and initialize instance of Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementHostnameConfiguration type.
@@ -1380,7 +1380,7 @@ Update-AzureRMApiManagementDeployments
- New-AzureRMApiManagementVirtualNetwork
+ New-AzureRmApiManagementVirtualNetwork
Creates an instance of PsApiManagementVirtualNetwork.
@@ -1392,11 +1392,11 @@ Update-AzureRMApiManagementDeployments
- Helper command to create an instance of PsApiManagementVirtualNetwork. This command is to be used with Set-AzureRMApiManagementVirtualNetworks command.
+ Helper command to create an instance of PsApiManagementVirtualNetwork. This command is to be used with Set-AzureRmApiManagementVirtualNetworks command.
- New-AzureRMApiManagementVirtualNetwork
+ New-AzureRmApiManagementVirtualNetwork
Location
@@ -1516,10 +1516,10 @@ Update-AzureRMApiManagementDeployments
PS C:\>
$virtualNetworks = @()
-$virtualNetworks += New-AzureRMApiManagementVirtualNetwork –Location “East US” –SubtenName ContosoNet -VnetId “089D3F4D-B986-4DFD-9259-9112BA7A1F03”
-Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks
+$virtualNetworks += New-AzureRmApiManagementVirtualNetwork –Location “East US” –SubtenName ContosoNet -VnetId “089D3F4D-B986-4DFD-9259-9112BA7A1F03”
+Set-AzureRmApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks
- Script to create a virtual network and call run Set-AzureRMApiManagementVirtualNetworks command.
+ Script to create a virtual network and call run Set-AzureRmApiManagementVirtualNetworks command.
@@ -1539,7 +1539,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Remove-AzureRMApiManagement
+ Remove-AzureRmApiManagement
Removes existing API Management.
@@ -1551,11 +1551,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Remove-AzureRMApiManagement cmdlet removes existing API Management service.
+ Remove-AzureRmApiManagement cmdlet removes existing API Management service.
- Remove-AzureRMApiManagement
+ Remove-AzureRmApiManagement
ResourceGroupName
@@ -1693,7 +1693,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- PS C:\> Remove-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi
+ PS C:\> Remove-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi
Remove API Management service.
@@ -1715,7 +1715,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Remove-AzureRMApiManagementRegion
+ Remove-AzureRmApiManagementRegion
Removes existing deployment region from PsApiManagement instance.
@@ -1727,11 +1727,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Remove-AzureRMApiManagementRegion cmdlet removes instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion from collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not modifies deployment by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRMApiManagementRegion and Add-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet.
+ Remove-AzureRmApiManagementRegion cmdlet removes instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion from collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not modifies deployment by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRmApiManagementRegion and Add-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet.
- Remove-AzureRMApiManagementRegion
+ Remove-AzureRmApiManagementRegion
ApiManagement
@@ -1831,7 +1831,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- PS C:\> Remove-AzureRMApiManagementRegion –ApiManagement $apiManagement -Location “East US”
+ PS C:\> Remove-AzureRmApiManagementRegion –ApiManagement $apiManagement -Location “East US”
Remove a region from the PsApiManagement instance.
@@ -1851,7 +1851,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- PS C:\> Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi | Remove-AzureRMApiManagementRegion -Location “East US” | Update-AzureRMApiManagementDeployment
+ PS C:\> Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi | Remove-AzureRmApiManagementRegion -Location “East US” | Update-AzureRmApiManagementDeployment
Script to get a PsApiManagement, remove a region and update deployment with piping.
@@ -1874,7 +1874,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Restore-AzureRMApiManagement
+ Restore-AzureRmApiManagement
Restores an API Management Service from the specified Azure storage blob.
@@ -1886,11 +1886,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Restore-AzureRMApiManagement cmdlet restores an API Management Service from the specified backup residing in an Azure storage blob.
+ Restore-AzureRmApiManagement cmdlet restores an API Management Service from the specified backup residing in an Azure storage blob.
- Restore-AzureRMApiManagement
+ Restore-AzureRmApiManagement
ResourceGroupName
@@ -2066,7 +2066,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- PS C:\> Restore-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name RestoredContosoApi -StorageContext $storageContext -SourceContainerName ContosoBackups –SourceBlobName ContosoBackup.apimbackup
+ PS C:\> Restore-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name RestoredContosoApi -StorageContext $storageContext -SourceContainerName ContosoBackups –SourceBlobName ContosoBackup.apimbackup
Restore API Management service from Azure storage blob.
@@ -2088,7 +2088,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Set-AzureRMApiManagementHostnames
+ Set-AzureRmApiManagementHostnames
Sets custom hostname configuration for an API Management service proxy and/or portal.
@@ -2100,11 +2100,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Set-AzureRMApiManagementHostnames cmdlet sets (applies) custom hostname configuration for an API Management service proxy and/or portal.
+ Set-AzureRmApiManagementHostnames cmdlet sets (applies) custom hostname configuration for an API Management service proxy and/or portal.
- Set-AzureRMApiManagementHostnames
+ Set-AzureRmApiManagementHostnames
ResourceGroupName
@@ -2149,7 +2149,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
- Set-AzureRMApiManagementHostnames
+ Set-AzureRmApiManagementHostnames
ApiManagement
@@ -2297,7 +2297,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- PS C:\> Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf
+ PS C:\> Set-AzureRmApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf
Set custom hostname configuration for proxy and portal.
@@ -2317,11 +2317,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam
PS C:\>
- Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret”
-Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Portal” -PfxPath “C:\portalcert.pfx” -PfxPassword “certsecret”
-$portalHostnameConf = New-AzureRMApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C
-$proxyHostnameConf = New-AzureRMApiManagementHostnameConfiguration -Hostname “proxy.contoso.com” -CertificateThumbprint 5DD7CCF6A1E74E0987DD2873406B7264
-Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf
+ Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret”
+Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Portal” -PfxPath “C:\portalcert.pfx” -PfxPassword “certsecret”
+$portalHostnameConf = New-AzureRmApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C
+$proxyHostnameConf = New-AzureRmApiManagementHostnameConfiguration -Hostname “proxy.contoso.com” -CertificateThumbprint 5DD7CCF6A1E74E0987DD2873406B7264
+Set-AzureRmApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf
Script to configure custom hostname for proxy and portal. First import corresponding certificates and then apply custom hostnames.
@@ -2344,7 +2344,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
- Set-AzureRMApiManagementVirtualNetworks
+ Set-AzureRmApiManagementVirtualNetworks
Sets VPN configuration for an API Management Service.
@@ -2356,11 +2356,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
- Set-AzureRMApiManagementVirtualNetworks cmdlet sets Virtual Network configuration for an API Management.
+ Set-AzureRmApiManagementVirtualNetworks cmdlet sets Virtual Network configuration for an API Management.
- Set-AzureRMApiManagementVirtualNetworks
+ Set-AzureRmApiManagementVirtualNetworks
ResourceGroupName
@@ -2498,7 +2498,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
PS C:\>
- PS C:\> Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks
+ PS C:\> Set-AzureRmApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks
Set virtual networks for an API Management service
@@ -2520,7 +2520,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
- Update-AzureRMApiManagementDeployment
+ Update-AzureRmApiManagementDeployment
Updates deployment of an API Management Service.
@@ -2532,11 +2532,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
- Update-AzureRMApiManagementDeployment cmdlet updates current deployment (scales, adds/removes additional deployment regions).
+ Update-AzureRmApiManagementDeployment cmdlet updates current deployment (scales, adds/removes additional deployment regions).
- Update-AzureRMApiManagementDeployment
+ Update-AzureRmApiManagementDeployment
ResourceGroupName
@@ -2602,7 +2602,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
- Update-AzureRMApiManagementDeployment
+ Update-AzureRmApiManagementDeployment
ApiManagement
@@ -2786,7 +2786,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
PS C:\>
- PS C:\> Update-AzureRMApiManagementDeployment -ResourceGroupName Contoso -Name ContosoApi –Sku “Standard” –Capacity 3
+ PS C:\> Update-AzureRmApiManagementDeployment -ResourceGroupName Contoso -Name ContosoApi –Sku “Standard” –Capacity 3
Command to update deployment of an ApiManagement to 3 unit ‘Standard’.
@@ -2806,11 +2806,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos
PS C:\>
- $apiManagement = Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi
+ $apiManagement = Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi
$apiManagement.Sku = “Premium”
$apiManagement.Capacity = 5
$apiManagement.AddRegion(“Central US”, “Premium”, 3)
-Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement
+Update-AzureRmApiManagementDeployment –ApiManagement $apiManagement
Script to get an ApiManagement, scale to 5 ‘Premium’ units and add additional 3 unit ‘Premium’ region.
@@ -2833,7 +2833,7 @@ Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement
- Update-AzureRMApiManagementRegion
+ Update-AzureRmApiManagementRegion
Updates existing deployment region in PsApiManagement instance.
@@ -2845,11 +2845,11 @@ Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement
- Update-AzureRMApiManagementRegion cmdlet updates (scales up/down or changes VPN configuration) existing instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion in collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Add-AzureRMApiManagementRegion and Remove-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet.
+ Update-AzureRmApiManagementRegion cmdlet updates (scales up/down or changes VPN configuration) existing instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion in collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Add-AzureRmApiManagementRegion and Remove-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet.
- Update-AzureRMApiManagementRegion
+ Update-AzureRmApiManagementRegion
ApiManagement
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
index 5fcdc5862226..7cbc29f96364 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
@@ -3,7 +3,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
index a832f12d73cb..0c4d6aaa3376 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
@@ -42,24 +42,24 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
False
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
-
+
False
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Gallery.dll
+ ..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll
False
..\..\..\packages\Microsoft.Azure.Management.ApiManagement.1.0.2-preview\lib\net40\Microsoft.Azure.Management.ApiManagement.dll
-
+
False
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Management.Authorization.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Authorization.1.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll
..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll
@@ -156,21 +156,19 @@
-
+
{3436a126-edc9-4060-8952-9a1be34cdd95}
Commands.ScenarioTests.ResourceManager.Common
-
- {e1f5201d-6067-430e-b303-4e367652991b}
- Commands.Resources
-
{ed8ba708-af42-4c08-9f4e-daa1037797d5}
Commands.ApiManagement.ServiceManagement
-
+
+ Designer
+
PreserveNewest
@@ -242,26 +240,5 @@
-
- xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
index 9cfd732a8db6..1d0eb9f14e4b 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs
@@ -14,8 +14,6 @@
namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests
{
- using System;
- using System.Management.Automation;
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Management.ApiManagement;
@@ -177,7 +175,11 @@ private void RunPowerShellTest(params string[] scripts)
SetupManagementClients();
_helper.SetupEnvironment(AzureModule.AzureResourceManager);
- _helper.SetupModules(AzureModule.AzureResourceManager, "ScenarioTests\\Common.ps1", "ScenarioTests\\" + GetType().Name + ".ps1");
+ _helper.SetupModules(AzureModule.AzureResourceManager,
+ "ScenarioTests\\Common.ps1",
+ "ScenarioTests\\" + GetType().Name + ".ps1",
+ _helper.RMProfileModule,
+ _helper.GetRMModulePath(@"AzureRM.ApiManagement.psd1"));
_helper.RunPowerShellTest(scripts);
}
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
index 4f1a364a3cdf..615c86aed7fb 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1
@@ -6,10 +6,10 @@ function Api-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all apis
- $apis = Get-AzureRMApiManagementApi -Context $context
+ $apis = Get-AzureRmApiManagementApi -Context $context
# there should be one API
Assert-AreEqual 1 $apis.Count
@@ -28,7 +28,7 @@ Param($resourceGroupName, $serviceName)
# get by ID
$apiId = $apis[0].ApiId
- $api = Get-AzureRMApiManagementApi -Context $context -ApiId $apiId
+ $api = Get-AzureRmApiManagementApi -Context $context -ApiId $apiId
Assert-AreEqual $apiId $api.ApiId
Assert-AreEqual "Echo API" $api.Name
@@ -45,7 +45,7 @@ Param($resourceGroupName, $serviceName)
# get by Name
$apiName = $apis[0].Name
- $apis = Get-AzureRMApiManagementApi -Context $context -Name $apiName
+ $apis = Get-AzureRmApiManagementApi -Context $context -Name $apiName
Assert-AreEqual 1 $apis.Count
Assert-NotNull $apis[0].ApiId
@@ -71,7 +71,7 @@ Param($resourceGroupName, $serviceName)
$subscriptionKeyParametersHeader = getAssetName
$subscriptionKeyQueryStringParamName = getAssetName
- $newApi = New-AzureRMApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription `
+ $newApi = New-AzureRmApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription `
-Protocols @("http", "https") -Path $newApiPath -ServiceUrl $newApiServiceUrl `
-SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName
@@ -96,7 +96,7 @@ Param($resourceGroupName, $serviceName)
$subscriptionKeyParametersHeader = getAssetName
$subscriptionKeyQueryStringParamName = getAssetName
- $newApi = Set-AzureRMApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription `
+ $newApi = Set-AzureRmApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription `
-Protocols @("https") -Path $newApiPath -ServiceUrl $newApiServiceUrl `
-SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName `
-PassThru
@@ -113,12 +113,12 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $subscriptionKeyParametersHeader $newApi.SubscriptionKeyHeaderName
Assert-AreEqual $subscriptionKeyQueryStringParamName $newApi.SubscriptionKeyQueryParamName
- $product = Get-AzureRMApiManagementProduct -Context $context | Select -First 1
- Add-AzureRMApiManagementApiToProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId
+ $product = Get-AzureRmApiManagementProduct -Context $context | Select -First 1
+ Add-AzureRmApiManagementApiToProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId
#get by product id
$found = 0
- $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $product.ProductId
+ $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $product.ProductId
for ($i = 0; $i -lt $apis.Count; $i++)
{
if($apis[$i].ApiId -eq $newApiId)
@@ -128,9 +128,9 @@ Param($resourceGroupName, $serviceName)
}
Assert-AreEqual 1 $found
- Remove-AzureRMApiManagementApiFromProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId
+ Remove-AzureRmApiManagementApiFromProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId
$found = 0
- $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $product.ProductId
+ $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $product.ProductId
for ($i = 0; $i -lt $apis.Count; $i++)
{
if($apis[$i].ApiId -eq $newApiId)
@@ -143,7 +143,7 @@ Param($resourceGroupName, $serviceName)
finally
{
# remove created api
- $removed = Remove-AzureRMApiManagementApi -Context $context -ApiId $newApiId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementApi -Context $context -ApiId $newApiId -PassThru -Force
Assert-True {$removed}
}
}
@@ -156,7 +156,7 @@ function Api-ImportExportTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
$wadlPath = "./Resources/WADLYahoo.xml"
$path = "wadlapi"
@@ -165,20 +165,20 @@ Param($resourceGroupName, $serviceName)
try
{
# import api from file
- $api = Import-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationPath $wadlPath -SpecificationFormat Wadl -Path $path
+ $api = Import-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationPath $wadlPath -SpecificationFormat Wadl -Path $path
Assert-AreEqual $wadlApiId $api.ApiId
Assert-AreEqual $path $api.Path
# export api to pipline
- $result = Export-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationFormat Wadl
+ $result = Export-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationFormat Wadl
Assert-True {$result -like '*Yahoo News Search API*'}
}
finally
{
# remove created api
- $removed = Remove-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -PassThru -Force
Assert-True {$removed}
}
}
@@ -191,20 +191,20 @@ function Operations-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get api
- $api = Get-AzureRMApiManagementApi -Context $context -Name 'Echo API'| Select -First 1
+ $api = Get-AzureRmApiManagementApi -Context $context -Name 'Echo API'| Select -First 1
# get all api operations
- $operations = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId
+ $operations = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId
Assert-AreEqual 6 $operations.Count
for ($i = 0; $i -lt $operations.Count; $i++)
{
Assert-AreEqual $api.ApiId $operations[$i].ApiId
- $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $operations[$i].OperationId
+ $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $operations[$i].OperationId
Assert-AreEqual $api.ApiId $operation.ApiId
Assert-AreEqual $operations[$i].OperationId $operation.OperationId
@@ -296,7 +296,7 @@ Param($resourceGroupName, $serviceName)
$responseRepresentation.Sample = $newOperationResponseRepresentationSample
$response.Representations = @($responseRepresentation)
- $newOperation = New-AzureRMApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName `
+ $newOperation = New-AzureRmApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName `
–Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response)
Assert-AreEqual $api.ApiId $newOperation.ApiId
@@ -421,7 +421,7 @@ Param($resourceGroupName, $serviceName)
$responseRepresentation.Sample = $newOperationResponseRepresentationSample
$response.Representations = @($responseRepresentation)
- $newOperation = Set-AzureRMApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName `
+ $newOperation = Set-AzureRmApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName `
–Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response) -PassThru
Assert-AreEqual $api.ApiId $newOperation.ApiId
@@ -469,14 +469,14 @@ Param($resourceGroupName, $serviceName)
finally
{
#remove created operation
- $removed = Remove-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId -Force -PassThru
+ $removed = Remove-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId -Force -PassThru
Assert-True {$removed}
$operation = $null
try
{
# check it was removed
- $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId
+ $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId
}
catch
{
@@ -494,10 +494,10 @@ function Product-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all products
- $products = Get-AzureRMApiManagementProduct -Context $context
+ $products = Get-AzureRmApiManagementProduct -Context $context
# there should be 2 products
Assert-AreEqual 2 $products.Count
@@ -535,7 +535,7 @@ Param($resourceGroupName, $serviceName)
$productSubscriptionsLimit = 10
$productTerms = getAssetName
- $newProduct = New-AzureRMApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription `
+ $newProduct = New-AzureRmApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription `
–LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod –SubscriptionRequired $productSubscriptionRequired `
–ApprovalRequired $productApprovalRequired –State $productState -SubscriptionsLimit $productSubscriptionsLimit
@@ -551,12 +551,12 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $productTerms $newProduct.LegalTerms
#add api to product
- $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId
+ $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId
Assert-AreEqual 0 $apis.Count
- Get-AzureRMApiManagementApi -Context $context | Add-AzureRMApiManagementApiToProduct -Context $context -ProductId $productId
+ Get-AzureRmApiManagementApi -Context $context | Add-AzureRmApiManagementApiToProduct -Context $context -ProductId $productId
- $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId
+ $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId
Assert-AreEqual 1 $apis.Count
#modify product
@@ -570,7 +570,7 @@ Param($resourceGroupName, $serviceName)
$productSubscriptionsLimit = 20
$productTerms = getAssetName
- $newProduct = Set-AzureRMApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription `
+ $newProduct = Set-AzureRmApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription `
–LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod -ApprovalRequired $productApprovalRequired `
–SubscriptionRequired $TRUE –State $productState -SubscriptionsLimit $productSubscriptionsLimit -PassThru
@@ -586,15 +586,15 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $productTerms $newProduct.LegalTerms
#remove api from product
- Get-AzureRMApiManagementApi -Context $context | Remove-AzureRMApiManagementApiFromProduct -Context $context -ProductId $productId
+ Get-AzureRmApiManagementApi -Context $context | Remove-AzureRmApiManagementApiFromProduct -Context $context -ProductId $productId
- $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId
+ $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId
Assert-AreEqual 0 $apis.Count
}
finally
{
# remove created product
- $removed = Remove-AzureRMApiManagementProduct -Context $context -ProductId $productId -DeleteSubscriptions -PassThru -Force
+ $removed = Remove-AzureRmApiManagementProduct -Context $context -ProductId $productId -DeleteSubscriptions -PassThru -Force
Assert-True {$removed}
}
}
@@ -607,10 +607,10 @@ function Subscription-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all subscriptions
- $subs = Get-AzureRMApiManagementSubscription -Context $context
+ $subs = Get-AzureRmApiManagementSubscription -Context $context
Assert-AreEqual 2 $subs.Count
for($i = 0; $i -lt $subs.Count; $i++)
@@ -625,7 +625,7 @@ Param($resourceGroupName, $serviceName)
Assert-NotNull $subs[$i].SecondaryKey
# get by id
- $sub = Get-AzureRMApiManagementSubscription -Context $context -SubscriptionId $subs[$i].SubscriptionId
+ $sub = Get-AzureRmApiManagementSubscription -Context $context -SubscriptionId $subs[$i].SubscriptionId
Assert-AreEqual $subs[$i].SubscriptionId $sub.SubscriptionId
Assert-AreEqual $subs[$i].UserId $sub.UserId
@@ -637,7 +637,7 @@ Param($resourceGroupName, $serviceName)
}
# update product to accept unlimited number or subscriptions
- Set-AzureRMApiManagementProduct -Context $context -ProductId $subs[0].ProductId -SubscriptionsLimit 100
+ Set-AzureRmApiManagementProduct -Context $context -ProductId $subs[0].ProductId -SubscriptionsLimit 100
# add new subscription
$newSubscriptionId = getAssetName
@@ -648,7 +648,7 @@ Param($resourceGroupName, $serviceName)
$newSubscriptionSk = getAssetName
$newSubscriptionState = "Active"
- $sub = New-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -UserId $subs[0].UserId `
+ $sub = New-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -UserId $subs[0].UserId `
-ProductId $subs[0].ProductId -Name $newSubscriptionName -PrimaryKey $newSubscriptionPk -SecondaryKey $newSubscriptionSk `
-State $newSubscriptionState
@@ -664,7 +664,7 @@ Param($resourceGroupName, $serviceName)
$patchedSk = getAssetName
$patchedExpirationDate = [DateTime]::Parse('2025-7-20')
- $sub = Set-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Name $patchedName `
+ $sub = Set-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Name $patchedName `
-PrimaryKey $patchedPk -SecondaryKey $patchedSk -ExpiresOn $patchedExpirationDate -PassThru
Assert-AreEqual $newSubscriptionId $sub.SubscriptionId
@@ -677,14 +677,14 @@ Param($resourceGroupName, $serviceName)
finally
{
# remove created subscription
- $removed = Remove-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Force -PassThru
+ $removed = Remove-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Force -PassThru
Assert-True {$removed}
$sub = $null
try
{
# check it was removed
- $sub = Get-AzureRMApiManagementSubscripiton -Context $context -SubscriptionId $newSubscriptionId
+ $sub = Get-AzureRmApiManagementSubscripiton -Context $context -SubscriptionId $newSubscriptionId
}
catch
{
@@ -702,10 +702,10 @@ function User-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all users
- $users = Get-AzureRMApiManagementUser -Context $context
+ $users = Get-AzureRmApiManagementUser -Context $context
Assert-AreEqual 1 $users.Count
Assert-NotNull $users[0].UserId
@@ -716,7 +716,7 @@ Param($resourceGroupName, $serviceName)
Assert-NotNull $users[0].RegistrationDate
# get by id
- $user = Get-AzureRMApiManagementUser -Context $context -UserId $users[0].UserId
+ $user = Get-AzureRmApiManagementUser -Context $context -UserId $users[0].UserId
Assert-AreEqual $users[0].UserId $user.UserId
Assert-AreEqual $users[0].FirstName $user.FirstName
@@ -736,7 +736,7 @@ Param($resourceGroupName, $serviceName)
$userNote = getAssetName
$userSate = "Active"
- $user = New-AzureRMApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName `
+ $user = New-AzureRmApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName `
-Password $userPassword -State $userSate -Note $userNote -Email $userEmail
Assert-AreEqual $userId $user.UserId
@@ -754,7 +754,7 @@ Param($resourceGroupName, $serviceName)
$userNote = getAssetName
$userSate = "Active"
- $user = Set-AzureRMApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName `
+ $user = Set-AzureRmApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName `
-Password $userPassword -State $userSate -Note $userNote -PassThru -Email $userEmail
Assert-AreEqual $userId $user.UserId
@@ -765,7 +765,7 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $userSate $user.State
#generate SSO URL for the user
- $ssoUrl = Get-AzureRMApiManagementUserSsoUrl -Context $context -UserId $userId
+ $ssoUrl = Get-AzureRmApiManagementUserSsoUrl -Context $context -UserId $userId
Assert-NotNull $ssoUrl
Assert-AreEqual $true [System.Uri]::IsWellFormedUriString($ssoUrl, 'Absolute')
@@ -773,14 +773,14 @@ Param($resourceGroupName, $serviceName)
finally
{
# remove created user
- $removed = Remove-AzureRMApiManagementUser -Context $context -UserId $userId -DeleteSubscriptions -Force -PassThru
+ $removed = Remove-AzureRmApiManagementUser -Context $context -UserId $userId -DeleteSubscriptions -Force -PassThru
Assert-True {$removed}
$user = $null
try
{
# check it was removed
- $user = Get-AzureRMApiManagementUser -Context $context -UserId $userId
+ $user = Get-AzureRmApiManagementUser -Context $context -UserId $userId
}
catch
{
@@ -798,10 +798,10 @@ function Group-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all groups
- $groups = Get-AzureRMApiManagementGroup -Context $context
+ $groups = Get-AzureRmApiManagementGroup -Context $context
Assert-AreEqual 3 $groups.Count
for($i = 0; $i -lt 3; $i++)
@@ -813,7 +813,7 @@ Param($resourceGroupName, $serviceName)
Assert-NotNull $groups[$i].Type
# get by id
- $group = Get-AzureRMApiManagementGroup -Context $context -GroupId $groups[$i].GroupId
+ $group = Get-AzureRmApiManagementGroup -Context $context -GroupId $groups[$i].GroupId
Assert-AreEqual $group.GroupId $groups[$i].GroupId
Assert-AreEqual $group.Name $groups[$i].Name
@@ -829,7 +829,7 @@ Param($resourceGroupName, $serviceName)
$newGroupName = getAssetName
$newGroupDescription = getAssetName
- $group = New-AzureRMApiManagementGroup -GroupId $groupId -Context $context -Name $newGroupName -Description $newGroupDescription
+ $group = New-AzureRmApiManagementGroup -GroupId $groupId -Context $context -Name $newGroupName -Description $newGroupDescription
Assert-AreEqual $groupId $group.GroupId
Assert-AreEqual $newGroupName $group.Name
@@ -841,7 +841,7 @@ Param($resourceGroupName, $serviceName)
$newGroupName = getAssetName
$newGroupDescription = getAssetName
- $group = Set-AzureRMApiManagementGroup -Context $context -GroupId $groupId -Name $newGroupName -Description $newGroupDescription -PassThru
+ $group = Set-AzureRmApiManagementGroup -Context $context -GroupId $groupId -Name $newGroupName -Description $newGroupDescription -PassThru
Assert-AreEqual $groupId $group.GroupId
Assert-AreEqual $newGroupName $group.Name
@@ -850,43 +850,43 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual 'Custom' $group.Type
# add Product to Group
- $product = Get-AzureRMApiManagementProduct -Context $context | Select -First 1
- Add-AzureRMApiManagementProductToGroup -Context $context -GroupId $groupId -ProductId $product.ProductId
+ $product = Get-AzureRmApiManagementProduct -Context $context | Select -First 1
+ Add-AzureRmApiManagementProductToGroup -Context $context -GroupId $groupId -ProductId $product.ProductId
#check group products
- $groups = Get-AzureRMApiManagementGroup -Context $context -ProductId $product.ProductId
+ $groups = Get-AzureRmApiManagementGroup -Context $context -ProductId $product.ProductId
Assert-AreEqual 4 $groups.Count
# remove Product to Group
- Remove-AzureRMApiManagementProductFromGroup -Context $context -GroupId $groupId -ProductId $product.ProductId
+ Remove-AzureRmApiManagementProductFromGroup -Context $context -GroupId $groupId -ProductId $product.ProductId
#check group products
- $groups = Get-AzureRMApiManagementGroup -Context $context -ProductId $product.ProductId
+ $groups = Get-AzureRmApiManagementGroup -Context $context -ProductId $product.ProductId
Assert-AreEqual 3 $groups.Count
# add User to Group
- $user = Get-AzureRMApiManagementUser -Context $context | Select -First 1
- Add-AzureRMApiManagementUserToGroup -Context $context -GroupId $groupId -UserId $user.UserId
+ $user = Get-AzureRmApiManagementUser -Context $context | Select -First 1
+ Add-AzureRmApiManagementUserToGroup -Context $context -GroupId $groupId -UserId $user.UserId
- $groups = Get-AzureRMApiManagementGroup -Context $context -UserId $user.UserId
+ $groups = Get-AzureRmApiManagementGroup -Context $context -UserId $user.UserId
Assert-AreEqual 3 $groups.Count
#remove user from group
- Remove-AzureRMApiManagementUserFromGroup -Context $context -GroupId $groupId -UserId $user.UserId
- $groups = Get-AzureRMApiManagementGroup -Context $context -UserId $user.UserId
+ Remove-AzureRmApiManagementUserFromGroup -Context $context -GroupId $groupId -UserId $user.UserId
+ $groups = Get-AzureRmApiManagementGroup -Context $context -UserId $user.UserId
Assert-AreEqual 2 $groups.Count
}
finally
{
# remove created group
- $removed = Remove-AzureRMApiManagementGroup -Context $context -GroupId $groupId -Force -PassThru
+ $removed = Remove-AzureRmApiManagementGroup -Context $context -GroupId $groupId -Force -PassThru
Assert-True {$removed}
$group = $null
try
{
# check it was removed
- $group = Get-AzureRMApiManagementGroup -Context $context -GroupId $groupId
+ $group = Get-AzureRmApiManagementGroup -Context $context -GroupId $groupId
}
catch
{
@@ -911,86 +911,86 @@ Param($resourceGroupName, $serviceName)
$apiValidPath = "./Resources/ApiValidPolicy.xml"
$operationValidPath = "./Resources/OperationValidPolicy.xml"
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# test tenant policy
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $tenantValidPath -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $tenantValidPath -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context
+ $policy = Get-AzureRmApiManagementPolicy -Context $context
Assert-NotNull $policy
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context
+ $policy = Get-AzureRmApiManagementPolicy -Context $context
Assert-Null $policy
}
# test product policy
- $product = Get-AzureRMApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1
+ $product = Get-AzureRmApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $productValidPath -ProductId $product.ProductId -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $productValidPath -ProductId $product.ProductId -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId
Assert-NotNull $policy
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId
Assert-Null $policy
}
# test api policy
- $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1
+ $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $apiValidPath -ApiId $api.ApiId -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $apiValidPath -ApiId $api.ApiId -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId
Assert-NotNull $policy
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId
Assert-Null $policy
}
# test operation policy
- $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1
- $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1
+ $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1
+ $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $operationValidPath -ApiId $api.ApiId `
+ $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $operationValidPath -ApiId $api.ApiId `
-OperationId $operation.OperationId -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
Assert-NotNull $policy
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
Assert-Null $policy
}
@@ -1000,42 +1000,42 @@ Param($resourceGroupName, $serviceName)
$tenantValid = 'bbybyxxbbcczc'
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $tenantValid -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $tenantValid -PassThru
Assert-AreEqual $true $set
- Get-AzureRMApiManagementPolicy -Context $context -SaveAs 'TenantPolicy.xml' -Force
+ Get-AzureRmApiManagementPolicy -Context $context -SaveAs 'TenantPolicy.xml' -Force
$exists = [System.IO.File]::Exists('TenantPolicy.xml')
$policy = gc 'TenantPolicy.xml'
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context
+ $policy = Get-AzureRmApiManagementPolicy -Context $context
Assert-Null $policy
}
# test product policy
$productValid = ''
- $product = Get-AzureRMApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1
+ $product = Get-AzureRmApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $productValid -ProductId $product.ProductId -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $productValid -ProductId $product.ProductId -PassThru
Assert-AreEqual $true $set
- Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -SaveAs 'ProductPolicy.xml' -Force
+ Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -SaveAs 'ProductPolicy.xml' -Force
$exists = [System.IO.File]::Exists('ProductPolicy.xml')
$policy = gc 'ProductPolicy.xml'
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId
Assert-Null $policy
try
@@ -1047,23 +1047,23 @@ Param($resourceGroupName, $serviceName)
# test api policy
$apiValid = 'versionAcceptAccept-Charset'
- $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1
+ $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $apiValid -ApiId $api.ApiId -PassThru
+ $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $apiValid -ApiId $api.ApiId -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -SaveAs 'ApiPolicy.xml'
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -SaveAs 'ApiPolicy.xml'
$exists = [System.IO.File]::Exists('ApiPolicy.xml')
$policy = gc 'ApiPolicy.xml'
Assert-True {$policy -like '**'}
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId
Assert-Null $policy
try
@@ -1075,15 +1075,15 @@ Param($resourceGroupName, $serviceName)
# test operation policy
$operationValid = ''
- $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1
- $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1
+ $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1
+ $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1
try
{
- $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $operationValid -ApiId $api.ApiId `
+ $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $operationValid -ApiId $api.ApiId `
-OperationId $operation.OperationId -PassThru
Assert-AreEqual $true $set
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId `
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId `
-SaveAs 'OperationPolicy.xml'
$exists = [System.IO.File]::Exists('OperationPolicy.xml')
$policy = gc 'OperationPolicy.xml'
@@ -1091,10 +1091,10 @@ Param($resourceGroupName, $serviceName)
}
finally
{
- $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force
+ $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force
Assert-AreEqual $true $removed
- $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
+ $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId
Assert-Null $policy
try
@@ -1113,10 +1113,10 @@ function Certificate-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all certificates
- $certificates = Get-AzureRMApiManagementCertificate -Context $context
+ $certificates = Get-AzureRmApiManagementCertificate -Context $context
Assert-AreEqual 0 $certificates.Count
@@ -1129,28 +1129,28 @@ Param($resourceGroupName, $serviceName)
try
{
# upload certificate
- $cert = New-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword
+ $cert = New-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword
Assert-AreEqual $certId $cert.CertificateId
Assert-AreEqual $certThumbprint $cert.Thumbprint
Assert-AreEqual $certSubject $cert.Subject
# get certificate
- $cert = Get-AzureRMApiManagementCertificate -Context $context -CertificateId $certId
+ $cert = Get-AzureRmApiManagementCertificate -Context $context -CertificateId $certId
Assert-AreEqual $certId $cert.CertificateId
Assert-AreEqual $certThumbprint $cert.Thumbprint
Assert-AreEqual $certSubject $cert.Subject
# update certificate
- $cert = Set-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword -PassThru
+ $cert = Set-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword -PassThru
Assert-AreEqual $certId $cert.CertificateId
Assert-AreEqual $certThumbprint $cert.Thumbprint
Assert-AreEqual $certSubject $cert.Subject
# list certificates
- $certificates = Get-AzureRMApiManagementCertificate -Context $context
+ $certificates = Get-AzureRmApiManagementCertificate -Context $context
Assert-AreEqual 1 $certificates.Count
Assert-AreEqual $certId $certificates[0].CertificateId
@@ -1160,14 +1160,14 @@ Param($resourceGroupName, $serviceName)
finally
{
# remove uploaded certificate
- $removed = Remove-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -Force -PassThru
+ $removed = Remove-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -Force -PassThru
Assert-True {$removed}
$cert = $null
try
{
# check it was removed
- $cert = Get-AzureRMApiManagementCertificate -Context $context -CertificateId $certId
+ $cert = Get-AzureRmApiManagementCertificate -Context $context -CertificateId $certId
}
catch
{
@@ -1185,10 +1185,10 @@ function AuthorizationServer-CrudTest
{
Param($resourceGroupName, $serviceName)
- $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
+ $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName
# get all authoriaztion servers
- $servers = Get-AzureRMApiManagementAuthorizationServer -Context $context
+ $servers = Get-AzureRmApiManagementAuthorizationServer -Context $context
Assert-AreEqual 0 $servers.Count
@@ -1213,7 +1213,7 @@ Param($resourceGroupName, $serviceName)
$supportState = $true
$tokenBodyParameters = @{'tokenname'='tokenvalue'}
- $server = New-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description `
+ $server = New-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description `
-ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint `
-TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods `
-GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters `
@@ -1246,7 +1246,7 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $supportState $server.SupportState
Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count
- $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId
+ $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId
Assert-AreEqual $serverId $server.ServerId
Assert-AreEqual $name $server.Name
@@ -1290,7 +1290,7 @@ Param($resourceGroupName, $serviceName)
$supportState = $false
$tokenBodyParameters = @{'tokenname1'='tokenvalue1'}
- $server = Set-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description `
+ $server = Set-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description `
-ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint `
-TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods `
-GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters `
@@ -1320,7 +1320,7 @@ Param($resourceGroupName, $serviceName)
Assert-AreEqual $supportState $server.SupportState
Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count
- $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId
+ $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId
Assert-AreEqual $serverId $server.ServerId
Assert-AreEqual $name $server.Name
@@ -1351,14 +1351,14 @@ Param($resourceGroupName, $serviceName)
finally
{
# remove created server
- $removed = Remove-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Force -PassThru
+ $removed = Remove-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Force -PassThru
Assert-True {$removed}
$server = $null
try
{
# check it was removed
- $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId
+ $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId
}
catch
{
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1
index 0275adb24b47..9946896079db 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1
@@ -50,6 +50,6 @@ Gets all locations for a provider
#>
function Get-ProviderLocations($provider)
{
- $location = Get-AzureRMLocation | where {$_.Name -eq $provider}
+ $location = Get-AzureRmLocation | where {$_.Name -eq $provider}
$location.Locations
}
\ No newline at end of file
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
index 96be623f83fb..5e525d1021d7 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
@@ -2,10 +2,12 @@
-
+
+
+
diff --git a/src/ResourceManager/ApiManagement/NuGet.Config b/src/ResourceManager/ApiManagement/NuGet.Config
new file mode 100644
index 000000000000..2de911013532
--- /dev/null
+++ b/src/ResourceManager/ApiManagement/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/ResourceManager/Automation/Automation.sln b/src/ResourceManager/Automation/Automation.sln
new file mode 100644
index 000000000000..9376fc4f5b00
--- /dev/null
+++ b/src/ResourceManager/Automation/Automation.sln
@@ -0,0 +1,57 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Automation", "Commands.Automation\Commands.Automation.csproj", "{90DEF35A-F7FF-40D0-B008-F489A4C092DB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Automation.Test", "Commands.Automation.Test\Commands.Automation.Test.csproj", "{59D1B5DC-9175-43EC-90C6-CBA601B3565F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "..\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {90DEF35A-F7FF-40D0-B008-F489A4C092DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {90DEF35A-F7FF-40D0-B008-F489A4C092DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {90DEF35A-F7FF-40D0-B008-F489A4C092DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {90DEF35A-F7FF-40D0-B008-F489A4C092DB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {59D1B5DC-9175-43EC-90C6-CBA601B3565F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {59D1B5DC-9175-43EC-90C6-CBA601B3565F} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ EndGlobalSection
+EndGlobal
diff --git a/src/ResourceManager/Automation/AzureRM.Automation.psd1 b/src/ResourceManager/Automation/AzureRM.Automation.psd1
new file mode 100644
index 000000000000..32e34ec0000c
--- /dev/null
+++ b/src/ResourceManager/Automation/AzureRM.Automation.psd1
@@ -0,0 +1,88 @@
+#
+# Module manifest for module 'Microsoft.Azure.Commands.Automation'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 9/19/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.8'
+
+# ID used to uniquely identify this module
+GUID = 'bcea1c70-a32b-48c3-a05c-323e1c02f4d3'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = ' Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - Automation'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @()
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.Azure.Commands.Automation.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
similarity index 84%
rename from src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj
rename to src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
index 8a4a1cfb65a6..e21f7bbf097b 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
@@ -57,7 +57,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -124,6 +124,14 @@
..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll
+
+ ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll
+ True
+
+
+ ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll
+ True
+
@@ -149,6 +157,7 @@
+
@@ -166,17 +175,21 @@
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
-
+
{3436a126-edc9-4060-8952-9a1be34cdd95}
Commands.ScenarioTests.ResourceManager.Common
-
+
{90def35a-f7ff-40d0-b008-f489a4c092db}
- Commands.ResourceManagement.Automation
+ Commands.Automation
@@ -184,23 +197,5 @@
-
-
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs
index 733a9bded07a..4ba8308eb8e3 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs
@@ -51,7 +51,6 @@ public void NewAzureAutomationConnectionByNameSuccessfull()
string accountName = "automation";
string connectionName = "connection";
string connectionTypeName = "connectiontype";
- string password = "password";
string description = "desc";
this.mockAutomationClient.Setup(
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTypeTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTypeTest.cs
new file mode 100644
index 000000000000..834d3db1e7d7
--- /dev/null
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTypeTest.cs
@@ -0,0 +1,67 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Automation.Cmdlet;
+using Microsoft.Azure.Commands.Automation.Common;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+using Moq;
+
+namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests
+{
+ [TestClass]
+ public class RemoveAzureAutomationConnectionTypeTest : RMTestBase
+ {
+ private Mock mockAutomationClient;
+
+ private MockCommandRuntime mockCommandRuntime;
+
+ private RemoveAzureAutomationConnectionType cmdlet;
+
+ [TestInitialize]
+ public void SetupTest()
+ {
+ this.mockAutomationClient = new Mock();
+ this.mockCommandRuntime = new MockCommandRuntime();
+ this.cmdlet = new RemoveAzureAutomationConnectionType
+ {
+ AutomationClient = this.mockAutomationClient.Object,
+ CommandRuntime = this.mockCommandRuntime
+ };
+ }
+
+ [TestMethod]
+ public void RemoveAzureAutomationConnectionTypeByNameSuccessfull()
+ {
+ // Setup
+ string resourceGroupName = "resourceGroup";
+ string accountName = "automation";
+ string connectionTypeName = "connectionType";
+
+ this.mockAutomationClient.Setup(f => f.DeleteConnectionType(resourceGroupName, accountName, connectionTypeName));
+
+ // Test
+ this.cmdlet.ResourceGroupName = resourceGroupName;
+ this.cmdlet.AutomationAccountName = accountName;
+ this.cmdlet.Name = connectionTypeName;
+ this.cmdlet.Force = true;
+ this.cmdlet.ExecuteCmdlet();
+
+ // Assert
+ this.mockAutomationClient.Verify(f => f.DeleteConnectionType(resourceGroupName, accountName, connectionTypeName), Times.Once());
+ }
+ }
+}
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
index 2dce1ac7e52f..8b5713e969f3 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
@@ -2,7 +2,7 @@
-
+
@@ -17,4 +17,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs
index cf6be24d575a..39172d0e2181 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets configuration script for given configuration name and account name.
///
- [Cmdlet(VerbsData.Export, "AzureRMAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsData.Export, "AzureRmAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(DirectoryInfo))]
public class ExportAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs
index e45a08a78e25..182e62fc6a2d 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets node report for a given node and report id
///
- [Cmdlet(VerbsData.Export, "AzureRMAutomationDscNodeReportContent", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsData.Export, "AzureRmAutomationDscNodeReportContent", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(DirectoryInfo))]
public class ExportAzureAutomationDscNodeReportContent : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs
index 566757c8cb6a..c53dd8f27015 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation runbook definitions for a given account.
///
- [Cmdlet(VerbsData.Export, "AzureRMAutomationRunbook")]
+ [Cmdlet(VerbsData.Export, "AzureRmAutomationRunbook")]
[OutputType(typeof(DirectoryInfo))]
public class ExportAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs
index 7554327814b4..32c65b5efb02 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation accounts, filterd by automation account name and location.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(AutomationAccount))]
public class GetAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs
index fb14e65d0d80..56795202d9d1 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation agent registration information for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationRegistrationInfo")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationRegistrationInfo")]
[OutputType(typeof(AgentRegistration))]
public class GetAzureAutomationRegistrationInfo : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs
index e4bea3955623..2297da1706f9 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a certificate for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(CertificateInfo))]
public class GetAzureAutomationCertificate : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs
index 869ba2dcd0dd..e56e855b12ba 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation configurations for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(DscConfiguration))]
public class GetAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs
index 0d30659b39b7..1a526e9355cf 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a connection for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Connection))]
public class GetAzureAutomationConnection : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs
index e70a130341cc..c56b3608f440 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Credential for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(CredentialInfo))]
public class GetAzureAutomationCredential : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs
index eced7d700a52..b9c59e3d6ac1 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets Azure automation compilation job
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscCompilationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscCompilationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(CompilationJob))]
public class GetAzureAutomationDscCompilationJob : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs
index 91b37e39c758..203b9dcc2984 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets stream for a compilation job
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscCompilationJobOutput")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscCompilationJobOutput")]
[OutputType(typeof(JobStream))]
public class GetAzureAutomationDscCompilationJobOutput : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs
index 8acb7caa5716..12f29d9bee4e 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation dsc node.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNode", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNode", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(DscNode))]
public class GetAzureAutomationDscNode : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs
index 8a377703891f..200158e9e418 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets Azure automation node configurations
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNodeConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNodeConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(CompilationJob))]
public class GetAzureAutomationDscNodeConfiguration : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs
index 51316d2ce7dd..cdd3ec4b524c 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation dsc node report.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNodeReport", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNodeReport", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(DscNode))]
public class GetAzureAutomationDscNodeReport : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs
index 960714e1d4e2..8f010224bf1c 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation dsc onboarding meta configuration information for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscOnboardingMetaconfig")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscOnboardingMetaconfig")]
[OutputType(typeof(DscOnboardingMetaconfig))]
public class GetAzureAutomationDscOnboardingMetaconfig : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs
index 9bd6f3789004..f505c158c0d1 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Job object for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Microsoft.Azure.Commands.Automation.Model.Job))]
public class GetAzureAutomationJob : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs
index 9890640dc733..83816dd37c75 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation variables for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationJobOutput")]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationJobOutput")]
[OutputType(typeof(JobStream))]
public class GetAzureAutomationJobOutput : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs
index e696318cb4f7..82d7ce4d4892 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Module for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Module))]
public class GetAzureAutomationModule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs
index 3df426bd5ca9..e5f01e2fa91a 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation runbooks for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Runbook))]
public class GetAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs
index 40f642f0d194..544472d83141 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation schedules for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Schedule))]
public class GetAzureAutomationSchedule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs
index 5fbbe32f49ce..54224369ea0d 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation job schedules for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(JobSchedule))]
public class GetAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs
index 662c51d57566..eb8b36bbe521 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation variables for a given account.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Variable))]
public class GetAzureAutomationVariable : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs
index 1c9708cde4cf..6baa9959595b 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Get Webhook for automation.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMAutomationWebhook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
+ [Cmdlet(VerbsCommon.Get, "AzureRmAutomationWebhook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
[OutputType(typeof(Webhook))]
public class GetAzureAutomationWebhook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs
index 2126e82f4cb4..010740185730 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Imports dsc configuration script
///
- [Cmdlet(VerbsData.Import, "AzureRMAutomationDscConfiguration")]
+ [Cmdlet(VerbsData.Import, "AzureRmAutomationDscConfiguration")]
[OutputType(typeof(DscConfiguration))]
public class ImportAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscNodeConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscNodeConfiguration.cs
new file mode 100644
index 000000000000..4c73c25fe887
--- /dev/null
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscNodeConfiguration.cs
@@ -0,0 +1,78 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.Automation.Common;
+using Microsoft.Azure.Commands.Automation.Model;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.Azure.Commands.Automation.Cmdlet
+{
+ ///
+ /// Imports dsc node configuration script
+ ///
+ [Cmdlet(VerbsData.Import, "AzureRmAutomationDscNodeConfiguration")]
+ [OutputType(typeof(NodeConfiguration))]
+ public class ImportAzureAutomationDscNodeConfiguration : AzureAutomationBaseCmdlet
+ {
+ ///
+ /// True to overwrite the existing configuration; false otherwise.
+ ///
+ private bool overwriteExistingConfiguration;
+
+ ///
+ /// Gets or sets the source path.
+ ///
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Path to the node configuration .mof to import.")]
+ [ValidateNotNullOrEmpty]
+ public string Path { get; set; }
+
+ ///
+ /// Gets or sets the configuration name for the node configuration.
+ ///
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the DSC Configuration to import the Node Configuration under. All Node Configurations in Azure Automation must exist under a Configuration. The name of the Configuration will become the namespace of the imported Node Configuration, in the form of 'ConfigurationName.MofFileName'")]
+ public string ConfigurationName { get; set; }
+
+
+ ///
+ /// Gets or sets switch parameter to confirm overwriting of existing configurations.
+ ///
+ [Parameter(Mandatory = false, HelpMessage = "Forces the command to overwrite an existing Node Configuration.")]
+ public SwitchParameter Force
+ {
+ get { return this.overwriteExistingConfiguration; }
+ set { this.overwriteExistingConfiguration = value; }
+ }
+
+ ///
+ /// Execute this cmdlet.
+ ///
+ [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
+ protected override void ProcessRecord()
+ {
+ var nodeConfiguration = this.AutomationClient.CreateNodeConfiguration(
+ this.ResourceGroupName,
+ this.AutomationAccountName,
+ this.Path,
+ this.ConfigurationName,
+ this.Force);
+
+ this.WriteObject(nodeConfiguration);
+ }
+ }
+}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs
index bea9f900efc1..d25baf86836e 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Sets an azure automation runbook definition.
///
- [Cmdlet(VerbsData.Import, "AzureRMAutomationRunbook")]
+ [Cmdlet(VerbsData.Import, "AzureRmAutomationRunbook")]
[OutputType(typeof(Runbook))]
public class ImportAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
@@ -43,6 +43,13 @@ public class ImportAzureAutomationRunbook : AzureAutomationBaseCmdlet
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook description.")]
public string Description { get; set; }
+ ///
+ /// Gets or sets the runbook name
+ ///
+ [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the runbook to import, if different from the file name. Not supported for PowerShell Workflow runbooks.")]
+ [Alias("RunbookName")]
+ public string Name { get; set; }
+
///
/// Gets or sets the runbook tags.
///
@@ -98,7 +105,8 @@ protected override void AutomationProcessRecord()
this.LogProgress,
this.LogVerbose,
this.Published.IsPresent,
- this.Force.IsPresent);
+ this.Force.IsPresent,
+ this.Name);
this.WriteObject(runbook);
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs
index d31033793337..21dd6249a468 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Creates azure automation accounts based on automation account name and location.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationAccount")]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationAccount")]
[OutputType(typeof(AutomationAccount))]
public class NewAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs
index d57397adb739..e92b77376388 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Certificate for automation.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
[OutputType(typeof(CertificateInfo))]
public class NewAzureAutomationCertificate : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs
index 22f53818a8a4..38cabd1d4e15 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Connection for automation.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)]
[OutputType(typeof(Connection))]
public class NewAzureAutomationConnection : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs
index a66bdace1893..5a21e0edd565 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Credential for automation.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
[OutputType(typeof(CredentialInfo))]
public class NewAzureAutomationCredential : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs
index 40ba5eec2952..11846628c4af 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Regenerates the agent registration key based on the key name.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationKey")]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationKey")]
[OutputType(typeof(AgentRegistration))]
public class NewAzureAutomationKey : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs
index a544ccedf429..c71119ebc368 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Module for automation.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationModule")]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationModule")]
[OutputType(typeof(Module))]
public class NewAzureAutomationModule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs
index b25f9f99cff9..fa905b61cb1b 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation schedules for a given account.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
[OutputType(typeof (Runbook))]
public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs
index 60f380f976f2..7a7ab485527b 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Creates an azure automation Schedule.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)]
[OutputType(typeof(Schedule))]
public class NewAzureAutomationSchedule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs
index 19e07e51441a..f2075c408bb8 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation variables for a given account.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationVariable")]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationVariable")]
[OutputType(typeof(Variable))]
public class NewAzureAutomationVariable : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs
index b63095c837e7..9a38d81b3484 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs
@@ -16,7 +16,7 @@
using Microsoft.Azure.Commands.Automation.Properties;
using Microsoft.WindowsAzure.Commands.Common;
using System;
-using System.Collections.Generic;
+using System.Collections;
using System.Management.Automation;
using System.Security.Permissions;
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Webhook for automation.
///
- [Cmdlet(VerbsCommon.New, "AzureRMAutomationWebhook")]
+ [Cmdlet(VerbsCommon.New, "AzureRmAutomationWebhook")]
[OutputType(typeof(Webhook))]
public class NewAzureAutomationWebhook : AzureAutomationBaseCmdlet
{
@@ -66,7 +66,7 @@ public class NewAzureAutomationWebhook : AzureAutomationBaseCmdlet
///
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The Runbook parameters name/value.")]
- public IDictionary Parameters { get; set; }
+ public IDictionary Parameters { get; set; }
[Parameter(Mandatory = false, HelpMessage = "Skip warning message about one-time viewable webhook URL")]
public SwitchParameter Force { get; set; }
@@ -91,7 +91,7 @@ protected override void AutomationProcessRecord()
this.RunbookName,
this.IsEnabled,
this.ExpiryTime,
- this.Parameters.ToHashtable())));
+ this.Parameters)));
}
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs
index 70f58efc5487..0fde4874afd3 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Publishes an azure automation runbook.
///
- [Cmdlet(VerbsData.Publish, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsData.Publish, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
[OutputType(typeof(Runbook))]
public class PublishAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs
index f548e4e4ba43..e3c9aa0c41a8 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Registers the dsc node.
///
- [Cmdlet(VerbsLifecycle.Register, "AzureRMAutomationDscNode")]
+ [Cmdlet(VerbsLifecycle.Register, "AzureRmAutomationDscNode")]
// [OutputType(typeof(DscNode))]
public class RegisterAzureAutomationDscNode : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs
index 2d8b0d344d99..3cc9ce57f463 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Registers an azure automation scheduled runbook.
///
- [Cmdlet(VerbsLifecycle.Register, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsLifecycle.Register, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
[OutputType(typeof(JobSchedule))]
public class RegisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs
index 964b7a68f010..8d9b784eba74 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes azure automation accounts, filterd by automation account name and location.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationAccount")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationAccount")]
[OutputType(typeof(AutomationAccount))]
public class RemoveAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs
index 7d6bc7e77cad..648409734c77 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes a Certificate for automation.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
public class RemoveAzureAutomationCertificate : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs
index 9408289677ff..a564dd7338d5 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes a Connection for automation.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
public class RemoveAzureAutomationConnection : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnectionType.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnectionType.cs
new file mode 100644
index 000000000000..7684f8ce41de
--- /dev/null
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnectionType.cs
@@ -0,0 +1,73 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Linq;
+using System.Management.Automation;
+using System.Security.Permissions;
+using Microsoft.Azure.Commands.Automation.Common;
+using Microsoft.Azure.Commands.Automation.Properties;
+
+namespace Microsoft.Azure.Commands.Automation.Cmdlet
+{
+ ///
+ /// Removes a Connection type for automation.
+ ///
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationConnectionType", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ public class RemoveAzureAutomationConnectionType : AzureAutomationBaseCmdlet
+ {
+ ///
+ /// Gets or sets the connection name.
+ ///
+ [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection type name.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, HelpMessage = "Confirm the removal of the connection type")]
+ public SwitchParameter Force { get; set; }
+
+ ///
+ /// Execute this cmdlet.
+ ///
+ [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
+ protected override void AutomationProcessRecord()
+ {
+ var nextLink = string.Empty;
+ var removeMessageWarning = Resources.RemovingAzureAutomationResourceWarning;
+
+ // check if any connections exists that use this connection type
+ do
+ {
+ var ret = this.AutomationClient.ListConnections(this.ResourceGroupName, this.AutomationAccountName, ref nextLink);
+
+ if (ret.ToList().Any(connection => 0 ==
+ string.Compare(connection.ConnectionTypeName, this.Name,
+ StringComparison.CurrentCultureIgnoreCase)))
+ {
+ removeMessageWarning = Resources.RemoveConnectionTypeThatHasConnectionWarning;
+ break;
+ }
+
+ } while (!string.IsNullOrEmpty(nextLink));
+
+
+ ConfirmAction(
+ Force.IsPresent,
+ string.Format(removeMessageWarning, "ConnectionType"),
+ string.Format(Resources.RemoveAzureAutomationResourceDescription, "ConnectionType"),
+ Name,
+ () => this.AutomationClient.DeleteConnectionType(this.ResourceGroupName, this.AutomationAccountName, Name));
+ }
+ }
+}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs
index 800eaf3d5c11..33c7a5c30b7b 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes a Credential for automation.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
public class RemoveAzureAutomationCredential : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs
index 3b79bb0a2911..fb05d667ef80 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Remove a Module for automation.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
public class RemoveAzureAutomationModule : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs
index 26c8a797d112..075012bb9fc5 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes an azure automation runbook.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
public class RemoveAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs
index 768ca52adfe2..06ee86e96038 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes an azure automation Schedule.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
public class RemoveAzureAutomationSchedule : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs
index 5673a6bd7ef2..0dc7e66b0f5a 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation variables for a given account.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationVariable")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationVariable")]
[OutputType(typeof(Variable))]
public class RemoveAzureAutomationVariable : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs
index 0b961760aec3..17510ef0d6cd 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Remove a new Webhook for automation.
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationWebhook")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationWebhook")]
public class RemoveAzureAutomationWebhook : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs
index 5a793b4bcf18..f79643306608 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Credential for automation.
///
- [Cmdlet(VerbsLifecycle.Resume, "AzureRMAutomationJob")]
+ [Cmdlet(VerbsLifecycle.Resume, "AzureRmAutomationJob")]
public class ResumeAzureAutomationJob : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs
index 258fef229551..708f7ba8e75f 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Creates azure automation accounts based on automation account name and location.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationAccount")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationAccount")]
[OutputType(typeof(AutomationAccount))]
public class SetAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs
index 6afed495cd70..819b4a4f6d7a 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Certificate for automation.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)]
[OutputType(typeof(CertificateInfo))]
public class SetAzureAutomationCertificate : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs
index b6a78fd2332e..e789082da817 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Create a new Connection for automation.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)]
[OutputType(typeof(Connection))]
public class SetAzureAutomationConnectionFieldValue : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs
index bc2ba7e9799e..3ef2df0cce17 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Sets a Credential for automation.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
[OutputType(typeof(CredentialInfo))]
public class SetAzureAutomationCredential : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs
index fe46f4d16384..81910fd5d60b 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Updates configuration on the dsc node.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationDscNode")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationDscNode")]
[OutputType(typeof(DscNode))]
public class SetAzureAutomationDscNode : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs
index c19a5ded7483..98945793e8e3 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Sets a Module for automation.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
[OutputType(typeof(Module))]
public class SetAzureAutomationModule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs
index a930ab71408e..39a689f0d988 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Sets an azure automation runbook's configuration values.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
[OutputType(typeof(Runbook))]
public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs
index 5749e0f5b5bc..0530ef713cbb 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Sets an azure automation schedule.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
[OutputType(typeof(Schedule))]
public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs
index eb36b3de72ea..6130c4ff92f7 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets azure automation variables for a given account.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationVariable")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationVariable")]
[OutputType(typeof(Variable))]
public class SetAzureAutomationVariable : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs
index 887477614cce..191ddce7c233 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs
@@ -12,9 +12,9 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using System.Collections;
using Microsoft.Azure.Commands.Automation.Model;
using Microsoft.WindowsAzure.Commands.Common;
-using System.Collections.Generic;
using System.Management.Automation;
using System.Security.Permissions;
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Update a Webhook for automation.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMAutomationWebhook")]
+ [Cmdlet(VerbsCommon.Set, "AzureRmAutomationWebhook")]
[OutputType(typeof(Webhook))]
public class SetAzureAutomationWebhook : AzureAutomationBaseCmdlet
{
@@ -48,7 +48,7 @@ public class SetAzureAutomationWebhook : AzureAutomationBaseCmdlet
///
[Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The Runbook parameters name/value.")]
- public IDictionary Parameters { get; set; }
+ public IDictionary Parameters { get; set; }
///
/// Execute this cmdlet.
@@ -60,7 +60,7 @@ protected override void AutomationProcessRecord()
this.ResourceGroupName,
this.AutomationAccountName,
this.Name,
- this.Parameters.ToHashtable(),
+ this.Parameters,
this.IsEnabled);
this.WriteObject(updatedWebhook);
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs
index 3599c7a524ac..53a8afe1cc11 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs
@@ -12,12 +12,15 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using System;
using System.Collections;
using System.Collections.Generic;
+using System.Globalization;
using System.Management.Automation;
using System.Security.Permissions;
using Microsoft.Azure.Commands.Automation.Common;
using Microsoft.Azure.Commands.Automation.Model;
+using Microsoft.Azure.Commands.Automation.Properties;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
namespace Microsoft.Azure.Commands.Automation.Cmdlet
@@ -25,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// starts azure automation compilation job
///
- [Cmdlet(VerbsLifecycle.Start, "AzureRMAutomationDscCompilationJob")]
+ [Cmdlet(VerbsLifecycle.Start, "AzureRmAutomationDscCompilationJob")]
[OutputType(typeof(CompilationJob))]
public class StartAzureAutomationDscCompilationJob : AzureAutomationBaseCmdlet
{
@@ -42,6 +45,12 @@ public class StartAzureAutomationDscCompilationJob : AzureAutomationBaseCmdlet
[Parameter(Mandatory = false, HelpMessage = "The compilation job parameters.")]
public IDictionary Parameters { get; set; }
+ ///
+ /// Gets or sets the configuration data.
+ ///
+ [Parameter(Mandatory = false, HelpMessage = "The compilation job configuration data.")]
+ public IDictionary ConfigurationData { get; set; }
+
///
/// Execute this cmdlet.
///
@@ -50,7 +59,15 @@ protected override void AutomationProcessRecord()
{
CompilationJob job = null;
- job = this.AutomationClient.StartCompilationJob(this.ResourceGroupName, this.AutomationAccountName, this.ConfigurationName, this.Parameters);
+ if (this.Parameters != null && this.Parameters.Contains("ConfigurationData"))
+ {
+ throw new ArgumentException(
+ string.Format(
+ CultureInfo.CurrentCulture,
+ Resources.ConfigurationDataShouldNotBeInJobParameters, "-ConfigurationData"));
+ }
+
+ job = this.AutomationClient.StartCompilationJob(this.ResourceGroupName, this.AutomationAccountName, this.ConfigurationName, this.Parameters, this.ConfigurationData);
this.WriteObject(job);
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs
index 5b4ffdd56309..04c562e53044 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Starts an Azure automation runbook.
///
- [Cmdlet(VerbsLifecycle.Start, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
+ [Cmdlet(VerbsLifecycle.Start, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)]
[OutputType(typeof(Job))]
public class StartAzureAutomationRunbook : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs
index ff75954944a2..85886dd54931 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Credential for automation.
///
- [Cmdlet(VerbsLifecycle.Stop, "AzureRMAutomationJob")]
+ [Cmdlet(VerbsLifecycle.Stop, "AzureRmAutomationJob")]
public class StopAzureAutomationJob : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs
index f65cb91c4394..363db5e0b97c 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Gets a Credential for automation.
///
- [Cmdlet(VerbsLifecycle.Suspend, "AzureRMAutomationJob")]
+ [Cmdlet(VerbsLifecycle.Suspend, "AzureRmAutomationJob")]
public class SuspendAzureAutomationJob : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs
index 8e64f53e76e8..593f1adb0c39 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Removes the dsc node.
///
- [Cmdlet(VerbsLifecycle.Unregister, "AzureRMAutomationDscNode")]
+ [Cmdlet(VerbsLifecycle.Unregister, "AzureRmAutomationDscNode")]
[OutputType(typeof(DscNode))]
public class UnregisterAzureAutomationDscNode : AzureAutomationBaseCmdlet
{
diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs
index 0a7e7b23909c..6d4e0aa4fbb5 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
///
/// Unregisters an azure automation scheduled runbook.
///
- [Cmdlet(VerbsLifecycle.Unregister, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)]
+ [Cmdlet(VerbsLifecycle.Unregister, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)]
public class UnregisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet
{
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
similarity index 91%
rename from src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj
rename to src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
index 4a9eee5e2461..c5615b8787e9 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj
@@ -20,7 +20,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Automation\
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Automation\
DEBUG;TRACE
prompt
4
@@ -33,7 +33,7 @@
OnBuildSuccess
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\Automation\
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Automation\
TRACE;SIGN
true
pdbonly
@@ -60,9 +60,13 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Automation.0.50.2-prerelease\lib\portable-net45+wp8+wpa81+win\Microsoft.Azure.Management.Automation.dll
+
False
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
@@ -79,10 +83,6 @@
False
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
-
- False
- ..\..\..\packages\Microsoft.Azure.Management.Automation.0.50.1-prerelease\lib\net40\Microsoft.Azure.Management.Automation.dll
-
False
..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
@@ -127,6 +127,7 @@
+
@@ -159,6 +160,7 @@
+
@@ -249,6 +251,10 @@
+
+ AzureRM.Automation.psd1
+ PreserveNewest
+
Designer
@@ -262,23 +268,15 @@
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs
index b1fd9bc7e6c5..a0f5c83f2859 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs
@@ -475,7 +475,7 @@ public Runbook CreateRunbookByName(string resourceGroupName, string automationAc
}
}
- public Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite)
+ public Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite, string name)
{
var fileExtension = Path.GetExtension(runbookPath);
@@ -503,6 +503,20 @@ public Runbook ImportRunbook(string resourceGroupName, string automationAccountN
var runbookName = Path.GetFileNameWithoutExtension(runbookPath);
+ if (String.IsNullOrWhiteSpace(name) == false)
+ {
+ if (0 == string.Compare(type, Constants.RunbookType.PowerShellWorkflow, StringComparison.OrdinalIgnoreCase))
+ {
+ if (0 != string.Compare(runbookName, name, StringComparison.CurrentCultureIgnoreCase))
+ {
+ throw new ResourceCommonException(typeof(Runbook),
+ string.Format(CultureInfo.CurrentCulture, Resources.FileNameRunbookNameMismatch));
+ }
+ }
+
+ runbookName = name;
+ }
+
using (var request = new RequestSettings(this.automationManagementClient))
{
var runbook = this.CreateRunbookByName(resourceGroupName, automationAccountName, runbookName, description, tags, type, logProgress, logVerbose, overwrite);
@@ -1478,6 +1492,27 @@ public void UnregisterScheduledRunbook(string resourceGroupName, string automati
#endregion
+ #region ConnectionType
+
+ public void DeleteConnectionType(string resourceGroupName, string automationAccountName, string name)
+ {
+ try
+ {
+ this.automationManagementClient.ConnectionTypes.Delete(resourceGroupName, automationAccountName, name);
+ }
+ catch (CloudException cloudException)
+ {
+ if (cloudException.Response.StatusCode == HttpStatusCode.NoContent)
+ {
+ throw new ResourceNotFoundException(typeof(ConnectionType),
+ string.Format(CultureInfo.CurrentCulture, Resources.ConnectionTypeNotFound, name));
+ }
+
+ throw;
+ }
+ }
+
+ #endregion
#region Private Methods
diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs
index f49e7b5e45ee..e611c2a75f04 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs
@@ -257,6 +257,49 @@ private Model.DscConfiguration TryGetConfigurationModel(string resourceGroupName
return configuration;
}
+ public Model.DscConfiguration CreateConfiguration(
+ string resourceGroupName,
+ string automationAccountName,
+ string configrationName,
+ string nodeName)
+ {
+ string configurationContent = "Configuration #configrationName# { Node #nodeName# { } } ";
+ configurationContent = configurationContent.Replace("#configrationName#", configrationName);
+ configurationContent = configurationContent.Replace("#nodeName#", nodeName);
+
+ using (var request = new RequestSettings(this.automationManagementClient))
+ {
+
+ // location of the configuration is set to same as that of automation account
+ string location = this.GetAutomationAccount(resourceGroupName, automationAccountName).Location;
+
+ var configurationCreateParameters = new DscConfigurationCreateOrUpdateParameters()
+ {
+ Name = configrationName,
+ Location = location,
+ Properties = new DscConfigurationCreateOrUpdateProperties()
+ {
+ Description = String.Empty,
+ LogVerbose = false,
+ Source = new Microsoft.Azure.Management.Automation.Models.ContentSource()
+ {
+ // only embeddedContent supported for now
+ ContentType = Model.ContentSourceType.embeddedContent.ToString(),
+ Value = configurationContent
+ }
+ }
+ };
+
+ var configuration =
+ this.automationManagementClient.Configurations.CreateOrUpdate(
+ resourceGroupName,
+ automationAccountName,
+ configurationCreateParameters).Configuration;
+
+ return new Model.DscConfiguration(resourceGroupName, automationAccountName, configuration);
+ }
+ }
+
#endregion
#region DscMetaConfig Operations
@@ -751,7 +794,7 @@ public void RegisterDscNode(string resourceGroupName,
resourceGroupName,
automationAccountName);
- // prepare the parameters to be used in New-AzureRMResourceGroupDeployment cmdlet
+ // prepare the parameters to be used in New-AzureRmResourceGroupDeployment cmdlet
Hashtable templateParameters = new Hashtable();
templateParameters.Add("vmName", azureVMName);
templateParameters.Add("location", location);
@@ -767,10 +810,10 @@ public void RegisterDscNode(string resourceGroupName,
templateParameters.Add("actionAfterReboot", actionAfterReboot);
templateParameters.Add("allowModuleOverwrite", moduleOverwriteFlag);
- // invoke the New-AzureRMResourceGroupDeployment cmdlet
+ // invoke the New-AzureRmResourceGroupDeployment cmdlet
using (Pipeline pipe = Runspace.DefaultRunspace.CreateNestedPipeline())
{
- Command invokeCommand = new Command("New-AzureRMResourceGroupDeployment");
+ Command invokeCommand = new Command("New-AzureRmResourceGroupDeployment");
invokeCommand.Parameters.Add("Name", deploymentName);
invokeCommand.Parameters.Add("ResourceGroupName", azureVmResourceGroup);
invokeCommand.Parameters.Add("TemplateParameterObject", templateParameters);
@@ -973,7 +1016,7 @@ public Model.CompilationJob GetCompilationJob(string resourceGroupName, string a
}
}
- public Model.CompilationJob StartCompilationJob(string resourceGroupName, string automationAccountName, string configurationName, IDictionary parameters)
+ public CompilationJob StartCompilationJob(string resourceGroupName, string automationAccountName, string configurationName, IDictionary parameters, IDictionary configurationData)
{
using (var request = new RequestSettings(this.automationManagementClient))
{
@@ -985,7 +1028,7 @@ public Model.CompilationJob StartCompilationJob(string resourceGroupName, string
{
Name = configurationName
},
- Parameters = this.ProcessConfigurationParameters(resourceGroupName, automationAccountName, configurationName, parameters)
+ Parameters = this.ProcessConfigurationParameters(parameters, configurationData)
}
};
@@ -1023,6 +1066,21 @@ public Model.CompilationJob StartCompilationJob(string resourceGroupName, string
#endregion
#region node configuration
+ public Model.NodeConfiguration TryGetNodeConfiguration(string resourceGroupName, string automationAccountName, string nodeConfigurationName, string rollupStatus)
+ {
+ using (var request = new RequestSettings(this.automationManagementClient))
+ {
+ try
+ {
+ return GetNodeConfiguration(resourceGroupName, automationAccountName, nodeConfigurationName, rollupStatus);
+ }
+ catch (ResourceNotFoundException)
+ {
+ return null;
+ }
+ }
+ }
+
public Model.NodeConfiguration GetNodeConfiguration(string resourceGroupName, string automationAccountName, string nodeConfigurationName, string rollupStatus)
{
using (var request = new RequestSettings(this.automationManagementClient))
@@ -1106,7 +1164,7 @@ public Model.NodeConfiguration GetNodeConfiguration(string resourceGroupName, st
var nodeConfigurations = new List();
foreach (var nodeConfiguration in nodeConfigModels)
{
- string computedRollupStatus = GetRollupStatus(resourceGroupName, automationAccountName, nodeConfiguration.Name);
+ string computedRollupStatus = GetRollupStatus(resourceGroupName, automationAccountName, nodeConfiguration.Configuration.Name);
if (string.IsNullOrEmpty(rollupStatus) || (rollupStatus != null && computedRollupStatus.Equals(rollupStatus)))
{
@@ -1118,6 +1176,91 @@ public Model.NodeConfiguration GetNodeConfiguration(string resourceGroupName, st
}
}
+ public Model.NodeConfiguration CreateNodeConfiguration(
+ string resourceGroupName,
+ string automationAccountName,
+ string sourcePath,
+ string configurationName,
+ bool overWrite)
+ {
+ using (var request = new RequestSettings(this.automationManagementClient))
+ {
+ Requires.Argument("ResourceGroupName", resourceGroupName).NotNullOrEmpty();
+ Requires.Argument("AutomationAccountName", automationAccountName).NotNullOrEmpty();
+ Requires.Argument("SourcePath", sourcePath).NotNullOrEmpty();
+ Requires.Argument("configurationName", configurationName).NotNullOrEmpty();
+
+ string fileContent = null;
+ string nodeConfigurationName = null;
+ string nodeName = null;
+
+ if (File.Exists(Path.GetFullPath(sourcePath)))
+ {
+ fileContent = System.IO.File.ReadAllText(sourcePath);
+ nodeName = System.IO.Path.GetFileNameWithoutExtension(sourcePath);
+ nodeConfigurationName = configurationName + "." + nodeName;
+ }
+ else
+ {
+ // file path not valid.
+ throw new FileNotFoundException(
+ string.Format(
+ CultureInfo.CurrentCulture,
+ Resources.ConfigurationSourcePathInvalid));
+ }
+
+ // if node configuration already exists, ensure overwrite flag is specified
+ var nodeConfigurationModel = this.TryGetNodeConfiguration(
+ resourceGroupName,
+ automationAccountName,
+ nodeConfigurationName,
+ null);
+ if (nodeConfigurationModel != null)
+ {
+ if (!overWrite)
+ {
+ throw new ResourceCommonException(typeof(Model.NodeConfiguration),
+ string.Format(CultureInfo.CurrentCulture, Resources.NodeConfigurationAlreadyExists, nodeConfigurationName));
+ }
+ }
+
+ // if configuration already exists, ensure overwrite flag is specified
+ var configurationModel = this.TryGetConfigurationModel(
+ resourceGroupName,
+ automationAccountName,
+ configurationName);
+ if (configurationModel == null)
+ {
+ //create empty configuration if its empty
+ this.CreateConfiguration(resourceGroupName, automationAccountName, configurationName, nodeName);
+ }
+
+ var nodeConfigurationCreateParameters = new DscNodeConfigurationCreateOrUpdateParameters()
+ {
+ Name = nodeConfigurationName,
+ Source = new Microsoft.Azure.Management.Automation.Models.ContentSource()
+ {
+ // only embeddedContent supported for now
+ ContentType = Model.ContentSourceType.embeddedContent.ToString(),
+ Value = fileContent
+ },
+ Configuration = new DscConfigurationAssociationProperty()
+ {
+ Name = configurationName
+ }
+ };
+
+ var nodeConfiguration =
+ this.automationManagementClient.NodeConfigurations.CreateOrUpdate(
+ resourceGroupName,
+ automationAccountName,
+ nodeConfigurationCreateParameters).NodeConfiguration;
+
+
+ return new Model.NodeConfiguration(resourceGroupName, automationAccountName, nodeConfiguration, null);
+ }
+ }
+
#endregion
#region dsc reports
@@ -1336,42 +1479,26 @@ private string FormatDateTime(DateTimeOffset dateTime)
return string.Format(CultureInfo.InvariantCulture, "{0:O}", dateTime.ToUniversalTime());
}
- private IDictionary ProcessConfigurationParameters(string resourceGroupName, string automationAccountName, string configurationName, IDictionary parameters)
+ private IDictionary ProcessConfigurationParameters(IDictionary parameters, IDictionary configurationData)
{
parameters = parameters ?? new Dictionary();
- IEnumerable> configurationParameters = this.ListConfigurationParameters(resourceGroupName, automationAccountName, configurationName);
- var filteredParameters = new Dictionary();
-
- foreach (var configParameter in configurationParameters)
+ var filteredParameters = new Dictionary();
+ if (configurationData != null)
{
- if (parameters.Contains(configParameter.Key))
+ filteredParameters.Add("ConfigurationData", JsonConvert.SerializeObject(configurationData));
+ }
+ foreach (var key in parameters.Keys)
+ {
+ try
{
- object paramValue = parameters[configParameter.Key];
- try
- {
- filteredParameters.Add(configParameter.Key, paramValue.ToString());
- }
- catch (JsonSerializationException)
- {
- throw new ArgumentException(
- string.Format(
- CultureInfo.CurrentCulture, Resources.ConfigurationParameterCannotBeSerializedToJson, configParameter.Key));
- }
+ filteredParameters.Add(key.ToString(), JsonConvert.SerializeObject(parameters[key]));
}
- else if (configParameter.Value.IsMandatory)
+ catch (JsonSerializationException)
{
- throw new ArgumentException(
- string.Format(
- CultureInfo.CurrentCulture, Resources.ConfigurationParameterValueRequired, configParameter.Key));
- }
- }
-
- if (filteredParameters.Count != parameters.Count)
- {
- throw new ArgumentException(
- string.Format(CultureInfo.CurrentCulture, Resources.InvalidConfigurationParameters));
+ throw new ArgumentException(string.Format(
+ CultureInfo.CurrentCulture, Resources.ConfigurationParameterCannotBeSerializedToJson, key.ToString()));
+ }
}
-
return filteredParameters;
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientWebhook.cs
index bff062dc7152..faaf5d41b790 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientWebhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientWebhook.cs
@@ -37,7 +37,7 @@ public Model.Webhook CreateWebhook(
string runbookName,
bool isEnabled,
DateTimeOffset expiryTime,
- Hashtable runbookParameters)
+ IDictionary runbookParameters)
{
Requires.Argument("ResourceGroupName", resourceGroupName).NotNull();
Requires.Argument("AutomationAccountName", automationAccountName).NotNull();
@@ -57,9 +57,7 @@ public Model.Webhook CreateWebhook(
};
if (runbookParameters != null)
{
- createOrUpdateProperties.Parameters =
- runbookParameters.Cast()
- .ToDictionary(kvp => (string)kvp.Key, kvp => (string)kvp.Value);
+ createOrUpdateProperties.Parameters = this.ProcessRunbookParameters(resourceGroupName, automationAccountName, runbookName, runbookParameters);
}
var webhookCreateOrUpdateParameters = new WebhookCreateOrUpdateParameters(
@@ -154,7 +152,7 @@ public Model.Webhook UpdateWebhook(
string resourceGroupName,
string automationAccountName,
string name,
- Hashtable parameters,
+ IDictionary parameters,
bool? isEnabled)
{
Requires.Argument("ResourceGroupName", resourceGroupName).NotNull();
@@ -173,8 +171,7 @@ public Model.Webhook UpdateWebhook(
if (parameters != null)
{
webhookPatchProperties.Parameters =
- parameters.Cast()
- .ToDictionary(kvp => (string)kvp.Key, kvp => (string)kvp.Value);
+ this.ProcessRunbookParameters(resourceGroupName, automationAccountName, webhookModel.Properties.Runbook.Name, parameters);
}
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs
index e60b1cd216e2..550006958d50 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs
@@ -16,6 +16,7 @@
using System.IO;
using System.Collections;
using System.Collections.Generic;
+using System.Runtime.CompilerServices;
using System.Security;
using Microsoft.Azure.Commands.Automation.Model;
using Microsoft.Azure.Common.Authentication.Models;
@@ -48,7 +49,7 @@ public interface IAutomationClient
IEnumerable ListCompilationJobs(string resourceGroupName, string automationAccountName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus);
- CompilationJob StartCompilationJob(string resourceGroupName, string automationAccountName, string configurationName, IDictionary parameters);
+ CompilationJob StartCompilationJob(string resourceGroupName, string automationAccountName, string configurationName, IDictionary parameters, IDictionary configurationData);
IEnumerable GetDscCompilationJobStream(string resourceGroupName, string automationAccountname, Guid jobId, DateTimeOffset? time, string streamType);
#endregion
@@ -59,6 +60,8 @@ public interface IAutomationClient
IEnumerable ListNodeConfigurationsByConfigurationName(string resourceGroupName, string automationAccountName, string configurationName, string rollupStatus);
IEnumerable ListNodeConfigurations(string resourceGroupName, string automationAccountName, string rollupStatus);
+
+ NodeConfiguration CreateNodeConfiguration(string resourceGroupName, string automationAccountName, string sourcePath, string nodeConfiguraionName, bool overWrite);
#endregion
#region Configurations
@@ -139,13 +142,13 @@ Model.Webhook CreateWebhook(
string runbookName,
bool isEnabled,
DateTimeOffset expiryTime,
- Hashtable parameters);
+ IDictionary parameters);
Model.Webhook GetWebhook(string resourceGroupName, string automationAccountName, string name);
IEnumerable ListWebhooks(string resourceGroupName, string automationAccountName, string runbooName, ref string nextLink);
- Model.Webhook UpdateWebhook(string resourceGroupName, string automationAccountName, string name, Hashtable parameters, bool? isEnabled);
+ Model.Webhook UpdateWebhook(string resourceGroupName, string automationAccountName, string name, IDictionary parameters, bool? isEnabled);
void DeleteWebhook(string resourceGroupName, string automationAccountName, string name);
@@ -187,7 +190,7 @@ Model.Webhook CreateWebhook(
Runbook CreateRunbookByName(string resourceGroupName, string automationAccountName, string runbookName, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool overwrite);
- Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite);
+ Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite, string runbookName);
void DeleteRunbook(string resourceGroupName, string automationAccountName, string runbookName);
@@ -283,6 +286,12 @@ IEnumerable GetJobStream(string resourceGroupName, string automationA
void UnregisterScheduledRunbook(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName);
+ #endregion
+
+ #region ConnectionType
+
+ void DeleteConnectionType(string resourceGroupName, string automationAccountName, string name);
+
#endregion
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/Requires.cs b/src/ResourceManager/Automation/Commands.Automation/Common/Requires.cs
index 5f35eb17186a..4eae63c6a3d3 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Common/Requires.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Common/Requires.cs
@@ -73,6 +73,24 @@ public ArgumentRequirements NotNull()
return this;
}
+
+ ///
+ /// Checks argument value for not null or empty
+ ///
+ /// The not null requirement
+ public ArgumentRequirements NotNullOrEmpty()
+ {
+ if (this.Value == null)
+ {
+ throw new ArgumentNullException(this.Name);
+ }
+ else if (string.IsNullOrEmpty(this.Value.ToString()))
+ {
+ throw new ArgumentNullException(this.Name);
+ }
+
+ return this;
+ }
}
}
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml
index 90fd46afb3c4..1fd2901765a6 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml
+++ b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml
@@ -1,7 +1,7 @@
- Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.Azure Automation cmdletsThe following table contains links to the help topics for the Azure Automation cmdlets.CmdletDescriptionExport-AzureRMAutomationDscConfigurationExports a DSC configuration from Automation to a local file.Export-AzureRMAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.Get-AzureRMAutomationAccountGets Automation accounts in a resource group.Get-AzureRMAutomationDscCompilationJobGets DSC compilation jobs in Automation.Get-AzureRMAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.Get-AzureRMAutomationDscConfigurationGets DSC configurations from Automation.Get-AzureRMAutomationDscNodeGets DSC nodes from Automation.Get-AzureRMAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation.Get-AzureRMAutomationDscNodeReportGets reports sent from a DSC node to Automation.Get-AzureRMAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.Get-AzureRMAutomationModuleGets metadata for modules from Automation.Get-AzureRMAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation.Import-AzureRMAutomationDscConfigurationImports a DSC configuration into Automation.New-AzureRMAutomationAccountCreates an Automation account.New-AzureRMAutomationKeyRegenerates registration keys for an Automation account.New-AzureRMAutomationModuleImports a module into Automation.Register-AzureRMAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.Remove-AzureRMAutomationAccountRemoves an Automation account.Remove-AzureRMAutomationModuleRemoves a module from Automation.Set-AzureRMAutomationAccountModifies an Automation account.Set-AzureRMAutomationDscNodeModifies the node configuration that a DSC node is mapped to.Set-AzureRMAutomationModuleUpdates a module in Automation.Start-AzureRMAutomationDscCompilationJobCompiles a DSC configuration in Automation.Unregister-AzureRMAutomationDscNodeRemoves a DSC node from management by an Automation account.To list all the cmdlets that are available, type Get-Command Module AzureResourceManager -Name *automation.For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets: ? Get-Help <cmdlet name> -Detailed ? Get-Help <cmdlet name> -Examples ? Get-Help <cmdlet name> -Full Export-AzureRMAutomationDscConfigurationExports a DSC configuration from Automation to a local file. ExportAzureAutomationDscConfigurationThe Export-AzureRMAutomationDscConfiguration cmdlet exports a PowerShell Desired State Configuration (DSC) configuration from Azure Automation to a local file. The exported file has a .ps1 file name extension.Export-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are:
+ Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.Azure Automation cmdletsThe following table contains links to the help topics for the Azure Automation cmdlets.CmdletDescriptionExport-AzureRmAutomationDscConfigurationExports a DSC configuration from Automation to a local file.Export-AzureRmAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.Get-AzureRmAutomationAccountGets Automation accounts in a resource group.Get-AzureRmAutomationDscCompilationJobGets DSC compilation jobs in Automation.Get-AzureRmAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.Get-AzureRmAutomationDscConfigurationGets DSC configurations from Automation.Get-AzureRmAutomationDscNodeGets DSC nodes from Automation.Get-AzureRmAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation.Get-AzureRmAutomationDscNodeReportGets reports sent from a DSC node to Automation.Get-AzureRmAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.Get-AzureRmAutomationModuleGets metadata for modules from Automation.Get-AzureRmAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation.Import-AzureRmAutomationDscConfigurationImports a DSC configuration into Automation.New-AzureRmAutomationAccountCreates an Automation account.New-AzureRmAutomationKeyRegenerates registration keys for an Automation account.New-AzureRmAutomationModuleImports a module into Automation.Register-AzureRmAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.Remove-AzureRmAutomationAccountRemoves an Automation account.Remove-AzureRmAutomationModuleRemoves a module from Automation.Set-AzureRmAutomationAccountModifies an Automation account.Set-AzureRmAutomationDscNodeModifies the node configuration that a DSC node is mapped to.Set-AzureRmAutomationModuleUpdates a module in Automation.Start-AzureRmAutomationDscCompilationJobCompiles a DSC configuration in Automation.Unregister-AzureRmAutomationDscNodeRemoves a DSC node from management by an Automation account.To list all the cmdlets that are available, type Get-Command �Module AzureResourceManager -Name *automation.For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets: ? Get-Help <cmdlet name> -Detailed ? Get-Help <cmdlet name> -Examples ? Get-Help <cmdlet name> -Full Export-AzureRmAutomationDscConfigurationExports a DSC configuration from Automation to a local file. ExportAzureAutomationDscConfigurationThe Export-AzureRmAutomationDscConfiguration cmdlet exports a PowerShell Desired State Configuration (DSC) configuration from Azure Automation to a local file. The exported file has a .ps1 file name extension.Export-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are:
-- Draft
-- Published
@@ -11,7 +11,7 @@ The default value is Published. StringStringnone 1: Get-AzureRMAutomationDscConfigurationImport-AzureRMAutomationDscConfigurationExport-AzureRMAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.ExportAzureAutomationDscNodeReportContentThe Export-AzureRMAutomationDscNodeReportContent cmdlet exports the raw contents of a PowerShell Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.Export-AzureRMAutomationDscNodeReportContentResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports report contents. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidGuidnoneOutputFolderSpecifies the output folder where this cmdlet exports report contents. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidGuidnoneResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringStringnone 1: Get-AzureRMAutomationDscNodeReportGet-AzureRMAutomationAccountGets Automation accounts in a resource group.GetAzureAutomationAccountThe Get-AzureRMAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Get-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringNameSpecifies the name of the Automation account that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the Automation account that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringStringnone 1: New-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationAccountGet-AzureRMAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.GetAzureAutomationDscCompilationJobOutputThe Get-AzureRMAutomationDscCompilationJobOutput cmdlet gets the stream records of a PowerShell Desired State Configuration (DSC) compilation job in Azure Automation.Get-AzureRMAutomationDscCompilationJobOutputResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are:
+The default value is Published. StringStringnone 1: Get-AzureRmAutomationDscConfigurationImport-AzureRmAutomationDscConfigurationExport-AzureRmAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.ExportAzureAutomationDscNodeReportContentThe Export-AzureRmAutomationDscNodeReportContent cmdlet exports the raw contents of a PowerShell Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.Export-AzureRmAutomationDscNodeReportContentResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports report contents. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidGuidnoneOutputFolderSpecifies the output folder where this cmdlet exports report contents. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidGuidnoneResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringStringnone 1: Get-AzureRmAutomationDscNodeReportGet-AzureRmAutomationAccountGets Automation accounts in a resource group.GetAzureAutomationAccountThe Get-AzureRmAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Get-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringNameSpecifies the name of the Automation account that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the Automation account that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringStringnone 1: New-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationAccountGet-AzureRmAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.GetAzureAutomationDscCompilationJobOutputThe Get-AzureRmAutomationDscCompilationJobOutput cmdlet gets the stream records of a PowerShell Desired State Configuration (DSC) compilation job in Azure Automation.Get-AzureRmAutomationDscCompilationJobOutputResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are:
-- Any
-- Warning
@@ -21,7 +21,7 @@ The default value is Published. CompilationJobStreamTypeCompilationJobStreamTypenone 1: Get-AzureRMAutomationDscCompilationJobStart-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobGets DSC compilation jobs in Automation.GetAzureAutomationDscCompilationJobThe Get-AzureRMAutomationDscCompilationJob cmdlet gets PowerShell Desired State Configuration (DSC) compilation jobs in Azure Automation.Get-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are:
+-- VerboseCompilationJobStreamTypeCompilationJobStreamTypenone 1: Get-AzureRmAutomationDscCompilationJobStart-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobGets DSC compilation jobs in Automation.GetAzureAutomationDscCompilationJobThe Get-AzureRmAutomationDscCompilationJob cmdlet gets PowerShell Desired State Configuration (DSC) compilation jobs in Azure Automation.Get-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are:
-- Completed
-- Failed
@@ -33,7 +33,7 @@ The default value is Published. CompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingGet-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGet-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are:
+-- ActivatingCompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingGet-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGet-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are:
-- Completed
-- Failed
@@ -57,48 +57,48 @@ The default value is Published. StringStringnone 1: Start-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobOutputGet-AzureRMAutomationDscConfigurationGets DSC configurations from Automation.GetAzureAutomationDscConfigurationThe Get-AzureRMAutomationDscConfiguration cmdlet gets PowerShell Desired State Configuration (DSC) configurations from Azure Automation.Get-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringNameSpecifies the name of the DSC configuration that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringStringnoneNameSpecifies the name of the DSC configuration that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringStringnone 1: Export-AzureRMAutomationDscConfigurationImport-AzureRMAutomationDscConfigurationGet-AzureRMAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation. GetAzureAutomationDscNodeConfigurationThe Get-AzureRMAutomationDscNodeConfiguration cmdlet gets metadata for PowerShell Desired State Configuration (DSC) node configurations in Azure Automation. Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Get-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadGet-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringGet-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringStringnoneConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringStringnoneNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringStringnoneRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.StringStringnone 1: Get-AzureRMAutomationDscNodeReportGets reports sent from a DSC node to Automation.GetAzureAutomationDscNodeReportThe Get-AzureRMAutomationDscNodeReport cmdlet gets reports sent from a PowerShell Desired State Configuration (DSC) node to Azure Automation.Get-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringStringnoneEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidGuidnoneLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetDateTimeOffsetnone 1: Export-AzureRMAutomationDscNodeReportContentGet-AzureRMAutomationDscNodeGets DSC nodes from Automation.GetAzureAutomationDscNodeThe Get-AzureRMAutomationDscNode cmdlet gets PowerShell Desired State Configuration (DSC) nodes from Azure Automation.Get-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
+-- ActivatingStringStringnone 1: Start-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobOutputGet-AzureRmAutomationDscConfigurationGets DSC configurations from Automation.GetAzureAutomationDscConfigurationThe Get-AzureRmAutomationDscConfiguration cmdlet gets PowerShell Desired State Configuration (DSC) configurations from Azure Automation.Get-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringNameSpecifies the name of the DSC configuration that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringStringnoneNameSpecifies the name of the DSC configuration that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringStringnone 1: Export-AzureRmAutomationDscConfigurationImport-AzureRmAutomationDscConfigurationGet-AzureRmAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation. GetAzureAutomationDscNodeConfigurationThe Get-AzureRmAutomationDscNodeConfiguration cmdlet gets metadata for PowerShell Desired State Configuration (DSC) node configurations in Azure Automation. Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Get-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadGet-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringGet-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringStringnoneConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringStringnoneNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringStringnoneRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.StringStringnone 1: Get-AzureRmAutomationDscNodeReportGets reports sent from a DSC node to Automation.GetAzureAutomationDscNodeReportThe Get-AzureRmAutomationDscNodeReport cmdlet gets reports sent from a PowerShell Desired State Configuration (DSC) node to Azure Automation.Get-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringStringnoneEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidGuidnoneLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetDateTimeOffsetnone 1: Export-AzureRmAutomationDscNodeReportContentGet-AzureRmAutomationDscNodeGets DSC nodes from Automation.GetAzureAutomationDscNodeThe Get-AzureRmAutomationDscNode cmdlet gets PowerShell Desired State Configuration (DSC) nodes from Azure Automation.Get-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
-- Compliant
-- NotCompliant
-- Failed
-- Pending
-- Received
--- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
+-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
-- Compliant
-- NotCompliant
-- Failed
-- Pending
-- Received
--- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNameSpecifies the name of a DSC node that this cmdlet gets.StringGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
+-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNameSpecifies the name of a DSC node that this cmdlet gets.StringGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
-- Compliant
-- NotCompliant
-- Failed
-- Pending
-- Received
--- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringStringnoneIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGuidnoneNameSpecifies the name of a DSC node that this cmdlet gets.StringStringnoneNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringStringnoneStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
+-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringStringnoneIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGuidnoneNameSpecifies the name of a DSC node that this cmdlet gets.StringStringnoneNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringStringnoneStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are:
-- Compliant
-- NotCompliant
-- Failed
-- Pending
-- Received
--- UnresponsiveDscNodeStatusDscNodeStatusnone 1: Register-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeGet-AzureRMAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.GetAzureAutomationDscOnboardingMetaconfigThe Get-AzureRMAutomationDscOnboardingMetaconfig cmdlet creates PowerShell Desired State Configuration (DSC) meta-configuration Managed Object Format (MOF) files. This cmdlet creates a .mof file for each computer name that you specify. The cmdlet creates a folder for the .mof files. You can run the Set-DscLocalConfigurationManager cmdlet against this folder to onboard these computers into an Azure Automation account as DSC nodes.Get-AzureRMAutomationDscOnboardingMetaconfigResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]ForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.OutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringStringnoneComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]String[]noneForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.SwitchParameterSwitchParameternoneOutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRMAutomationModuleGets metadata for modules from Automation.GetAzureAutomationModuleThe Get-AzureRMAutomationModule cmdlet gets metadata for modules from Azure Automation.Get-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringNameSpecifies the name of the module for which this cmdlet gets metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringStringnoneNameSpecifies the name of the module for which this cmdlet gets metadata. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringStringnone 1: New-AzureRMAutomationModuleRemove-AzureRMAutomationModuleSet-AzureRMAutomationModuleGet-AzureRMAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation. GetAzureAutomationRegistrationInfoThe Get-AzureRMAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a PowerShell Desired State Configuration (DSC) node or hybrid worker into an Azure Automation account.Get-AzureRMAutomationRegistrationInfoResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringStringnone 1: Get-AzureRMAutomationAccountGet-AzureRMAutomationDscNodeNew-AzureRMAutomationKeyImport-AzureRMAutomationDscConfigurationImports a DSC configuration into Automation.ImportAzureAutomationDscConfigurationThe Import-AzureRMAutomationDscConfiguration cmdlet imports a PowerShell Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of a PowerShell script that contains a single DSC configuration.Import-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringDescriptionSpecifies a description of the configuration that this cmdlet imports. StringForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.LogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfilePublishedIndicates that this cmdlet imports the DSC configuration in the published state.TagsSpecifies a dictionary of tags.IDictionarySourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringStringnoneDescriptionSpecifies a description of the configuration that this cmdlet imports. StringStringnoneForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.SwitchParameterSwitchParameternoneLogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanBooleannoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenonePublishedIndicates that this cmdlet imports the DSC configuration in the published state.SwitchParameterSwitchParameternoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringStringnoneSourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringStringnoneTagsSpecifies a dictionary of tags.IDictionaryIDictionarynone 1: Export-AzureRMAutomationDscConfigurationGet-AzureRMAutomationDscConfigurationNew-AzureRMAutomationAccountCreates an Automation account.NewAzureAutomationAccountThe New-AzureRMAutomationAccount cmdlet creates an Azure Automation account in a resource group.An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, DSC configurations, jobs, and assets.New-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringNameSpecifies a name for the Automation account.StringLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies tags for the Automation account.IDictionaryLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringStringnoneNameSpecifies a name for the Automation account.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringStringnoneTagsSpecifies tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationAccountNew-AzureRMAutomationKeyRegenerates registration keys for an Automation account.NewAzureAutomationKeyThe New-AzureRMAutomationKey cmdlet regenerates registration keys for an Azure Automation account.New-AzureRMAutomationKeyResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.PrimarySecondaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringStringnoneKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountNew-AzureRMAutomationModuleImports a module into Automation.NewAzureAutomationModuleThe New-AzureRMAutomationModule cmdlet imports a module into Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types:
+-- UnresponsiveDscNodeStatusDscNodeStatusnone 1: Register-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeGet-AzureRmAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.GetAzureAutomationDscOnboardingMetaconfigThe Get-AzureRmAutomationDscOnboardingMetaconfig cmdlet creates PowerShell Desired State Configuration (DSC) meta-configuration Managed Object Format (MOF) files. This cmdlet creates a .mof file for each computer name that you specify. The cmdlet creates a folder for the .mof files. You can run the Set-DscLocalConfigurationManager cmdlet against this folder to onboard these computers into an Azure Automation account as DSC nodes.Get-AzureRmAutomationDscOnboardingMetaconfigResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]ForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.OutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringStringnoneComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]String[]noneForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.SwitchParameterSwitchParameternoneOutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRmAutomationModuleGets metadata for modules from Automation.GetAzureAutomationModuleThe Get-AzureRmAutomationModule cmdlet gets metadata for modules from Azure Automation.Get-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringNameSpecifies the name of the module for which this cmdlet gets metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringStringnoneNameSpecifies the name of the module for which this cmdlet gets metadata. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringStringnone 1: New-AzureRmAutomationModuleRemove-AzureRmAutomationModuleSet-AzureRmAutomationModuleGet-AzureRmAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation. GetAzureAutomationRegistrationInfoThe Get-AzureRmAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a PowerShell Desired State Configuration (DSC) node or hybrid worker into an Azure Automation account.Get-AzureRmAutomationRegistrationInfoResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringStringnone 1: Get-AzureRmAutomationAccountGet-AzureRmAutomationDscNodeNew-AzureRmAutomationKeyImport-AzureRmAutomationDscConfigurationImports a DSC configuration into Automation.ImportAzureAutomationDscConfigurationThe Import-AzureRmAutomationDscConfiguration cmdlet imports a PowerShell Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of a PowerShell script that contains a single DSC configuration.Import-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringDescriptionSpecifies a description of the configuration that this cmdlet imports. StringForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.LogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfilePublishedIndicates that this cmdlet imports the DSC configuration in the published state.TagsSpecifies a dictionary of tags.IDictionarySourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringStringnoneDescriptionSpecifies a description of the configuration that this cmdlet imports. StringStringnoneForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.SwitchParameterSwitchParameternoneLogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanBooleannoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenonePublishedIndicates that this cmdlet imports the DSC configuration in the published state.SwitchParameterSwitchParameternoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringStringnoneSourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringStringnoneTagsSpecifies a dictionary of tags.IDictionaryIDictionarynone 1: Export-AzureRmAutomationDscConfigurationGet-AzureRmAutomationDscConfigurationNew-AzureRmAutomationAccountCreates an Automation account.NewAzureAutomationAccountThe New-AzureRmAutomationAccount cmdlet creates an Azure Automation account in a resource group.An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, DSC configurations, jobs, and assets.New-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringNameSpecifies a name for the Automation account.StringLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies tags for the Automation account.IDictionaryLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringStringnoneNameSpecifies a name for the Automation account.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringStringnoneTagsSpecifies tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationAccountNew-AzureRmAutomationKeyRegenerates registration keys for an Automation account.NewAzureAutomationKeyThe New-AzureRmAutomationKey cmdlet regenerates registration keys for an Azure Automation account.New-AzureRmAutomationKeyResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.PrimarySecondaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringStringnoneKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountNew-AzureRmAutomationModuleImports a module into Automation.NewAzureAutomationModuleThe New-AzureRmAutomationModule cmdlet imports a module into Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types:
-- Azure PowerShell module, which has a .psm1 file name extension
-- Azure PowerShell module manifest, which has a .psd1 file name extension
--- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.New-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringStringnoneContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriUrinoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringStringnone 1: Get-AzureRMAutomationModuleRemove-AzureRMAutomationModuleSet-AzureRMAutomationModuleRegister-AzureRMAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.RegisterAzureAutomationDscNodeThe Register-AzureRMAutomationDscNode cmdlet registers an Azure virtual machine as an Azure PowerShell Desired State Configuration (DSC) node in an Azure Automation account.Register-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. ContinueConfigurationStopConfigurationAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringConfigurationModeSpecifies the DSC configuration mode. Valid values are:
+-- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.New-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringStringnoneContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriUrinoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringStringnone 1: Get-AzureRmAutomationModuleRemove-AzureRmAutomationModuleSet-AzureRmAutomationModuleRegister-AzureRmAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.RegisterAzureAutomationDscNodeThe Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an Azure PowerShell Desired State Configuration (DSC) node in an Azure Automation account.Register-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. ContinueConfigurationStopConfigurationAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringConfigurationModeSpecifies the DSC configuration mode. Valid values are:
-- ApplyAndMonitor
-- ApplyAndAutocorrect
--- ApplyOnlyApplyAndMonitorApplyAndAutocorrectApplyOnlyConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32NodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32AzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. StringStringnoneAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanBooleannoneAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringStringnoneAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringStringnoneAzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringStringnoneAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringStringnoneConfigurationModeSpecifies the DSC configuration mode. Valid values are:
+-- ApplyOnlyApplyAndMonitorApplyAndAutocorrectApplyOnlyConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32NodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32AzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. StringStringnoneAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanBooleannoneAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringStringnoneAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringStringnoneAzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringStringnoneAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringStringnoneConfigurationModeSpecifies the DSC configuration mode. Valid values are:
-- ApplyAndMonitor
-- ApplyAndAutocorrect
--- ApplyOnlyStringStringnoneConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32Int32noneNodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanBooleannoneRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32Int32noneResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringStringnone 1: Get-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeRemove-AzureRMAutomationAccountRemoves an Automation account.RemoveAzureAutomationAccountThe Remove-AzureRMAutomationAccount cmdlet removes an Azure Automation account from a resource group.For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Remove-AzureRMAutomationAccountResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringNameSpecifies the name of the Automation account that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the Automation account that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringStringnone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountSet-AzureRMAutomationAccountRemove-AzureRMAutomationModuleRemoves a module from Automation.RemoveAzureAutomationModuleThe Remove-AzureRMAutomationModule cmdlet removes a module from an Automation account in Azure Automation.Remove-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringNameSpecifies the name of the module that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the module that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringStringnone 1: Get-AzureRMAutomationModuleNew-AzureRMAutomationModuleSet-AzureRMAutomationModuleSet-AzureRMAutomationAccountModifies an Automation account.SetAzureAutomationAccountThe Set-AzureRMAutomationAccount cmdlet modifies an Azure Automation account.For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Set-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringNameSpecifies the name of the Automation account that this cmdlet modifies.StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies Automation account tags for the Automation account.IDictionaryNameSpecifies the name of the Automation account that this cmdlet modifies.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringStringnoneTagsSpecifies Automation account tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationDscNodeModifies the node configuration that a DSC node is mapped to.SetAzureAutomationDscNodeThe Set-AzureRMAutomationDscNode cmdlet modifies a PowerShell Desired State Configuration (DSC) node configuration. Azure Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Set-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidGuidnoneNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringStringnone 1: Get-AzureRMAutomationDscNodeRegister-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeSet-AzureRMAutomationModuleUpdates a module in Automation.SetAzureAutomationModuleThe Set-AzureRMAutomationModule cmdlet updates a module in Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types:
+-- ApplyOnlyStringStringnoneConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32Int32noneNodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanBooleannoneRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32Int32noneResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringStringnone 1: Get-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeRemove-AzureRmAutomationAccountRemoves an Automation account.RemoveAzureAutomationAccountThe Remove-AzureRmAutomationAccount cmdlet removes an Azure Automation account from a resource group.For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Remove-AzureRmAutomationAccountResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringNameSpecifies the name of the Automation account that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the Automation account that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringStringnone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountSet-AzureRmAutomationAccountRemove-AzureRmAutomationModuleRemoves a module from Automation.RemoveAzureAutomationModuleThe Remove-AzureRmAutomationModule cmdlet removes a module from an Automation account in Azure Automation.Remove-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringNameSpecifies the name of the module that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the module that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringStringnone 1: Get-AzureRmAutomationModuleNew-AzureRmAutomationModuleSet-AzureRmAutomationModuleSet-AzureRmAutomationAccountModifies an Automation account.SetAzureAutomationAccountThe Set-AzureRmAutomationAccount cmdlet modifies an Azure Automation account.For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Set-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringNameSpecifies the name of the Automation account that this cmdlet modifies.StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies Automation account tags for the Automation account.IDictionaryNameSpecifies the name of the Automation account that this cmdlet modifies.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringStringnoneTagsSpecifies Automation account tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationDscNodeModifies the node configuration that a DSC node is mapped to.SetAzureAutomationDscNodeThe Set-AzureRmAutomationDscNode cmdlet modifies a PowerShell Desired State Configuration (DSC) node configuration. Azure Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Set-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidGuidnoneNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringStringnone 1: Get-AzureRmAutomationDscNodeRegister-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeSet-AzureRmAutomationModuleUpdates a module in Automation.SetAzureAutomationModuleThe Set-AzureRmAutomationModule cmdlet updates a module in Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types:
-- Azure PowerShell module, which has a .psm1 file name extension
-- Azure PowerShell module manifest, which has a .psd1 file name extension
--- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.Set-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringStringnoneContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriUrinoneContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringStringnoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringStringnone 1: Get-AzureRMAutomationModuleNew-AzureRMAutomationModuleRemove-AzureRMAutomationModuleStart-AzureRMAutomationDscCompilationJobCompiles a DSC configuration in Automation.StartAzureAutomationDscCompilationJobThe Start-AzureRMAutomationDscCompilationJob cmdlet compiles an Azure PowerShell Desired State Configuration (DSC) configuration in Azure Automation. Start-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringStringnoneConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringStringnoneParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryIDictionarynoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringStringnone 1: Get-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobOutputUnregister-AzureRMAutomationDscNodeRemoves a DSC node from management by an Automation account.UnregisterAzureAutomationDscNodeThe Unregister-AzureRMAutomationDscNode cmdlet removes an Azure PowerShell Desired State Configuration (DSC) node from management by an Azure Automation account.Unregister-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringStringnone 1: Get-AzureRMAutomationDscNodeRegister-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNode
+-- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.Set-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringStringnoneContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriUrinoneContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringStringnoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringStringnone 1: Get-AzureRmAutomationModuleNew-AzureRmAutomationModuleRemove-AzureRmAutomationModuleStart-AzureRmAutomationDscCompilationJobCompiles a DSC configuration in Automation.StartAzureAutomationDscCompilationJobThe Start-AzureRmAutomationDscCompilationJob cmdlet compiles an Azure PowerShell Desired State Configuration (DSC) configuration in Azure Automation. Start-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringStringnoneConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringStringnoneParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryIDictionarynoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringStringnone 1: Get-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobOutputUnregister-AzureRmAutomationDscNodeRemoves a DSC node from management by an Automation account.UnregisterAzureAutomationDscNodeThe Unregister-AzureRmAutomationDscNode cmdlet removes an Azure PowerShell Desired State Configuration (DSC) node from management by an Azure Automation account.Unregister-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringStringnone 1: Get-AzureRmAutomationDscNodeRegister-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNode
diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/DscNodeReport.cs b/src/ResourceManager/Automation/Commands.Automation/Model/DscNodeReport.cs
index fba205af7b81..a0c675392531 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Model/DscNodeReport.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Model/DscNodeReport.cs
@@ -36,6 +36,7 @@ public DscNodeReport(string resourceGroupName, string automationAccountName, str
Requires.Argument("ResourceGroupName", resourceGroupName).NotNull();
Requires.Argument("AutomationAccountName", automationAccountName).NotNull();
Requires.Argument("dscNodeReport", dscNodeReport).NotNull();
+ Requires.Argument("dscNodeReport", dscNodeReport.Id).NotNull();
this.ResourceGroupName = resourceGroupName;
this.AutomationAccountName = automationAccountName;
@@ -43,8 +44,12 @@ public DscNodeReport(string resourceGroupName, string automationAccountName, str
this.EndTime = dscNodeReport.EndTime;
this.LastModifiedTime = dscNodeReport.LastModifiedTime;
this.ReportType = dscNodeReport.Type;
- this.Id = dscNodeReport.Id;
+ this.Id = dscNodeReport.Id.ToString("D");
this.NodeId = nodeId;
+ this.Status = dscNodeReport.Status;
+ this.RefreshMode = dscNodeReport.RefreshMode;
+ this.RebootRequested = dscNodeReport.RebootRequested;
+ this.ReportFormatVersion = dscNodeReport.ReportFormatVersion;
}
///
@@ -93,5 +98,25 @@ public DscNodeReport()
/// Gets or sets the Node id.
///
public string NodeId { get; set; }
+
+ ///
+ /// Gets or sets the Status.
+ ///
+ public string Status { get; set; }
+
+ ///
+ /// Gets or sets the Refresh Mode.
+ ///
+ public string RefreshMode { get; set; }
+
+ ///
+ /// Gets or sets the Reboot Requested.
+ ///
+ public string RebootRequested { get; set; }
+
+ ///
+ /// Gets or sets the Report Format Version.
+ ///
+ public string ReportFormatVersion { get; set; }
}
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs
index 79b7a3f1e7c9..05aea998d0a6 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs
@@ -16,6 +16,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using System.Linq.Expressions;
+using System.Management.Automation;
namespace Microsoft.Azure.Commands.Automation.Model
{
@@ -65,7 +67,20 @@ public Job(string resourceGroupName, string accountName, Azure.Management.Automa
if (0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase) &&
0 != String.Compare(kvp.Key, Constants.JobRunOnParameterName, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase))
{
- this.JobParameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value));
+ object paramValue;
+ try
+ {
+ paramValue = ((object) PowerShellJsonConverter.Deserialize(kvp.Value));
+ }
+ catch (CmdletInvocationException exception)
+ {
+ if (!exception.Message.Contains("Invalid JSON primitive"))
+ throw;
+
+ paramValue = kvp.Value;
+ }
+ this.JobParameters.Add(kvp.Key, paramValue);
+
}
}
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Webhook.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Webhook.cs
index 802c55f6f2cd..d9b97ede917c 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Model/Webhook.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Model/Webhook.cs
@@ -65,7 +65,12 @@ public Webhook(
}
this.LastModifiedTime = webhook.Properties.LastModifiedTime.ToLocalTime();
- this.Parameters = new Hashtable(webhook.Properties.Parameters.ToDictionary(kvp => kvp.Key, kvp => kvp.Value));
+ this.Parameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
+ foreach (var kvp in webhook.Properties.Parameters)
+ {
+ this.Parameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value));
+ }
+
this.RunbookName = webhook.Properties.Runbook.Name;
this.WebhookURI = webhookUri;
}
diff --git a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs
index 157b7fa2e9c2..db513eb8c67d 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs
+++ b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs
@@ -141,6 +141,15 @@ internal static string ConfigurationContentNotFound {
}
}
+ ///
+ /// Looks up a localized string similar to ConfigurationData cannot be part of the job parameters. You can specify the ConfigurationData using the {0} switch.
+ ///
+ internal static string ConfigurationDataShouldNotBeInJobParameters {
+ get {
+ return ResourceManager.GetString("ConfigurationDataShouldNotBeInJobParameters", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Configuration content can not be in edit/draft mode in current preview. Use the Published option..
///
@@ -231,6 +240,15 @@ internal static string ConnectionNotFound {
}
}
+ ///
+ /// Looks up a localized string similar to The connection type was not found. ConnectionType name: {0}..
+ ///
+ internal static string ConnectionTypeNotFound {
+ get {
+ return ResourceManager.GetString("ConnectionTypeNotFound", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to The credential was not found. Credential name: {0}..
///
@@ -267,6 +285,15 @@ internal static string DscNodeNotFound {
}
}
+ ///
+ /// Looks up a localized string similar to File name and runbook name must be the same for PowerShell Workflow runbooks..
+ ///
+ internal static string FileNameRunbookNameMismatch {
+ get {
+ return ResourceManager.GetString("FileNameRunbookNameMismatch", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Invalid configuration parameters..
///
@@ -375,6 +402,15 @@ internal static string NodeConfigurationAlreadyExists {
}
}
+ ///
+ /// Looks up a localized string similar to Invalid node configuration name. Please specify in the format <config name>.<node name>.
+ ///
+ internal static string NodeConfigurationNameInvalid {
+ get {
+ return ResourceManager.GetString("NodeConfigurationNameInvalid", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to NodeConfiguration {0} not found..
///
@@ -492,6 +528,15 @@ internal static string RemoveAzureAutomationScheduleWarning {
}
}
+ ///
+ /// Looks up a localized string similar to This connection type has connections associated with it. If you delete this connection type, all connections associated with it will be unusable and should be removed, unless you create a new connection type with the same name that has the same field definitions as the deleted connection type. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?.
+ ///
+ internal static string RemoveConnectionTypeThatHasConnectionWarning {
+ get {
+ return ResourceManager.GetString("RemoveConnectionTypeThatHasConnectionWarning", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Removing the Dsc node with Id {0}..
///
diff --git a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx
index a5e5111c1626..999997efde7f 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx
+++ b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx
@@ -403,4 +403,22 @@
Runbook file already exists. Specify the force switch switch overwrite. Runbook file name: {0}
Automation
+
+ File name and runbook name must be the same for PowerShell Workflow runbooks.
+ Automation
+
+
+ The connection type was not found. ConnectionType name: {0}.
+
+
+ This connection type has connections associated with it. If you delete this connection type, all connections associated with it will be unusable and should be removed, unless you create a new connection type with the same name that has the same field definitions as the deleted connection type. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?
+ Automation
+
+
+ Invalid node configuration name. Please specify in the format <config name>.<node name>
+ Automation
+
+
+ ConfigurationData cannot be part of the job parameters. You can specify the ConfigurationData using the {0} switch
+
\ No newline at end of file
diff --git a/src/ResourceManager/Automation/Commands.Automation/packages.config b/src/ResourceManager/Automation/Commands.Automation/packages.config
index 94bde317b5e4..b8a07a8fad2e 100644
--- a/src/ResourceManager/Automation/Commands.Automation/packages.config
+++ b/src/ResourceManager/Automation/Commands.Automation/packages.config
@@ -2,9 +2,9 @@
-
+
-
+
diff --git a/src/ResourceManager/Automation/NuGet.Config b/src/ResourceManager/Automation/NuGet.Config
new file mode 100644
index 000000000000..2de911013532
--- /dev/null
+++ b/src/ResourceManager/Automation/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureBackup/AzureBackup.sln b/src/ResourceManager/AzureBackup/AzureBackup.sln
new file mode 100644
index 000000000000..287471331331
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/AzureBackup.sln
@@ -0,0 +1,57 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup", "Commands.AzureBackup\Commands.AzureBackup.csproj", "{6C8D2337-C9D1-4F52-94B3-AB63A19F3453}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup.Test", "Commands.AzureBackup.Test\Commands.AzureBackup.Test.csproj", "{678AE95D-2364-47D7-888C-3FFA6D412CC8}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "..\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Release|Any CPU.Build.0 = Release|Any CPU
+ {678AE95D-2364-47D7-888C-3FFA6D412CC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {678AE95D-2364-47D7-888C-3FFA6D412CC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {678AE95D-2364-47D7-888C-3FFA6D412CC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {678AE95D-2364-47D7-888C-3FFA6D412CC8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {678AE95D-2364-47D7-888C-3FFA6D412CC8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ EndGlobalSection
+EndGlobal
diff --git a/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1 b/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1
new file mode 100644
index 000000000000..41305a372432
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/AzureRM.Backup.psd1
@@ -0,0 +1,90 @@
+#
+# Module manifest for module 'Microsoft.Azure.Commands.AzureBackup'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 9/19/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.8'
+
+# ID used to uniquely identify this module
+GUID = '0b1d76f5-a928-4b8f-9c83-df26947568d4'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = ' Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - AzureBackup'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @(
+ '.\Microsoft.Azure.Commands.AzureBackup.format.ps1xml'
+)
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.Azure.Commands.AzureBackup.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
index 8e06a760b7cb..3e5033a2462f 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
@@ -36,7 +36,7 @@
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -130,7 +130,6 @@
-
@@ -141,7 +140,7 @@
-
+
{3436a126-edc9-4060-8952-9a1be34cdd95}
Commands.ScenarioTests.ResourceManager.Common
@@ -172,9 +171,6 @@
Always
-
- Always
-
Always
@@ -229,9 +225,6 @@
Always
-
- Always
-
Always
@@ -248,26 +241,9 @@
Always
-
+
+
+
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
index b8cc114d0723..373a88958ad1 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
@@ -21,9 +21,9 @@ $ContainerStatus = "Registered"
function Test-AzureBackupMarsContainerScenario
{
- $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+ $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
- $containers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType
+ $containers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType
Assert-AreEqual $containers[0].ContainerType $ContainerType;
Assert-AreEqual $containers[0].Id $ContainerId;
Assert-AreEqual $containers[0].Location $vault.Region;
@@ -32,7 +32,7 @@ function Test-AzureBackupMarsContainerScenario
Assert-AreEqual $containers[0].ResourceName $vault.Name;
Assert-AreEqual $containers[0].Status $ContainerStatus;
- $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName
+ $namedContainers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType -name $ContainerName
$container = $namedContainers[0];
Assert-AreEqual $container.ContainerType $ContainerType;
Assert-AreEqual $container.Id $ContainerId;
@@ -42,11 +42,11 @@ function Test-AzureBackupMarsContainerScenario
Assert-AreEqual $container.ResourceName $vault.Name;
Assert-AreEqual $container.Status $ContainerStatus;
- Enable-AzureRMBackupContainerReregistration -Container $container
+ Enable-AzureRmBackupContainerReregistration -Container $container
- Unregister-AzureRMBackupContainer -Container $container -Force
+ Unregister-AzureRmBackupContainer -Container $container -Force
- $unregContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName
+ $unregContainers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType -name $ContainerName
Assert-AreEqual $unregContainers.Count 0;
}
@@ -58,8 +58,8 @@ $VaultResourceRGName = "backuprg"
function Test-RegisterAzureBackupContainer
{
- $vault = Get-AzureRMBackupVault -Name $VaultResourceName
- $jobId = Register-AzureRMBackupContainer -vault $vault -Name $IaasVMManagedResourceName -ServiceName $IaasVMManagedResourceGroupName
+ $vault = Get-AzureRmBackupVault -Name $VaultResourceName
+ $jobId = Register-AzureRmBackupContainer -vault $vault -Name $IaasVMManagedResourceName -ServiceName $IaasVMManagedResourceGroupName
Assert-NotNull $jobId 'Job should not be null';
}
@@ -67,9 +67,9 @@ function Test-RegisterAzureBackupContainer
function Test-UnregisterAzureBackupContainer
{
- $vault = Get-AzureRMBackupVault -Name $VaultResourceName
- $container = Get-AzureRMBackupContainer -Name $IaasVMManagedResourceName -Type AzureVM -ManagedResourceGroupName $IaasVMManagedResourceGroupName -Vault $vault
- $jobId = Unregister-AzureRMBackupContainer -Container $container
+ $vault = Get-AzureRmBackupVault -Name $VaultResourceName
+ $container = Get-AzureRmBackupContainer -Name $IaasVMManagedResourceName -Type AzureVM -ManagedResourceGroupName $IaasVMManagedResourceGroupName -Vault $vault
+ $jobId = Unregister-AzureRmBackupContainer -Container $container
Assert-NotNull $jobId 'Job should not be null';
}
@@ -81,9 +81,9 @@ $BMSContainerStatus = "Registered"
function Test-AzureBackupContainerScenario
{
- $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+ $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
- $containers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType
+ $containers = Get-AzureRmBackupContainer -vault $vault -type $BMSContainerType
Assert-AreEqual $containers[0].ContainerType $BMSContainerType;
Assert-AreEqual $containers[0].ContainerUniqueName $BMSContainerUniqueName;
Assert-AreEqual $containers[0].Location $vault.Region;
@@ -92,7 +92,7 @@ function Test-AzureBackupContainerScenario
Assert-AreEqual $containers[0].ResourceName $vault.Name;
Assert-AreEqual $containers[0].Status $BMSContainerStatus;
- $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType -name $BMSContainerName
+ $namedContainers = Get-AzureRmBackupContainer -vault $vault -type $BMSContainerType -name $BMSContainerName
$container = $namedContainers[0];
Assert-AreEqual $container.ContainerType $BMSContainerType;
Assert-AreEqual $container.ContainerUniqueName $BMSContainerUniqueName;
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1
index b2c9869ebc92..4de7d7de53f7 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1
@@ -13,16 +13,16 @@
# ----------------------------------------------------------------------------------
$ResourceGroupName = "backuprg"
-$ResourceName = "backuprn"
-$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ResourceName = "backuprn2"
+$ContainerName = "iaasvmcontainer;powershellbvt1;powershellbvt1"
$ContainerType = "IaasVMContainer"
$DataSourceType = "IaasVM"
$DataSourceId = "17593283453810"
-$Location = "SouthEast Asia"
+$Location = "westus"
$PolicyName = "ProtPolicy01";
-$PolicyId = "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy";
-$POName = "hydrarecordvm"
-$itemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$PolicyId = "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy";
+$POName = "powershellbvt1"
+$itemName = "iaasvmcontainer;powershellbvt1;powershellbvt1"
function Test-GetAzureBackupItemTests
@@ -33,7 +33,7 @@ function Test-GetAzureBackupItemTests
$azureBackUpContainer.Location = $Location
$azureBackUpContainer.ContainerUniqueName = $ContainerName
$azureBackUpContainer.ContainerType = $ContainerType
- $item = Get-AzureRMBackupItem -Container $azureBackUpContainer
+ $item = Get-AzureRmBackupItem -Container $azureBackUpContainer
if (!($item -eq $null))
{
foreach($backupitem in $item)
@@ -52,8 +52,8 @@ function Test-GetAzureBackupItemTests
function Test-EnableAzureBackupProtection
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName
- $policyList = Get-AzureRMBackupProtectionPolicy -Vault $vault
+ $vault = Get-AzureRmBackupVault -Name $ResourceName
+ $policyList = Get-AzureRmBackupProtectionPolicy -Vault $vault
$policy = $policyList[0]
$azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
@@ -65,7 +65,7 @@ function Test-EnableAzureBackupProtection
$azureBackUpItem.Type = $DataSourceType
$azureBackUpItem.Name = $POName
$azureBackUpItem.ItemName = $itemName
- $jobId = Enable-AzureRMBackupProtection -Item $azureBackUpItem -Policy $policy
+ $jobId = Enable-AzureRmBackupProtection -Item $azureBackUpItem -Policy $policy
}
@@ -80,5 +80,5 @@ function Test-DisableAzureBackupProtection
$azureBackUpItem.Type = $DataSourceType
$azureBackUpItem.ItemName = $itemName
$azureBackUpItem.Name = $POName
- $jobId1 = Disable-AzureRMBackupProtection -Item $azureBackUpItem
-}
+ $jobId1 = Disable-AzureRmBackupProtection -Item $azureBackUpItem -Force
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1
index 7feb00a08496..07e070a22e74 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1
@@ -28,10 +28,10 @@ $ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
function Test-GetAzureRMBackupJob
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
$OneMonthBack = Get-Date -Date "2015-07-15 09:39:29Z";
$now = Get-Date -Date "2015-08-14 09:39:29Z";
- $jobs = Get-AzureRMBackupJob -Vault $vault -From $OneMonthBack -To $now
+ $jobs = Get-AzureRmBackupJob -Vault $vault -From $OneMonthBack -To $now
Assert-NotNull $jobs 'Jobs list should not be null'
foreach($job in $jobs)
{
@@ -42,7 +42,7 @@ function Test-GetAzureRMBackupJob
Assert-NotNull $jobs.Status 'Status should not be null';
Assert-NotNull $jobs.Operation 'Operation should not be null';
- $jobDetails = Get-AzureRMBackupJobDetails -Job $job
+ $jobDetails = Get-AzureRmBackupJobDetails -Job $job
Assert-NotNull $jobDetails.InstanceId 'JobID should not be null';
Assert-NotNull $jobDetails.StartTime 'StartTime should not be null';
Assert-NotNull $jobDetails.WorkloadType 'WorkloadType should not be null';
@@ -63,10 +63,10 @@ function Test-StopAzureRMBackupJob
$AzureRMBackupItem.Location = $Location
$AzureRMBackupItem.ContainerUniqueName = $ContainerName
$AzureRMBackupItem.ItemName = $ItemName
- $job = Backup-AzureRMBackupItem -Item $AzureRMBackupItem
+ $job = Backup-AzureRmBackupItem -Item $AzureRMBackupItem
- Stop-AzureRMBackupJob -Job $job;
- Wait-AzureRMBackupJob -Job $job;
- $jobDetails = Get-AzureRMBackupJobDetails -Job $job;
+ Stop-AzureRmBackupJob -Job $job;
+ Wait-AzureRmBackupJob -Job $job;
+ $jobDetails = Get-AzureRmBackupJobDetails -Job $job;
Assert-AreEqual 'Cancelled' $jobDetails.Status
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1
index 824ae6637d0f..2f57cd354415 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1
@@ -13,9 +13,9 @@
# ----------------------------------------------------------------------------------
$ResourceGroupName = "backuprg"
-$ResourceName = "backuprn"
+$ResourceName = "backuprn2"
$DataSourceType = "VM"
-$Location = "SouthEast Asia"
+$Location = "westus"
$PolicyName = "Policy10";
$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
@@ -33,8 +33,8 @@ Tests creating new resource group and a simple resource.
#>
function Test-GetAzureBackupProtectionPolicyTests
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $protectionPolicies = Get-AzureRMBackupProtectionPolicy -vault $vault
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
+ $protectionPolicies = Get-AzureRmBackupProtectionPolicy -vault $vault
Assert-NotNull $protectionPolicies 'Protection Policies should not be null'
foreach($protectionPolicy in $protectionPolicies)
{
@@ -50,8 +50,8 @@ function Test-GetAzureBackupProtectionPolicyTests
function Test-GetAzureBackupProtectionPolicyByNameTests
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName
Assert-NotNull $protectionPolicy.Name 'Name should not be null'
Assert-NotNull $protectionPolicy.Type 'Type should not be null'
@@ -65,12 +65,12 @@ function Test-GetAzureBackupProtectionPolicyByNameTests
function Test-NewAzureBackupProtectionPolicyTests
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20
- $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
+ $r1 = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 20
+ $r2 = New-AzureRmBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10
$r = ($r1, $r2)
- $protectionPolicy = New-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicy $r -BackupTime $BackupTime
+ $protectionPolicy = New-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicy $r -BackupTime $BackupTime
Assert-NotNull $protectionPolicy.Name 'Name should not be null'
Assert-NotNull $protectionPolicy.Type 'Type should not be null'
@@ -83,17 +83,18 @@ function Test-NewAzureBackupProtectionPolicyTests
function Test-SetAzureBackupProtectionPolicyTests
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName
$policyNewName = "policy09-new"
- Set-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName
+ Set-AzureRmBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName
}
function Test-RemoveAzureBackupProtectionPolicyTests
{
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+
+ $vault = Get-AzureRmBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName
- Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy
-}
+ Remove-AzureRmBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -Force
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1
deleted file mode 100644
index a807675645ce..000000000000
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1
+++ /dev/null
@@ -1,146 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# 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.
-# ----------------------------------------------------------------------------------
-
-$ResourceGroupName = "backuprg"
-$ResourceName = "backuprn"
-$Location = "southeastasia"
-$VirtualMachineName = "hydrarecordvm"
-$ProtectionPolicyName = "e2epolicy1"
-$RestoreStorageAccount = "e2estore"
-
-function Test-AzureBackupEndToEnd
-{
- New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location;
- $vault = Get-AzureRMBackupVault -Name $ResourceName;
- $Job = Register-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -ServiceName $VirtualMachineName;
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId;
- Assert-AreEqual $JobDetails.Status "Completed";
-
- $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20;
- $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10;
- $r3 = New-AzureRMBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth "10" -Retention 10;
- $r = ($r1, $r2, $r3);
- $backupTime = (Get-Date("17 August 2015 15:30:00")).ToUniversalTime();
- $protectionpolicy = New-AzureRMBackupProtectionPolicy -Vault $vault -Name $ProtectionPolicyName -Type "AzureVM" -Daily -BackupTime $backupTime -RetentionPolicy $r;
-
- Assert-AreEqual $protectionpolicy.Name $ProtectionPolicyName;
- Assert-AreEqual $protectionpolicy.Type "AzureVM";
- Assert-AreEqual $protectionpolicy.ScheduleType "Daily";
- Assert-AreEqual $protectionpolicy.RetentionPolicy.Count 3;
- Assert-AreEqual $protectionpolicy.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $protectionpolicy.ResourceName $ResourceName;
- Assert-AreEqual $protectionpolicy.Location $Location;
-
- $container = Get-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -Type "AzureVM";
- Assert-AreEqual $container.ContainerType "AzureVM";
- Assert-AreEqual $container.ContainerUniqueName.Contains("iaasvmcontainer") "True";
- Assert-AreEqual $container.ContainerUniqueName.Contains($VirtualMachineName) "True";
- Assert-AreEqual $container.Status "Registered";
- Assert-AreEqual $container.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $container.ResourceName $ResourceName;
- Assert-AreEqual $container.Location $Location;
-
- $Job = Enable-AzureRMBackupProtection -Item $container[0] -Policy $protectionpolicy[0];
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
- Assert-AreEqual $JobDetails.Operation "ConfigureBackup";
- Assert-AreEqual $JobDetails.Status "Completed";
- Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
- Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
- Assert-AreEqual $JobDetails.Properties.Values.Contains($ProtectionPolicyName) "True";
- Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $JobDetails.ResourceName $ResourceName;
- Assert-AreEqual $JobDetails.Location $Location;
-
- $item = Get-AzureRMBackupItem -Container $container[0];
- Assert-AreEqual $item.ProtectionStatus "Protected";
- Assert-AreEqual $item.DataSourceStatus "IRPending";
- Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName;
- Assert-AreEqual $item.ContainerType "AzureVM";
- Assert-NotNull $item.Type;
- Assert-AreEqual $item.ItemName.Contains("iaasvmcontainer") "True";
- Assert-AreEqual $item.ItemName.Contains($VirtualMachineName) "True";
- Assert-AreEqual $item.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $item.ResourceName $ResourceName;
- Assert-AreEqual $item.Location $Location;
-
- $Job = Backup-AzureRMBackupItem -Item $item[0];
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
- Assert-AreEqual $JobDetails.Operation "Backup";
- Assert-AreEqual $JobDetails.Status "Completed";
- Assert-NotNull $JobDetails.WorkloadType;
- Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
- Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
- Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $JobDetails.ResourceName $ResourceName;
- Assert-AreEqual $JobDetails.Location $Location;
-
- $item = Get-AzureRMBackupItem -Container $container[0];
- Assert-AreEqual $item.ProtectionStatus "Protected";
- Assert-AreEqual $item.DataSourceStatus "Protected";
- Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName;
- Assert-AreEqual $item.RecoveryPointsCount "1";
- Assert-AreEqual $item.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $item.ResourceName $ResourceName;
- Assert-AreEqual $item.Location $Location;
-
- $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $item[0];
- Assert-NotNull $recoveryPoints.RecoveryPointTime;
- Assert-NotNull $recoveryPoints.RecoveryPointName;
- # Assert-AreEqual $recoveryPoints.RecoveryPointType "FileSystemConsistent";
- Assert-AreEqual $recoveryPoints.ContainerType "AzureVM";
- Assert-AreEqual $recoveryPoints.ItemName.Contains($VirtualMachineName) "True";
- Assert-AreEqual $recoveryPoints.ItemName.Contains("iaasvmcontainer") "True";
-
- $Job = Restore-AzureRMBackupItem -RecoveryPoint $recoveryPoints -StorageAccountName $RestoreStorageAccount;
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
- Assert-AreEqual $JobDetails.Operation "Restore";
- Assert-AreEqual $JobDetails.Status "Completed";
- Assert-NotNull $JobDetails.WorkloadType;
- Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
- Assert-AreEqual $JobDetails.Properties.Values.Contains($RestoreStorageAccount) "True";
- Assert-AreEqual $JobDetails.Properties.Values.Contains("Recover disks") "True";
- Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $JobDetails.ResourceName $ResourceName;
- Assert-AreEqual $JobDetails.Location $Location;
-
- $Job = Disable-AzureRMBackupProtection -RemoveRecoveryPoints -Item $item[0];
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
- Assert-AreEqual $JobDetails.Operation "Unprotect";
- Assert-AreEqual $JobDetails.Status "Completed";
- Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
- Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
- Assert-AreEqual $JobDetails.Properties.Keys.Contains("Delete Backup Data") "True";
- Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
- Assert-AreEqual $JobDetails.ResourceName $ResourceName;
- Assert-AreEqual $JobDetails.Location $Location;
-
- $Job = Unregister-AzureRMBackupContainer -Container $container[0];
- Wait-AzureRMBackupJob -Job $Job;
- $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId;
- Assert-AreEqual $JobDetails.Operation "UnRegister";
- Assert-AreEqual $JobDetails.Status "Completed";
- Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
-
- Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionpolicy;
-
- Remove-AzureRMBackupVault -Vault $vault;
-
- $deletedVault = Get-AzureRMBackupVault -Name $ResourceName;
- Assert-Null $deletedVault;
-}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
index 031ff5b7ca26..893fa0bbed43 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
@@ -65,8 +65,11 @@ protected void RunPowerShellTest(params string[] scripts)
SetupManagementClients();
helper.SetupEnvironment(AzureModule.AzureResourceManager);
- helper.SetupModules(AzureModule.AzureResourceManager, "ScenarioTests\\" + this.GetType().Name + ".ps1");
-
+ helper.SetupModules(AzureModule.AzureResourceManager,
+ "ScenarioTests\\" + this.GetType().Name + ".ps1",
+ helper.RMProfileModule,
+ helper.GetRMModulePath("AzureRM.Backup.psd1")
+ );
helper.RunPowerShellTest(scripts);
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
index 1b9452cf1767..40df189fdf76 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
@@ -19,28 +19,28 @@ $CertTargetLocation = (Get-Item -Path ".\" -Verbose).FullName;
function Test-AzureBackupVaultScenario
{
- $vault = New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant";
+ $vault = New-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant";
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "LocallyRedundant";
- $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+ $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "LocallyRedundant";
- $fileName = Get-AzureRMBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation
+ $fileName = Get-AzureRmBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation
Assert-NotNull $fileName 'File name should not be null';
$certFileFullPath = [io.path]::combine($CertTargetLocation, $fileName);
Assert-True {{ Test-Path $certFileFullPath }}
- $vault = Set-AzureRMBackupVault -vault $vault -Storage "GeoRedundant";
+ $vault = Set-AzureRmBackupVault -vault $vault -Storage "GeoRedundant";
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "GeoRedundant";
- Remove-AzureRMBackupVault -Vault $vault;
+ Remove-AzureRmBackupVault -Vault $vault;
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1
index 99f45273876e..c8569cbce528 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1
@@ -33,5 +33,5 @@ function Test-BackUpAzureBackUpItem
$AzureRMBackupItem.Location = $Location
$AzureRMBackupItem.ContainerUniqueName = $ContainerName
$AzureRMBackupItem.ItemName = $ItemName
- $jobId = Backup-AzureRMBackupItem -Item $AzureRMBackupItem
+ $jobId = Backup-AzureRmBackupItem -Item $AzureRMBackupItem
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1
index 2ab904cebc40..cd081e292baf 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1
@@ -34,7 +34,7 @@ function Test-GetAzureRecoveryPoints
$azureBackUpItem.Location = $Location
$azureBackUpItem.ContainerUniqueName = $ContainerName
$azureBackUpItem.ItemName = $ItemName
- $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem
+ $recoveryPoints = Get-AzureRmBackupRecoveryPoint -Item $azureBackUpItem
if (!($recoveryPoints -eq $null))
{
foreach($recoveryPoint in $recoveryPoints)
@@ -54,7 +54,7 @@ function Test-GetAzureRecoveryPoint
$azureBackUpItem.Location = $Location
$azureBackUpItem.ContainerUniqueName = $ContainerName
$azureBackUpItem.ItemName = $ItemName
- $recoveryPoint = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName
+ $recoveryPoint = Get-AzureRmBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName
if (!($recoveryPoint -eq $null))
{
Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null'
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1
index 77ed19cfdade..4d92bdd3e32d 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1
@@ -36,5 +36,5 @@ function Test-RestoreAzureBackUpItem
$azureBackUpRecoveryPoint.ContainerUniqueName = $ContainerName
$azureBackUpRecoveryPoint.ItemName = $ItemName
$azureBackUpRecoveryPoint.RecoveryPointName = $RecoveryPointName
- $jobId = Restore-AzureRMBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName
+ $jobId = Restore-AzureRmBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json
index 8b42c890db74..ea08652116e5 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer%3Bpowershellbvt1%3Bpowershellbvt1/protectedItems/iaasvmcontainer%3Bpowershellbvt1%3Bpowershellbvt1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9yZWdpc3RlcmVkQ29udGFpbmVycy9pYWFzdm1jb250YWluZXIlM0Jwb3dlcnNoZWxsYnZ0MSUzQnBvd2Vyc2hlbGxidnQxL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQnBvd2Vyc2hlbGxidnQxJTNCcG93ZXJzaGVsbGJ2dDE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"\"\r\n }\r\n}",
"RequestHeaders": {
@@ -16,13 +16,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "\"cd4690ce-0636-4bbc-91f1-df314f9f0369\"",
+ "ResponseBody": "\"69fe59fa-ee89-4bcf-b57f-15701c0b0517\"",
"ResponseHeaders": {
"Content-Length": [
"38"
@@ -37,29 +37,29 @@
"no-cache"
],
"x-ms-request-id": [
- "8d49524e-27bf-4082-80ef-305e5d5908e8"
+ "478e6352-0987-4d26-9a1d-4a809c0263bb"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS",
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999995"
+ "1197"
],
"x-ms-correlation-request-id": [
- "8d49524e-27bf-4082-80ef-305e5d5908e8"
+ "478e6352-0987-4d26-9a1d-4a809c0263bb"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110548Z:8d49524e-27bf-4082-80ef-305e5d5908e8"
+ "CENTRALUS:20150924T141459Z:478e6352-0987-4d26-9a1d-4a809c0263bb"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:05:47 GMT"
+ "Thu, 24 Sep 2015 14:14:58 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -71,8 +71,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/cd4690ce-0636-4bbc-91f1-df314f9f0369?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvY2Q0NjkwY2UtMDYzNi00YmJjLTkxZjEtZGYzMTRmOWYwMzY5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/operationResults/69fe59fa-ee89-4bcf-b57f-15701c0b0517?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9vcGVyYXRpb25SZXN1bHRzLzY5ZmU1OWZhLWVlODktNGJjZi1iNTdmLTE1NzAxYzBiMDUxNz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -80,13 +80,77 @@
"en-us"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\"\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"7a7c1f06-a2b0-4774-983b-64b2e88f7b76\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d6876f70-e3e9-46c3-8c18-8d4a069b8dbc"
+ ],
+ "x-ms-client-request-id": [
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS",
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "d6876f70-e3e9-46c3-8c18-8d4a069b8dbc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150924T141459Z:d6876f70-e3e9-46c3-8c18-8d4a069b8dbc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 24 Sep 2015 14:14:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/operationResults/69fe59fa-ee89-4bcf-b57f-15701c0b0517?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9vcGVyYXRpb25SZXN1bHRzLzY5ZmU1OWZhLWVlODktNGJjZi1iNTdmLTE1NzAxYzBiMDUxNz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"7a7c1f06-a2b0-4774-983b-64b2e88f7b76\"\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"106"
@@ -101,29 +165,29 @@
"no-cache"
],
"x-ms-request-id": [
- "9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ "6940a29d-9706-4fc9-9493-990f9f0909c3"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS",
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14992"
],
"x-ms-correlation-request-id": [
- "9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ "6940a29d-9706-4fc9-9493-990f9f0909c3"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110559Z:9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ "CENTRALUS:20150924T141510Z:6940a29d-9706-4fc9-9493-990f9f0909c3"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:05:59 GMT"
+ "Thu, 24 Sep 2015 14:15:09 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -135,8 +199,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/f0e97977-1d36-4c5c-b20e-a83ca4a9a126?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZjBlOTc5NzctMWQzNi00YzVjLWIyMGUtYTgzY2E0YTlhMTI2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/jobs/7a7c1f06-a2b0-4774-983b-64b2e88f7b76?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9qb2JzLzdhN2MxZjA2LWEyYjAtNDc3NC05ODNiLTY0YjJlODhmN2I3Nj9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -144,16 +208,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"False\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T11:05:48.2402923Z\",\r\n \"endTimestamp\": \"2015-08-14T11:05:51.2752133Z\",\r\n \"duration\": \"00:00:03.0349210\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"name\": \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"powershellbvt1\",\r\n \"Delete Backup Data\": \"False\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-09-24T14:14:59.1549513Z\",\r\n \"endTimestamp\": \"2015-09-24T14:15:03.2479149Z\",\r\n \"duration\": \"00:00:04.0929636\",\r\n \"entityFriendlyName\": \"powershellbvt1\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/jobs/7a7c1f06-a2b0-4774-983b-64b2e88f7b76\",\r\n \"name\": \"7a7c1f06-a2b0-4774-983b-64b2e88f7b76\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "682"
+ "689"
],
"Content-Type": [
"application/json"
@@ -165,29 +229,29 @@
"no-cache"
],
"x-ms-request-id": [
- "30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ "5c885b24-9e51-4160-8665-af062d90db82"
],
"x-ms-client-request-id": [
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
- "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS",
+ "643836d9-042e-4f26-b064-c494d135bf6e-2015-09-24 14:14:55Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
+ "14991"
],
"x-ms-correlation-request-id": [
- "30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ "5c885b24-9e51-4160-8665-af062d90db82"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110600Z:30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ "CENTRALUS:20150924T141511Z:5c885b24-9e51-4160-8665-af062d90db82"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:05:59 GMT"
+ "Thu, 24 Sep 2015 14:15:10 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json
index 499e56031eff..40153a5e1c7d 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ "1408d91a-43a4-44f1-bda7-844b095e3227-2015-09-24 14:11:42Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14986"
],
"x-ms-request-id": [
- "7900531a-475d-4929-8c2f-0a50f4f64924"
+ "00f129c4-0e0c-4218-8f8f-4b616076bb19"
],
"x-ms-correlation-request-id": [
- "7900531a-475d-4929-8c2f-0a50f4f64924"
+ "00f129c4-0e0c-4218-8f8f-4b616076bb19"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094445Z:7900531a-475d-4929-8c2f-0a50f4f64924"
+ "CENTRALUS:20150924T141143Z:00f129c4-0e0c-4218-8f8f-4b616076bb19"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:44:44 GMT"
+ "Thu, 24 Sep 2015 14:11:43 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ "1408d91a-43a4-44f1-bda7-844b095e3227-2015-09-24 14:11:42Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "106"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "55d16cde-eeca-4566-9db3-d3413a679d9e"
+ "dc155ed1-917e-4674-a8fb-0b481ca89153"
],
"x-ms-client-request-id": [
- "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS",
- "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ "1408d91a-43a4-44f1-bda7-844b095e3227-2015-09-24 14:11:42Z-PS",
+ "1408d91a-43a4-44f1-bda7-844b095e3227-2015-09-24 14:11:42Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
+ "14985"
],
"x-ms-correlation-request-id": [
- "55d16cde-eeca-4566-9db3-d3413a679d9e"
+ "dc155ed1-917e-4674-a8fb-0b481ca89153"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094447Z:55d16cde-eeca-4566-9db3-d3413a679d9e"
+ "CENTRALUS:20150924T141145Z:dc155ed1-917e-4674-a8fb-0b481ca89153"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:44:47 GMT"
+ "Thu, 24 Sep 2015 14:11:45 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS"
+ "41166413-fd83-4d01-950f-e250d357aecc-2015-09-24 14:11:45Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/policy09-new\",\r\n \"name\": \"policy09-new\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/policy09-new\",\r\n \"name\": \"policy09-new\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2171"
+ "2163"
],
"Content-Type": [
"application/json"
@@ -146,11 +146,11 @@
"no-cache"
],
"x-ms-request-id": [
- "4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ "1d4bae54-166e-48d9-a530-c599051e774c"
],
"x-ms-client-request-id": [
- "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS",
- "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS"
+ "41166413-fd83-4d01-950f-e250d357aecc-2015-09-24 14:11:45Z-PS",
+ "41166413-fd83-4d01-950f-e250d357aecc-2015-09-24 14:11:45Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -159,16 +159,16 @@
"14993"
],
"x-ms-correlation-request-id": [
- "4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ "1d4bae54-166e-48d9-a530-c599051e774c"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094450Z:4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ "CENTRALUS:20150924T141147Z:1d4bae54-166e-48d9-a530-c599051e774c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:44:50 GMT"
+ "Thu, 24 Sep 2015 14:11:46 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,28 +180,28 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer%3Bpowershellbvt1%3Bpowershellbvt1/protectedItems/iaasvmcontainer%3Bpowershellbvt1%3Bpowershellbvt1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9yZWdpc3RlcmVkQ29udGFpbmVycy9pYWFzdm1jb250YWluZXIlM0Jwb3dlcnNoZWxsYnZ0MSUzQnBvd2Vyc2hlbGxidnQxL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQnBvd2Vyc2hlbGxidnQxJTNCcG93ZXJzaGVsbGJ2dDE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\"\r\n }\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
],
"Content-Length": [
- "204"
+ "205"
],
"Accept-Language": [
"en-us"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "\"2a2498dd-7916-46ae-b11c-7f9a59eb4e1f\"",
+ "ResponseBody": "\"cb78f383-104c-4d18-b240-526caf9a610f\"",
"ResponseHeaders": {
"Content-Length": [
"38"
@@ -216,29 +216,29 @@
"no-cache"
],
"x-ms-request-id": [
- "2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ "ae23e590-f6b0-400e-bba4-690d6573081c"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS",
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999998"
+ "1199"
],
"x-ms-correlation-request-id": [
- "2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ "ae23e590-f6b0-400e-bba4-690d6573081c"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094452Z:2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ "CENTRALUS:20150924T141149Z:ae23e590-f6b0-400e-bba4-690d6573081c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:44:52 GMT"
+ "Thu, 24 Sep 2015 14:11:48 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -250,8 +250,72 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/2a2498dd-7916-46ae-b11c-7f9a59eb4e1f?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMmEyNDk4ZGQtNzkxNi00NmFlLWIxMWMtN2Y5YTU5ZWI0ZTFmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/operationResults/cb78f383-104c-4d18-b240-526caf9a610f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9vcGVyYXRpb25SZXN1bHRzL2NiNzhmMzgzLTEwNGMtNGQxOC1iMjQwLTUyNmNhZjlhNjEwZj9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"0310712a-eda3-44b9-a06c-bd949f6dbce4\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4f8b7f5f-1531-4295-9a70-21a498b1875c"
+ ],
+ "x-ms-client-request-id": [
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS",
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f8b7f5f-1531-4295-9a70-21a498b1875c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150924T141150Z:4f8b7f5f-1531-4295-9a70-21a498b1875c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 24 Sep 2015 14:11:49 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/operationResults/cb78f383-104c-4d18-b240-526caf9a610f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9vcGVyYXRpb25SZXN1bHRzL2NiNzhmMzgzLTEwNGMtNGQxOC1iMjQwLTUyNmNhZjlhNjEwZj9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -259,13 +323,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"a9a103da-2f6c-41c9-8462-f4627facdddc\"\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"0310712a-eda3-44b9-a06c-bd949f6dbce4\"\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"106"
@@ -280,11 +344,11 @@
"no-cache"
],
"x-ms-request-id": [
- "b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ "542143b7-2c60-48b9-bb59-f7218fc7460e"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS",
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -293,16 +357,16 @@
"14991"
],
"x-ms-correlation-request-id": [
- "b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ "542143b7-2c60-48b9-bb59-f7218fc7460e"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094504Z:b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ "CENTRALUS:20150924T141200Z:542143b7-2c60-48b9-bb59-f7218fc7460e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:45:04 GMT"
+ "Thu, 24 Sep 2015 14:12:00 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -314,8 +378,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/a9a103da-2f6c-41c9-8462-f4627facdddc?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYTlhMTAzZGEtMmY2Yy00MWM5LTg0NjItZjQ2MjdmYWNkZGRjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/jobs/0310712a-eda3-44b9-a06c-bd949f6dbce4?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9qb2JzLzAzMTA3MTJhLWVkYTMtNDRiOS1hMDZjLWJkOTQ5ZjZkYmNlND9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -323,16 +387,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:44:53.0040851Z\",\r\n \"endTimestamp\": \"2015-08-14T09:44:55.3374369Z\",\r\n \"duration\": \"00:00:02.3333518\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"name\": \"a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"powershellbvt1\",\r\n \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-09-24T14:11:49.2905888Z\",\r\n \"endTimestamp\": \"2015-09-24T14:11:54.5337533Z\",\r\n \"duration\": \"00:00:05.2431645\",\r\n \"entityFriendlyName\": \"powershellbvt1\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/jobs/0310712a-eda3-44b9-a06c-bd949f6dbce4\",\r\n \"name\": \"0310712a-eda3-44b9-a06c-bd949f6dbce4\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "689"
+ "696"
],
"Content-Type": [
"application/json"
@@ -344,11 +408,11 @@
"no-cache"
],
"x-ms-request-id": [
- "4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ "44c1fc6c-3e7c-4c55-9b61-534b2adf4e4d"
],
"x-ms-client-request-id": [
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
- "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS",
+ "0475308e-7d36-408f-9815-a36dd27be9dc-2015-09-24 14:11:47Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -357,16 +421,16 @@
"14990"
],
"x-ms-correlation-request-id": [
- "4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ "44c1fc6c-3e7c-4c55-9b61-534b2adf4e4d"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T094505Z:4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ "CENTRALUS:20150924T141201Z:44c1fc6c-3e7c-4c55-9b61-534b2adf4e4d"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:45:04 GMT"
+ "Thu, 24 Sep 2015 14:12:01 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json
index 13d542f04368..13f1c0fa20b7 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectedItems?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectedItems?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0ZWRJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"Protected\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/e2epolicy1\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 1,\r\n \"lastRecoveryPoint\": \"2015-08-17T05:52:42.1219964Z\",\r\n \"lastBackupTime\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"lastBackupStatus\": \"Completed\",\r\n \"lastBackupJobId\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"IRPending\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer;powershellbvt1;powershellbvt1/protectedItems/DefaultPolicy\",\r\n \"policyInconsistent\": false,\r\n \"recoveryPointsCount\": 0,\r\n \"lastRecoveryPoint\": null,\r\n \"lastBackupTime\": null,\r\n \"lastBackupStatus\": null,\r\n \"lastBackupJobId\": null,\r\n \"friendlyName\": \"powershellbvt1\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer;powershellbvt1;powershellbvt1/protectedItems/iaasvmcontainer;powershellbvt1;powershellbvt1\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer;powershellbvt1;powershellbvt1/protectedItems/iaasvmcontainer;powershellbvt1;powershellbvt1\",\r\n \"name\": \"iaasvmcontainer;powershellbvt1;powershellbvt1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "28"
+ "1195"
],
"Content-Type": [
"application/json"
@@ -31,29 +31,29 @@
"no-cache"
],
"x-ms-request-id": [
- "ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ "5ed25b86-43df-4c5a-9b5f-910522b2ed9f"
],
"x-ms-client-request-id": [
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS",
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS",
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14995"
],
"x-ms-correlation-request-id": [
- "ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ "5ed25b86-43df-4c5a-9b5f-910522b2ed9f"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T085959Z:ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ "CENTRALUS:20150924T141335Z:5ed25b86-43df-4c5a-9b5f-910522b2ed9f"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 08:59:59 GMT"
+ "Thu, 24 Sep 2015 14:13:35 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -65,8 +65,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/items?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/items?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9pdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -74,16 +74,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/items\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"powershellbvt1\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer;powershellbvt1;powershellbvt1/items/iaasvmcontainer;powershellbvt1;powershellbvt1\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/registeredContainers/iaasvmcontainer;powershellbvt1;powershellbvt1/items/iaasvmcontainer;powershellbvt1;powershellbvt1\",\r\n \"name\": \"iaasvmcontainer;powershellbvt1;powershellbvt1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/items\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "28"
+ "748"
],
"Content-Type": [
"application/json"
@@ -95,29 +95,29 @@
"no-cache"
],
"x-ms-request-id": [
- "e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ "53a27628-ac15-4076-82e6-43230bb83b99"
],
"x-ms-client-request-id": [
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS",
- "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS",
+ "5c668e7e-4045-458c-979c-46578508c2d1-2015-09-24 14:13:32Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14994"
],
"x-ms-correlation-request-id": [
- "e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ "53a27628-ac15-4076-82e6-43230bb83b99"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T090000Z:e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ "CENTRALUS:20150924T141335Z:53a27628-ac15-4076-82e6-43230bb83b99"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 08:59:59 GMT"
+ "Thu, 24 Sep 2015 14:13:35 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json
index 745baf96cb2b..8857f72ace8c 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ "2d3ca3cc-3efd-4906-a667-8285093c29b6-2015-09-24 14:05:06Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
+ "14995"
],
"x-ms-request-id": [
- "0bcb6d55-4682-463f-9af2-d9539ae78070"
+ "3d7ba8da-0d7a-4b2b-afa4-70dfb13bf898"
],
"x-ms-correlation-request-id": [
- "0bcb6d55-4682-463f-9af2-d9539ae78070"
+ "3d7ba8da-0d7a-4b2b-afa4-70dfb13bf898"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092049Z:0bcb6d55-4682-463f-9af2-d9539ae78070"
+ "CENTRALUS:20150924T140508Z:3d7ba8da-0d7a-4b2b-afa4-70dfb13bf898"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:49 GMT"
+ "Thu, 24 Sep 2015 14:05:08 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ "2d3ca3cc-3efd-4906-a667-8285093c29b6-2015-09-24 14:05:06Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "108"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ "614f86ce-5caa-49e6-a298-776428157a2b"
],
"x-ms-client-request-id": [
- "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS",
- "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ "2d3ca3cc-3efd-4906-a667-8285093c29b6-2015-09-24 14:05:06Z-PS",
+ "2d3ca3cc-3efd-4906-a667-8285093c29b6-2015-09-24 14:05:06Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
+ "14994"
],
"x-ms-correlation-request-id": [
- "5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ "614f86ce-5caa-49e6-a298-776428157a2b"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092051Z:5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ "CENTRALUS:20150924T140509Z:614f86ce-5caa-49e6-a298-776428157a2b"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:50 GMT"
+ "Thu, 24 Sep 2015 14:05:09 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS"
+ "94d05904-d5bd-4524-bffe-b45c4a811a33-2015-09-24 14:05:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "e59893b1-b75a-4739-b921-f0958d17c049"
+ "cf261e02-b2ee-45d8-a315-29bb14c0d904"
],
"x-ms-client-request-id": [
- "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS",
- "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS"
+ "94d05904-d5bd-4524-bffe-b45c4a811a33-2015-09-24 14:05:09Z-PS",
+ "94d05904-d5bd-4524-bffe-b45c4a811a33-2015-09-24 14:05:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
+ "14996"
],
"x-ms-correlation-request-id": [
- "e59893b1-b75a-4739-b921-f0958d17c049"
+ "cf261e02-b2ee-45d8-a315-29bb14c0d904"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092054Z:e59893b1-b75a-4739-b921-f0958d17c049"
+ "CENTRALUS:20150924T140511Z:cf261e02-b2ee-45d8-a315-29bb14c0d904"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:53 GMT"
+ "Thu, 24 Sep 2015 14:05:11 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json
index 383411e5c14c..023e23054b09 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ "b1ebdc37-aa11-4e9d-92fa-d7fcef6a53e5-2015-09-24 14:03:52Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
+ "14997"
],
"x-ms-request-id": [
- "1baadc8d-0712-4111-aa87-8561e3721555"
+ "32ca9ef3-d6e6-4775-8a1b-af5ff31c58dd"
],
"x-ms-correlation-request-id": [
- "1baadc8d-0712-4111-aa87-8561e3721555"
+ "32ca9ef3-d6e6-4775-8a1b-af5ff31c58dd"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092225Z:1baadc8d-0712-4111-aa87-8561e3721555"
+ "CENTRALUS:20150924T140354Z:32ca9ef3-d6e6-4775-8a1b-af5ff31c58dd"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:22:25 GMT"
+ "Thu, 24 Sep 2015 14:03:53 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ "b1ebdc37-aa11-4e9d-92fa-d7fcef6a53e5-2015-09-24 14:03:52Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "108"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ "da1d3ff9-1314-4fe3-8379-17ac393932e5"
],
"x-ms-client-request-id": [
- "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS",
- "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ "b1ebdc37-aa11-4e9d-92fa-d7fcef6a53e5-2015-09-24 14:03:52Z-PS",
+ "b1ebdc37-aa11-4e9d-92fa-d7fcef6a53e5-2015-09-24 14:03:52Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
+ "14996"
],
"x-ms-correlation-request-id": [
- "2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ "da1d3ff9-1314-4fe3-8379-17ac393932e5"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092227Z:2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ "CENTRALUS:20150924T140355Z:da1d3ff9-1314-4fe3-8379-17ac393932e5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:22:27 GMT"
+ "Thu, 24 Sep 2015 14:03:54 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS"
+ "fb5eeabb-e1f4-4652-abfc-cbcb270cd657-2015-09-24 14:03:55Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ "5ed740f8-fdef-40ab-ab12-ca4256376f0c"
],
"x-ms-client-request-id": [
- "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS",
- "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS"
+ "fb5eeabb-e1f4-4652-abfc-cbcb270cd657-2015-09-24 14:03:55Z-PS",
+ "fb5eeabb-e1f4-4652-abfc-cbcb270cd657-2015-09-24 14:03:55Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
+ "14997"
],
"x-ms-correlation-request-id": [
- "5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ "5ed740f8-fdef-40ab-ab12-ca4256376f0c"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092230Z:5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ "CENTRALUS:20150924T140357Z:5ed740f8-fdef-40ab-ab12-ca4256376f0c"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:22:29 GMT"
+ "Thu, 24 Sep 2015 14:03:57 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json
index a5b9a98485cf..43d3b0c24f4e 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ "cca274f4-e728-4963-88fb-91a56f906aee-2015-09-24 13:58:56Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
+ "14999"
],
"x-ms-request-id": [
- "dc18d4de-e702-4d82-8408-795ffb0d6473"
+ "595fef0f-a971-4896-b10f-daa94fdeec3a"
],
"x-ms-correlation-request-id": [
- "dc18d4de-e702-4d82-8408-795ffb0d6473"
+ "595fef0f-a971-4896-b10f-daa94fdeec3a"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092001Z:dc18d4de-e702-4d82-8408-795ffb0d6473"
+ "CENTRALUS:20150924T135857Z:595fef0f-a971-4896-b10f-daa94fdeec3a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:01 GMT"
+ "Thu, 24 Sep 2015 13:58:57 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ "cca274f4-e728-4963-88fb-91a56f906aee-2015-09-24 13:58:56Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "108"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ "367f8e1f-322d-4d25-9617-fe14794ea14a"
],
"x-ms-client-request-id": [
- "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS",
- "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ "cca274f4-e728-4963-88fb-91a56f906aee-2015-09-24 13:58:56Z-PS",
+ "cca274f4-e728-4963-88fb-91a56f906aee-2015-09-24 13:58:56Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
+ "14998"
],
"x-ms-correlation-request-id": [
- "5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ "367f8e1f-322d-4d25-9617-fe14794ea14a"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092003Z:5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ "CENTRALUS:20150924T135858Z:367f8e1f-322d-4d25-9617-fe14794ea14a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:03 GMT"
+ "Thu, 24 Sep 2015 13:58:58 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "1420"
+ "671"
],
"Content-Type": [
"application/json"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ "1a8dd152-7418-4cc8-accc-9c14f71c0369"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS",
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
+ "14998"
],
"x-ms-correlation-request-id": [
- "0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ "1a8dd152-7418-4cc8-accc-9c14f71c0369"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092006Z:0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ "CENTRALUS:20150924T135900Z:1a8dd152-7418-4cc8-accc-9c14f71c0369"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:06 GMT"
+ "Thu, 24 Sep 2015 13:59:00 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,8 +180,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -189,16 +189,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -210,29 +210,29 @@
"no-cache"
],
"x-ms-request-id": [
- "a1222267-50bf-44b9-a3f8-504a2786a751"
+ "d7ace586-86e8-42ee-a697-37d911889394"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS",
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
+ "14997"
],
"x-ms-correlation-request-id": [
- "a1222267-50bf-44b9-a3f8-504a2786a751"
+ "d7ace586-86e8-42ee-a697-37d911889394"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092009Z:a1222267-50bf-44b9-a3f8-504a2786a751"
+ "CENTRALUS:20150924T135903Z:d7ace586-86e8-42ee-a697-37d911889394"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:09 GMT"
+ "Thu, 24 Sep 2015 13:59:02 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -244,8 +244,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXMvUG9saWN5MTA/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"properties\": {\r\n \"WorkloadType\": \"IaasVM\",\r\n \"PolicyName\": \"Policy10\",\r\n \"BackupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"LTRRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": \"Days\"\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n \"Monday\"\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n },\r\n \"PolicyName\": \"Policy10\"\r\n}",
"RequestHeaders": {
@@ -259,10 +259,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "\"00000000-0000-0000-0000-000000000000\"",
@@ -280,29 +280,29 @@
"no-cache"
],
"x-ms-request-id": [
- "14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ "0a4823ce-e640-4af8-a155-8294ee3c3b87"
],
"x-ms-client-request-id": [
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
- "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS",
+ "3318067d-f2df-4cde-a65d-378e6946f6b8-2015-09-24 13:58:58Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999998"
+ "1198"
],
"x-ms-correlation-request-id": [
- "14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ "0a4823ce-e640-4af8-a155-8294ee3c3b87"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092008Z:14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ "CENTRALUS:20150924T135902Z:0a4823ce-e640-4af8-a155-8294ee3c3b87"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:20:08 GMT"
+ "Thu, 24 Sep 2015 13:59:02 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json
index 3089181936ed..3655a5909b47 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ "e4e74bee-57a4-4be2-8247-0bf9bb2ade78-2015-09-24 14:08:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
+ "14988"
],
"x-ms-request-id": [
- "ff2189d9-508c-4932-9388-99bfdcb62a10"
+ "2fa5418e-a98e-4b5f-9390-a2e5d7d6578c"
],
"x-ms-correlation-request-id": [
- "ff2189d9-508c-4932-9388-99bfdcb62a10"
+ "2fa5418e-a98e-4b5f-9390-a2e5d7d6578c"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T091907Z:ff2189d9-508c-4932-9388-99bfdcb62a10"
+ "CENTRALUS:20150924T140810Z:2fa5418e-a98e-4b5f-9390-a2e5d7d6578c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:19:06 GMT"
+ "Thu, 24 Sep 2015 14:08:09 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ "e4e74bee-57a4-4be2-8247-0bf9bb2ade78-2015-09-24 14:08:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "108"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ "2d404fb3-3643-43c9-8a8d-fcb8476f4c64"
],
"x-ms-client-request-id": [
- "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS",
- "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ "e4e74bee-57a4-4be2-8247-0bf9bb2ade78-2015-09-24 14:08:09Z-PS",
+ "e4e74bee-57a4-4be2-8247-0bf9bb2ade78-2015-09-24 14:08:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
+ "14987"
],
"x-ms-correlation-request-id": [
- "23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ "2d404fb3-3643-43c9-8a8d-fcb8476f4c64"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T091908Z:23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ "CENTRALUS:20150924T140812Z:2d404fb3-3643-43c9-8a8d-fcb8476f4c64"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:19:08 GMT"
+ "Thu, 24 Sep 2015 14:08:12 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS"
+ "68b3148a-4b2a-4cb0-ab84-a4317c8f0c3a-2015-09-24 14:08:11Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/policy09-new\",\r\n \"name\": \"policy09-new\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "2163"
],
"Content-Type": [
"application/json"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "72ef315f-7f33-4813-b509-ebb80fed354c"
+ "87890174-54ea-4a52-a6d1-d9aebea76f94"
],
"x-ms-client-request-id": [
- "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS",
- "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS"
+ "68b3148a-4b2a-4cb0-ab84-a4317c8f0c3a-2015-09-24 14:08:11Z-PS",
+ "68b3148a-4b2a-4cb0-ab84-a4317c8f0c3a-2015-09-24 14:08:11Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14999"
],
"x-ms-correlation-request-id": [
- "72ef315f-7f33-4813-b509-ebb80fed354c"
+ "87890174-54ea-4a52-a6d1-d9aebea76f94"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T091911Z:72ef315f-7f33-4813-b509-ebb80fed354c"
+ "CENTRALUS:20150924T140814Z:87890174-54ea-4a52-a6d1-d9aebea76f94"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:19:11 GMT"
+ "Thu, 24 Sep 2015 14:08:13 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,8 +180,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -189,16 +189,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/policy09-new\",\r\n \"name\": \"policy09-new\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "2163"
],
"Content-Type": [
"application/json"
@@ -210,29 +210,29 @@
"no-cache"
],
"x-ms-request-id": [
- "0992e470-00b1-4587-91e8-3f40a047e9a5"
+ "a495ca75-ba76-4d6c-88cd-313f50fc6ed0"
],
"x-ms-client-request-id": [
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS",
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS",
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14998"
],
"x-ms-correlation-request-id": [
- "0992e470-00b1-4587-91e8-3f40a047e9a5"
+ "a495ca75-ba76-4d6c-88cd-313f50fc6ed0"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T091912Z:0992e470-00b1-4587-91e8-3f40a047e9a5"
+ "CENTRALUS:20150924T140814Z:a495ca75-ba76-4d6c-88cd-313f50fc6ed0"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:19:11 GMT"
+ "Thu, 24 Sep 2015 14:08:14 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -244,8 +244,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXMvUG9saWN5MTA/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -253,10 +253,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "",
@@ -271,29 +271,29 @@
"no-cache"
],
"x-ms-request-id": [
- "627e2039-97c8-4621-b6a4-443c780578b0"
+ "cb7bb993-2f0c-4e20-b5a1-f6d0da8f37c0"
],
"x-ms-client-request-id": [
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS",
- "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS",
+ "0bbd73fd-cd37-4ce0-b9ae-5c99ac959dc3-2015-09-24 14:08:14Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999999"
+ "1199"
],
"x-ms-correlation-request-id": [
- "627e2039-97c8-4621-b6a4-443c780578b0"
+ "cb7bb993-2f0c-4e20-b5a1-f6d0da8f37c0"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T091914Z:627e2039-97c8-4621-b6a4-443c780578b0"
+ "CENTRALUS:20150924T140816Z:cb7bb993-2f0c-4e20-b5a1-f6d0da8f37c0"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:19:13 GMT"
+ "Thu, 24 Sep 2015 14:08:16 GMT"
],
"X-Powered-By": [
"ASP.NET"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json
index a738ed34d259..d0a3e5621b9c 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ "17f96948-32df-41d2-9a58-4f9e822ddb6a-2015-09-24 14:06:02Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2\",\r\n \"name\": \"backuprn2\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "458"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14999"
],
"x-ms-request-id": [
- "9e581fad-4946-4366-97e5-c4596b0fb89b"
+ "ddb42a9a-d693-48dd-8370-f4db3d4d61e4"
],
"x-ms-correlation-request-id": [
- "9e581fad-4946-4366-97e5-c4596b0fb89b"
+ "ddb42a9a-d693-48dd-8370-f4db3d4d61e4"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092508Z:9e581fad-4946-4366-97e5-c4596b0fb89b"
+ "CENTRALUS:20150924T140604Z:ddb42a9a-d693-48dd-8370-f4db3d4d61e4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,14 +49,14 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:07 GMT"
+ "Thu, 24 Sep 2015 14:06:03 GMT"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ "17f96948-32df-41d2-9a58-4f9e822ddb6a-2015-09-24 14:06:02Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 7916423987828749042,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "108"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ "a5875e86-22c8-421d-90b2-28266cc62394"
],
"x-ms-client-request-id": [
- "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS",
- "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ "17f96948-32df-41d2-9a58-4f9e822ddb6a-2015-09-24 14:06:02Z-PS",
+ "17f96948-32df-41d2-9a58-4f9e822ddb6a-2015-09-24 14:06:02Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
+ "14998"
],
"x-ms-correlation-request-id": [
- "174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ "a5875e86-22c8-421d-90b2-28266cc62394"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092510Z:174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ "CENTRALUS:20150924T140606Z:a5875e86-22c8-421d-90b2-28266cc62394"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:10 GMT"
+ "Thu, 24 Sep 2015 14:06:06 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,16 +125,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS"
+ "aaf0cf85-c315-4dcb-8bb5-99f42228080d-2015-09-24 14:06:06Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "caab951a-739a-4cf5-b54e-30d48b298584"
+ "36f9f830-800b-4be4-820c-9b520cb54006"
],
"x-ms-client-request-id": [
- "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS",
- "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS"
+ "aaf0cf85-c315-4dcb-8bb5-99f42228080d-2015-09-24 14:06:06Z-PS",
+ "aaf0cf85-c315-4dcb-8bb5-99f42228080d-2015-09-24 14:06:06Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
+ "14993"
],
"x-ms-correlation-request-id": [
- "caab951a-739a-4cf5-b54e-30d48b298584"
+ "36f9f830-800b-4be4-820c-9b520cb54006"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092513Z:caab951a-739a-4cf5-b54e-30d48b298584"
+ "CENTRALUS:20150924T140608Z:36f9f830-800b-4be4-820c-9b520cb54006"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:12 GMT"
+ "Thu, 24 Sep 2015 14:06:07 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,8 +180,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -189,16 +189,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -210,29 +210,29 @@
"no-cache"
],
"x-ms-request-id": [
- "9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ "da504605-16ca-446c-b121-9eb0bad754c3"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS",
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
+ "14992"
],
"x-ms-correlation-request-id": [
- "9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ "da504605-16ca-446c-b121-9eb0bad754c3"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092514Z:9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ "CENTRALUS:20150924T140609Z:da504605-16ca-446c-b121-9eb0bad754c3"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:14 GMT"
+ "Thu, 24 Sep 2015 14:06:09 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -244,8 +244,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -253,16 +253,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-09-24T23:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "2159"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -274,29 +274,29 @@
"no-cache"
],
"x-ms-request-id": [
- "dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ "d11b1c3c-f0df-4103-be37-d421f3100067"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS",
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
+ "14991"
],
"x-ms-correlation-request-id": [
- "dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ "d11b1c3c-f0df-4103-be37-d421f3100067"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092515Z:dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ "CENTRALUS:20150924T140609Z:d11b1c3c-f0df-4103-be37-d421f3100067"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:15 GMT"
+ "Thu, 24 Sep 2015 14:06:09 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -308,8 +308,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/Policy10?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn2/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMi9wcm90ZWN0aW9uUG9saWNpZXMvUG9saWN5MTA/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": \"Days\"\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n \"Monday\"\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n }\r\n}",
"RequestHeaders": {
@@ -323,10 +323,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "\"00000000-0000-0000-0000-000000000000\"",
@@ -344,29 +344,29 @@
"no-cache"
],
"x-ms-request-id": [
- "4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ "21562435-e475-40db-a15b-93e6d77c132e"
],
"x-ms-client-request-id": [
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
- "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS",
+ "7d5c4f2a-d561-4616-bdb4-3ae98aec6c36-2015-09-24 14:06:08Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999999"
+ "1199"
],
"x-ms-correlation-request-id": [
- "4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ "21562435-e475-40db-a15b-93e6d77c132e"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T092517Z:4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ "CENTRALUS:20150924T140611Z:21562435-e475-40db-a15b-93e6d77c132e"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 09:25:16 GMT"
+ "Thu, 24 Sep 2015 14:06:11 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json
deleted file mode 100644
index 0b167f79fa2e..000000000000
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json
+++ /dev/null
@@ -1,7221 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n }\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "122"
- ],
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"231a484e-8cf6-421c-86d5-145bbdae0714\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "344"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d587b98a-cd0a-49ae-867f-5cf20f19d228"
- ],
- "x-ms-client-request-id": [
- "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "d587b98a-cd0a-49ae-867f-5cf20f19d228"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053834Z:d587b98a-cd0a-49ae-867f-5cf20f19d228"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:33 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"resourceId\": 8806790160982730560,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "408b28fc-d767-4986-9762-999a3c44e479"
- ],
- "x-ms-client-request-id": [
- "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS",
- "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
- ],
- "x-ms-correlation-request-id": [
- "408b28fc-d767-4986-9762-999a3c44e479"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053835Z:408b28fc-d767-4986-9762-999a3c44e479"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:35 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"resourceId\": 8806790160982730560,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "454c9964-0c58-489d-b40c-f500e6ad40a6"
- ],
- "x-ms-client-request-id": [
- "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS",
- "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
- ],
- "x-ms-correlation-request-id": [
- "454c9964-0c58-489d-b40c-f500e6ad40a6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053836Z:454c9964-0c58-489d-b40c-f500e6ad40a6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:36 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/bugbash1\",\r\n \"name\": \"bugbash1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "936"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
- ],
- "x-ms-request-id": [
- "ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
- ],
- "x-ms-correlation-request-id": [
- "ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053835Z:ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:35 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "be59b8c9-5b90-4afa-9757-178ef7a5b665-2015-08-17 06:33:38Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/bugbash1\",\r\n \"name\": \"bugbash1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "710"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
- ],
- "x-ms-request-id": [
- "b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
- ],
- "x-ms-correlation-request-id": [
- "b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063338Z:b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:38 GMT"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"NotRegistered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "609"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "8fb08551-691a-4b2e-bd2b-a5994a04053b"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
- ],
- "x-ms-correlation-request-id": [
- "8fb08551-691a-4b2e-bd2b-a5994a04053b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053839Z:8fb08551-691a-4b2e-bd2b-a5994a04053b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:38 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "606"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e0c9da71-63c4-4771-a3ae-e0206d444987"
- ],
- "x-ms-client-request-id": [
- "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS",
- "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
- ],
- "x-ms-correlation-request-id": [
- "e0c9da71-63c4-4771-a3ae-e0206d444987"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053920Z:e0c9da71-63c4-4771-a3ae-e0206d444987"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:20 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "x-ms-version": [
- "2013-03-01"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"91ff343f-2e98-43b1-8583-10d266f612ab\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7c7b18a4-5b20-4478-93c5-767e6b363a93"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "7c7b18a4-5b20-4478-93c5-767e6b363a93"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053840Z:7c7b18a4-5b20-4478-93c5-767e6b363a93"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:39 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/91ff343f-2e98-43b1-8583-10d266f612ab?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOTFmZjM0M2YtMmU5OC00M2IxLTg1ODMtMTBkMjY2ZjYxMmFiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"ab512e84-eca4-4028-aecf-1477898b68d1\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "107"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
- ],
- "x-ms-correlation-request-id": [
- "e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053841Z:e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:41 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:01.7361731\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "681"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "93b6f6f9-ef7b-4103-833b-0bec04df2c10"
- ],
- "x-ms-client-request-id": [
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
- "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
- ],
- "x-ms-correlation-request-id": [
- "93b6f6f9-ef7b-4103-833b-0bec04df2c10"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053841Z:93b6f6f9-ef7b-4103-833b-0bec04df2c10"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:41 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.5563104\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "681"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "35ff3e56-54b0-481f-a274-71d6f972a56a"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
- ],
- "x-ms-correlation-request-id": [
- "35ff3e56-54b0-481f-a274-71d6f972a56a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053842Z:35ff3e56-54b0-481f-a274-71d6f972a56a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:38:42 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
- ],
- "x-ms-correlation-request-id": [
- "12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053913Z:12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:12 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
- ],
- "x-ms-client-request-id": [
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
- "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
- ],
- "x-ms-correlation-request-id": [
- "fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053914Z:fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:14 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b56397cd-09cf-4df3-8c35-49240028724a"
- ],
- "x-ms-client-request-id": [
- "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS",
- "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
- ],
- "x-ms-correlation-request-id": [
- "b56397cd-09cf-4df3-8c35-49240028724a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053915Z:b56397cd-09cf-4df3-8c35-49240028724a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:14 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "670"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ca0008d5-b031-4876-883a-2f1977308f1d"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
- ],
- "x-ms-correlation-request-id": [
- "ca0008d5-b031-4876-883a-2f1977308f1d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053916Z:ca0008d5-b031-4876-883a-2f1977308f1d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:15 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"e2epolicy1\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": 1,\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionScheduleWeekly\": null,\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 3\r\n }\r\n },\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/e2epolicy1\",\r\n \"name\": \"e2epolicy1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1636"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
- ],
- "x-ms-correlation-request-id": [
- "cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053918Z:cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:17 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"e2epolicy1\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": 1,\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionScheduleWeekly\": null,\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 3\r\n }\r\n },\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/e2epolicy1\",\r\n \"name\": \"e2epolicy1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1636"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b01a697e-6f54-4219-b54f-50f14e01bc7d"
- ],
- "x-ms-client-request-id": [
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS",
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14948"
- ],
- "x-ms-correlation-request-id": [
- "b01a697e-6f54-4219-b54f-50f14e01bc7d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063331Z:b01a697e-6f54-4219-b54f-50f14e01bc7d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:31 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/e2epolicy1?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9lMmVwb2xpY3kxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"WorkloadType\": \"IaasVM\",\r\n \"PolicyName\": \"e2epolicy1\",\r\n \"BackupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"LTRRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": \"Days\"\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n \"Monday\"\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": \"Daily\",\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Months\"\r\n }\r\n }\r\n }\r\n },\r\n \"PolicyName\": \"e2epolicy1\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json"
- ],
- "Content-Length": [
- "1282"
- ],
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"00000000-0000-0000-0000-000000000000\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "98655805-9233-4b3d-bb86-e0d203e5815e"
- ],
- "x-ms-client-request-id": [
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
- "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "98655805-9233-4b3d-bb86-e0d203e5815e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053917Z:98655805-9233-4b3d-bb86-e0d203e5815e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:16 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/e2epolicy1\"\r\n }\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json"
- ],
- "Content-Length": [
- "201"
- ],
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b0378e0d-5a53-4da9-a48b-223472b79f64"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "b0378e0d-5a53-4da9-a48b-223472b79f64"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053922Z:b0378e0d-5a53-4da9-a48b-223472b79f64"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:21 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMGM2ZWM0ZjEtM2MwMi00OTlkLWIwY2UtMDNjNGI2ZDE5ZGYwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"45afe37c-d57f-45b6-bfd6-df4e176ec149\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "107"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7551607e-a758-4515-909d-0b202aab699e"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
- ],
- "x-ms-correlation-request-id": [
- "7551607e-a758-4515-909d-0b202aab699e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053923Z:7551607e-a758-4515-909d-0b202aab699e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:23 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMGM2ZWM0ZjEtM2MwMi00OTlkLWIwY2UtMDNjNGI2ZDE5ZGYwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"45afe37c-d57f-45b6-bfd6-df4e176ec149\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "faec9259-5775-48d1-9fe0-c8be6465aeeb"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
- ],
- "x-ms-correlation-request-id": [
- "faec9259-5775-48d1-9fe0-c8be6465aeeb"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053933Z:faec9259-5775-48d1-9fe0-c8be6465aeeb"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:33 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
- ],
- "x-ms-client-request-id": [
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
- "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
- ],
- "x-ms-correlation-request-id": [
- "58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053934Z:58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:34 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
- ],
- "x-ms-client-request-id": [
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS",
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
- ],
- "x-ms-correlation-request-id": [
- "06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053936Z:06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:36 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c8010b8e-2236-4180-9731-ddb5ed30d4f4"
- ],
- "x-ms-client-request-id": [
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS",
- "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
- ],
- "x-ms-correlation-request-id": [
- "c8010b8e-2236-4180-9731-ddb5ed30d4f4"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053937Z:c8010b8e-2236-4180-9731-ddb5ed30d4f4"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:36 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
- ],
- "x-ms-client-request-id": [
- "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS",
- "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14980"
- ],
- "x-ms-correlation-request-id": [
- "04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053937Z:04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:37 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectedItems?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"IRPending\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/e2epolicy1\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 0,\r\n \"lastRecoveryPoint\": null,\r\n \"lastBackupTime\": null,\r\n \"lastBackupStatus\": null,\r\n \"lastBackupJobId\": null,\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1175"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f54612e3-c591-4744-b4f2-1c3556f609c6"
- ],
- "x-ms-client-request-id": [
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS",
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14979"
- ],
- "x-ms-correlation-request-id": [
- "f54612e3-c591-4744-b4f2-1c3556f609c6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053938Z:f54612e3-c591-4744-b4f2-1c3556f609c6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:38 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectedItems?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"Protected\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/e2epolicy1\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 1,\r\n \"lastRecoveryPoint\": \"2015-08-17T05:52:42.1219964Z\",\r\n \"lastBackupTime\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"lastBackupStatus\": \"Completed\",\r\n \"lastBackupJobId\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1268"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "216776ab-d270-46a0-9885-f0434fff7f21"
- ],
- "x-ms-client-request-id": [
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS",
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
- ],
- "x-ms-correlation-request-id": [
- "216776ab-d270-46a0-9885-f0434fff7f21"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060612Z:216776ab-d270-46a0-9885-f0434fff7f21"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:12 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/items?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/items\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "735"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "46115179-2690-41e5-99e9-758db058a954"
- ],
- "x-ms-client-request-id": [
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS",
- "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14978"
- ],
- "x-ms-correlation-request-id": [
- "46115179-2690-41e5-99e9-758db058a954"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T053939Z:46115179-2690-41e5-99e9-758db058a954"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:39:38 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/items?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/items\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "735"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b66dca61-02e9-499d-a281-e3043af8dc27"
- ],
- "x-ms-client-request-id": [
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS",
- "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
- ],
- "x-ms-correlation-request-id": [
- "b66dca61-02e9-499d-a281-e3043af8dc27"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060613Z:b66dca61-02e9-499d-a281-e3043af8dc27"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:12 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/backup?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL2JhY2t1cD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"10028400-4e78-43ee-b5cc-5d116824d98b\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "051d6c91-8bec-4972-ac51-52ad7d983e9d"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "051d6c91-8bec-4972-ac51-52ad7d983e9d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055043Z:051d6c91-8bec-4972-ac51-52ad7d983e9d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:50:43 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/10028400-4e78-43ee-b5cc-5d116824d98b?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMTAwMjg0MDAtNGU3OC00M2VlLWI1Y2MtNWQxMTY4MjRkOThiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": []\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "69"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "27554f0f-1d97-4385-9bc8-3eb1ff75078a"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
- ],
- "x-ms-correlation-request-id": [
- "27554f0f-1d97-4385-9bc8-3eb1ff75078a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055044Z:27554f0f-1d97-4385-9bc8-3eb1ff75078a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:50:44 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/10028400-4e78-43ee-b5cc-5d116824d98b?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMTAwMjg0MDAtNGU3OC00M2VlLWI1Y2MtNWQxMTY4MjRkOThiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"bddc4349-d0b9-4ff0-9951-cba389d3a246\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "261905dc-8693-45e6-8ae9-627d3d6cc621"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
- ],
- "x-ms-correlation-request-id": [
- "261905dc-8693-45e6-8ae9-627d3d6cc621"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055055Z:261905dc-8693-45e6-8ae9-627d3d6cc621"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:50:54 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.1691257\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a963f352-e5c1-4702-acc8-77353fb1bc35"
- ],
- "x-ms-client-request-id": [
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
- "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
- ],
- "x-ms-correlation-request-id": [
- "a963f352-e5c1-4702-acc8-77353fb1bc35"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055056Z:a963f352-e5c1-4702-acc8-77353fb1bc35"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:50:56 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:14.3197154\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ea79fbc6-6761-4f71-b9fe-cb520061dce6"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
- ],
- "x-ms-correlation-request-id": [
- "ea79fbc6-6761-4f71-b9fe-cb520061dce6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055057Z:ea79fbc6-6761-4f71-b9fe-cb520061dce6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:50:57 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:08.9100505\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e291f7f7-bee0-45a3-9368-b33c1afe1d68"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14977"
- ],
- "x-ms-correlation-request-id": [
- "e291f7f7-bee0-45a3-9368-b33c1afe1d68"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055152Z:e291f7f7-bee0-45a3-9368-b33c1afe1d68"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:51:52 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:40.1794383\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6e298c46-68de-44bd-9049-91a0f73dfa6b"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14976"
- ],
- "x-ms-correlation-request-id": [
- "6e298c46-68de-44bd-9049-91a0f73dfa6b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055223Z:6e298c46-68de-44bd-9049-91a0f73dfa6b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:52:23 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:11.6156434\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "49fa3b62-85c4-4805-8936-d9248fcfbd02"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14975"
- ],
- "x-ms-correlation-request-id": [
- "49fa3b62-85c4-4805-8936-d9248fcfbd02"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055255Z:49fa3b62-85c4-4805-8936-d9248fcfbd02"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:52:54 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:43.0200962\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "dd0aa899-88ea-44dd-8b7c-83f69edc2475"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14974"
- ],
- "x-ms-correlation-request-id": [
- "dd0aa899-88ea-44dd-8b7c-83f69edc2475"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055326Z:dd0aa899-88ea-44dd-8b7c-83f69edc2475"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:53:26 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:14.2460878\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "919"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "1a57a003-7f71-4423-b4ee-4b4f80009fd5"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14973"
- ],
- "x-ms-correlation-request-id": [
- "1a57a003-7f71-4423-b4ee-4b4f80009fd5"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055357Z:1a57a003-7f71-4423-b4ee-4b4f80009fd5"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:53:57 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"NotStarted\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:45.4978621\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1076"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "8218bf55-2d08-42ee-ad0c-b0e4be071f11"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14972"
- ],
- "x-ms-correlation-request-id": [
- "8218bf55-2d08-42ee-ad0c-b0e4be071f11"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055429Z:8218bf55-2d08-42ee-ad0c-b0e4be071f11"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:54:29 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:16.7880435\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14971"
- ],
- "x-ms-correlation-request-id": [
- "188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055500Z:188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:55:00 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:48.1650150\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "8adcb97a-fb5e-44c7-ac56-01e3db67840a"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14970"
- ],
- "x-ms-correlation-request-id": [
- "8adcb97a-fb5e-44c7-ac56-01e3db67840a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055531Z:8adcb97a-fb5e-44c7-ac56-01e3db67840a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:55:31 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:19.4660333\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ceb162cf-0607-47be-a90d-1a3cc2b37591"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14969"
- ],
- "x-ms-correlation-request-id": [
- "ceb162cf-0607-47be-a90d-1a3cc2b37591"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055603Z:ceb162cf-0607-47be-a90d-1a3cc2b37591"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:56:02 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:50.6921638\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3ab06e37-20fc-4ae1-9925-60e8fe759907"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14968"
- ],
- "x-ms-correlation-request-id": [
- "3ab06e37-20fc-4ae1-9925-60e8fe759907"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055634Z:3ab06e37-20fc-4ae1-9925-60e8fe759907"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:56:34 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:21.9077274\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a20d2b33-265c-4d62-ae86-e801fcd462f8"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14967"
- ],
- "x-ms-correlation-request-id": [
- "a20d2b33-265c-4d62-ae86-e801fcd462f8"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055705Z:a20d2b33-265c-4d62-ae86-e801fcd462f8"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:57:04 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:53.1576542\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "12e4c743-bfe1-412e-a5d9-7e455f0e9274"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14966"
- ],
- "x-ms-correlation-request-id": [
- "12e4c743-bfe1-412e-a5d9-7e455f0e9274"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055736Z:12e4c743-bfe1-412e-a5d9-7e455f0e9274"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:57:36 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:24.4859149\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14965"
- ],
- "x-ms-correlation-request-id": [
- "85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055808Z:85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:58:08 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:55.8863365\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "8461ca01-a922-4fca-9be8-530e5696c262"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14964"
- ],
- "x-ms-correlation-request-id": [
- "8461ca01-a922-4fca-9be8-530e5696c262"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055839Z:8461ca01-a922-4fca-9be8-530e5696c262"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:58:39 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:27.2375978\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "800c21e8-39e7-40c0-a0c9-823b5cd36be6"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14963"
- ],
- "x-ms-correlation-request-id": [
- "800c21e8-39e7-40c0-a0c9-823b5cd36be6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055911Z:800c21e8-39e7-40c0-a0c9-823b5cd36be6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:59:10 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:58.6740147\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "904cad53-ead1-4ff8-b350-2401af2ffd23"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14962"
- ],
- "x-ms-correlation-request-id": [
- "904cad53-ead1-4ff8-b350-2401af2ffd23"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T055942Z:904cad53-ead1-4ff8-b350-2401af2ffd23"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 05:59:42 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:09:29.9420354\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4787bb21-cf8b-47c8-8897-b8e6e699981f"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14961"
- ],
- "x-ms-correlation-request-id": [
- "4787bb21-cf8b-47c8-8897-b8e6e699981f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060014Z:4787bb21-cf8b-47c8-8897-b8e6e699981f"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:00:14 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:02.0283870\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "fc9f376d-e41d-4262-910e-bb50b6215ca2"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14960"
- ],
- "x-ms-correlation-request-id": [
- "fc9f376d-e41d-4262-910e-bb50b6215ca2"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060045Z:fc9f376d-e41d-4262-910e-bb50b6215ca2"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:00:45 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:33.5538363\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14959"
- ],
- "x-ms-correlation-request-id": [
- "7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060117Z:7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:01:16 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:04.8426978\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7ffea935-c2b8-4655-879d-b7e27a6f2af0"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14958"
- ],
- "x-ms-correlation-request-id": [
- "7ffea935-c2b8-4655-879d-b7e27a6f2af0"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060148Z:7ffea935-c2b8-4655-879d-b7e27a6f2af0"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:01:48 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:36.2310118\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c29a4290-d647-4df7-8e94-0748a295446f"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14957"
- ],
- "x-ms-correlation-request-id": [
- "c29a4290-d647-4df7-8e94-0748a295446f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060219Z:c29a4290-d647-4df7-8e94-0748a295446f"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:02:19 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:07.5517918\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14956"
- ],
- "x-ms-correlation-request-id": [
- "a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060251Z:a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:02:50 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:38.8991188\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "319c436f-6a8f-4a72-be1d-d25043d61b9e"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14955"
- ],
- "x-ms-correlation-request-id": [
- "319c436f-6a8f-4a72-be1d-d25043d61b9e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060322Z:319c436f-6a8f-4a72-be1d-d25043d61b9e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:03:22 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:13:10.2871440\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e633a203-2079-4f94-8f8f-f3f20b31902f"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14954"
- ],
- "x-ms-correlation-request-id": [
- "e633a203-2079-4f94-8f8f-f3f20b31902f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060353Z:e633a203-2079-4f94-8f8f-f3f20b31902f"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:03:53 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:13:41.6188257\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ed009648-e2ae-4dbd-9383-bc58caf24685"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
- ],
- "x-ms-correlation-request-id": [
- "ed009648-e2ae-4dbd-9383-bc58caf24685"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060425Z:ed009648-e2ae-4dbd-9383-bc58caf24685"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:04:24 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"InProgress\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:14:17.9585248\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1075"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2d1596ef-de68-4087-9128-30118928d106"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14952"
- ],
- "x-ms-correlation-request-id": [
- "2d1596ef-de68-4087-9128-30118928d106"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060501Z:2d1596ef-de68-4087-9128-30118928d106"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:05:00 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "0fe01e2b-4734-4f14-9f72-08fae05c2072"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
- ],
- "x-ms-correlation-request-id": [
- "0fe01e2b-4734-4f14-9f72-08fae05c2072"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060609Z:0fe01e2b-4734-4f14-9f72-08fae05c2072"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:09 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "bb363f31-9696-4de2-b87e-faa1829c0f09"
- ],
- "x-ms-client-request-id": [
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
- "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
- ],
- "x-ms-correlation-request-id": [
- "bb363f31-9696-4de2-b87e-faa1829c0f09"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060610Z:bb363f31-9696-4de2-b87e-faa1829c0f09"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:09 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "1106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2572b3cc-96fe-4584-af29-7d12c7d6e6db"
- ],
- "x-ms-client-request-id": [
- "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS",
- "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
- ],
- "x-ms-correlation-request-id": [
- "2572b3cc-96fe-4584-af29-7d12c7d6e6db"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060611Z:2572b3cc-96fe-4584-af29-7d12c7d6e6db"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:11 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"recoveryPointType\": \"FileSystemConsistent\",\r\n \"recoveryPointTime\": \"2015-08-17T05:52:42.1219964Z\",\r\n \"recoveryPointAdditionalInfo\": \"\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm/recoveryPoints/15783492110316\",\r\n \"name\": \"15783492110316\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "569"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
- ],
- "x-ms-client-request-id": [
- "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS",
- "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
- ],
- "x-ms-correlation-request-id": [
- "7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060614Z:7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:14 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints/15783492110316/restore?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzE1NzgzNDkyMTEwMzE2L3Jlc3RvcmU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"properties\": {\r\n \"typeOfRecovery\": \"RestoreDisks\",\r\n \"recoveryDSTypeSpecificInputs\": \"{\\\"AffinityGroup\\\":\\\"\\\",\\\"CloudServiceName\\\":\\\"\\\",\\\"ContinueProtection\\\":false,\\\"CreateNewCloudService\\\":false,\\\"InputStorageAccountName\\\":\\\"e2estore\\\",\\\"Region\\\":\\\"southeastasia\\\",\\\"SubNetName\\\":null,\\\"TargetVNet\\\":null,\\\"VmName\\\":\\\"\\\"}\"\r\n }\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json"
- ],
- "Content-Length": [
- "344"
- ],
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"1ea8ad6f-2d56-444f-976c-8232287f17f1\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9ce06d32-b50f-40e4-8a5e-1145125aff07"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "9ce06d32-b50f-40e4-8a5e-1145125aff07"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060615Z:9ce06d32-b50f-40e4-8a5e-1145125aff07"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:15 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/1ea8ad6f-2d56-444f-976c-8232287f17f1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMWVhOGFkNmYtMmQ1Ni00NDRmLTk3NmMtODIzMjI4N2YxN2YxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": []\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "69"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
- ],
- "x-ms-correlation-request-id": [
- "1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060616Z:1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:16 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/1ea8ad6f-2d56-444f-976c-8232287f17f1?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMWVhOGFkNmYtMmQ1Ni00NDRmLTk3NmMtODIzMjI4N2YxN2YxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "852a61b4-4126-424c-bb59-6c4615e520d4"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
- ],
- "x-ms-correlation-request-id": [
- "852a61b4-4126-424c-bb59-6c4615e520d4"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060627Z:852a61b4-4126-424c-bb59-6c4615e520d4"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:27 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.2618203\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "5b003d1a-6819-44c3-820e-0bf954fe90cf"
- ],
- "x-ms-client-request-id": [
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
- "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
- ],
- "x-ms-correlation-request-id": [
- "5b003d1a-6819-44c3-820e-0bf954fe90cf"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060628Z:5b003d1a-6819-44c3-820e-0bf954fe90cf"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:28 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:14.3946026\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a7513923-1812-4a62-a91b-e4ef42612e32"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14980"
- ],
- "x-ms-correlation-request-id": [
- "a7513923-1812-4a62-a91b-e4ef42612e32"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060630Z:a7513923-1812-4a62-a91b-e4ef42612e32"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:06:30 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:06.4626910\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "69942c46-071e-4062-966a-c3770fc2250b"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
- ],
- "x-ms-correlation-request-id": [
- "69942c46-071e-4062-966a-c3770fc2250b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060722Z:69942c46-071e-4062-966a-c3770fc2250b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:07:22 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:37.6875076\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14988"
- ],
- "x-ms-correlation-request-id": [
- "c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060753Z:c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:07:53 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:08.8777955\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b8762111-dc45-416d-95e7-357853d2845d"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14987"
- ],
- "x-ms-correlation-request-id": [
- "b8762111-dc45-416d-95e7-357853d2845d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060824Z:b8762111-dc45-416d-95e7-357853d2845d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:08:24 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:40.2400185\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6f346400-8cb8-49ae-a368-ee286907c60d"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14986"
- ],
- "x-ms-correlation-request-id": [
- "6f346400-8cb8-49ae-a368-ee286907c60d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060855Z:6f346400-8cb8-49ae-a368-ee286907c60d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:08:55 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:11.5131664\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "fa565f82-bf4d-4428-8e09-3b2940b63fcf"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14985"
- ],
- "x-ms-correlation-request-id": [
- "fa565f82-bf4d-4428-8e09-3b2940b63fcf"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060927Z:fa565f82-bf4d-4428-8e09-3b2940b63fcf"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:09:27 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:42.8074135\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "dd3866ae-fc4d-4740-b92e-771b59439b07"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14984"
- ],
- "x-ms-correlation-request-id": [
- "dd3866ae-fc4d-4740-b92e-771b59439b07"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T060958Z:dd3866ae-fc4d-4740-b92e-771b59439b07"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:09:58 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:14.0451842\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "5e960fd7-4cda-484c-b12a-19184fbd6c65"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
- ],
- "x-ms-correlation-request-id": [
- "5e960fd7-4cda-484c-b12a-19184fbd6c65"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061029Z:5e960fd7-4cda-484c-b12a-19184fbd6c65"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:10:29 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:45.4148417\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "14b905f4-4de2-49f6-b51e-ba79d4bf3299"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
- ],
- "x-ms-correlation-request-id": [
- "14b905f4-4de2-49f6-b51e-ba79d4bf3299"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061101Z:14b905f4-4de2-49f6-b51e-ba79d4bf3299"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:11:01 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:16.6967242\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "777a0cdf-f406-441c-ba12-1006dde90c78"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
- ],
- "x-ms-correlation-request-id": [
- "777a0cdf-f406-441c-ba12-1006dde90c78"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061132Z:777a0cdf-f406-441c-ba12-1006dde90c78"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:11:32 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:47.9546662\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2239b42d-5d5c-4d3b-8585-e56f237c6237"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14980"
- ],
- "x-ms-correlation-request-id": [
- "2239b42d-5d5c-4d3b-8585-e56f237c6237"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061203Z:2239b42d-5d5c-4d3b-8585-e56f237c6237"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:12:03 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:19.1585811\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6d7f7468-18c2-483c-9ce9-459a51dd308b"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14979"
- ],
- "x-ms-correlation-request-id": [
- "6d7f7468-18c2-483c-9ce9-459a51dd308b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061234Z:6d7f7468-18c2-483c-9ce9-459a51dd308b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:12:34 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:50.3964636\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14978"
- ],
- "x-ms-correlation-request-id": [
- "82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061306Z:82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:13:05 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:21.6250840\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14977"
- ],
- "x-ms-correlation-request-id": [
- "fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061337Z:fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:13:36 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:52.9547000\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14976"
- ],
- "x-ms-correlation-request-id": [
- "b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061408Z:b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:14:08 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:24.1434922\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "51408c8e-94b8-49e6-9738-d661fda2c1d6"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14975"
- ],
- "x-ms-correlation-request-id": [
- "51408c8e-94b8-49e6-9738-d661fda2c1d6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061439Z:51408c8e-94b8-49e6-9738-d661fda2c1d6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:14:39 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:57.4990907\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061513Z:eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:15:12 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:01.8232840\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "bf21b20c-657f-4bde-b6c2-5ba26486d406"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14951"
- ],
- "x-ms-correlation-request-id": [
- "bf21b20c-657f-4bde-b6c2-5ba26486d406"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061617Z:bf21b20c-657f-4bde-b6c2-5ba26486d406"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:16:17 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:07.7888674\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4ef9fb2c-8eee-4d40-9068-bf785ae48866"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
- ],
- "x-ms-correlation-request-id": [
- "4ef9fb2c-8eee-4d40-9068-bf785ae48866"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061723Z:4ef9fb2c-8eee-4d40-9068-bf785ae48866"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:17:22 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:39.0306993\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "24ecc055-85d8-474c-abb3-5c131b012707"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
- ],
- "x-ms-correlation-request-id": [
- "24ecc055-85d8-474c-abb3-5c131b012707"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061754Z:24ecc055-85d8-474c-abb3-5c131b012707"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:17:54 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:10.3043175\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14980"
- ],
- "x-ms-correlation-request-id": [
- "6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061826Z:6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:18:25 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:41.5153240\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "688"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "37172358-38a5-47f9-a14d-557735ec429a"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14979"
- ],
- "x-ms-correlation-request-id": [
- "37172358-38a5-47f9-a14d-557735ec429a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061857Z:37172358-38a5-47f9-a14d-557735ec429a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:18:57 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "971"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14978"
- ],
- "x-ms-correlation-request-id": [
- "de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061928Z:de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:19:28 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "971"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
- ],
- "x-ms-client-request-id": [
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
- "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14977"
- ],
- "x-ms-correlation-request-id": [
- "ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061929Z:ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:19:28 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "971"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
- ],
- "x-ms-client-request-id": [
- "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS",
- "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14976"
- ],
- "x-ms-correlation-request-id": [
- "56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T061929Z:56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:19:29 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"4a024c33-9452-41f9-9eaa-7e17c816c5d9\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063033Z:3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:32 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/4a024c33-9452-41f9-9eaa-7e17c816c5d9?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvNGEwMjRjMzMtOTQ1Mi00MWY5LTllYWEtN2UxN2M4MTZjNWQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"ee0edebf-6274-4914-88ea-32c14f413b75\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "107"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a56a40c0-dcf9-424b-a2f1-1d080821cb74"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14970"
- ],
- "x-ms-correlation-request-id": [
- "a56a40c0-dcf9-424b-a2f1-1d080821cb74"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063033Z:a56a40c0-dcf9-424b-a2f1-1d080821cb74"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:32 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/4a024c33-9452-41f9-9eaa-7e17c816c5d9?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvNGEwMjRjMzMtOTQ1Mi00MWY5LTllYWEtN2UxN2M4MTZjNWQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"ee0edebf-6274-4914-88ea-32c14f413b75\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "106"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a6947c81-6790-4607-a96d-9125a1955513"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14969"
- ],
- "x-ms-correlation-request-id": [
- "a6947c81-6790-4607-a96d-9125a1955513"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063044Z:a6947c81-6790-4607-a96d-9125a1955513"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:44 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "717"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
- ],
- "x-ms-client-request-id": [
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
- "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14968"
- ],
- "x-ms-correlation-request-id": [
- "5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063045Z:5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:44 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "717"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "79cadee7-c45c-4c08-983a-73a745f380b6"
- ],
- "x-ms-client-request-id": [
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS",
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14967"
- ],
- "x-ms-correlation-request-id": [
- "79cadee7-c45c-4c08-983a-73a745f380b6"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063046Z:79cadee7-c45c-4c08-983a-73a745f380b6"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:46 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "717"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "81ae0932-610d-45c5-ad53-c371f15bdb6d"
- ],
- "x-ms-client-request-id": [
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS",
- "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14966"
- ],
- "x-ms-correlation-request-id": [
- "81ae0932-610d-45c5-ad53-c371f15bdb6d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063047Z:81ae0932-610d-45c5-ad53-c371f15bdb6d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:46 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "717"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
- ],
- "x-ms-client-request-id": [
- "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS",
- "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14965"
- ],
- "x-ms-correlation-request-id": [
- "e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063048Z:e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:48 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "\"3fe49d16-484a-4c05-a625-3cc4234083c4\"",
- "ResponseHeaders": {
- "Content-Length": [
- "38"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
- ],
- "x-ms-correlation-request-id": [
- "e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063049Z:e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:49 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/3fe49d16-484a-4c05-a625-3cc4234083c4?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvM2ZlNDlkMTYtNDg0YS00YzA1LWE2MjUtM2NjNDIzNDA4M2M0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"9b1370cb-db81-4472-8aec-5e601159fd55\"\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "107"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "03836e2f-b733-4bb6-abc7-b796edbf9e3f"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14964"
- ],
- "x-ms-correlation-request-id": [
- "03836e2f-b733-4bb6-abc7-b796edbf9e3f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063050Z:03836e2f-b733-4bb6-abc7-b796edbf9e3f"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:49 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.0134483\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "08303a76-8559-4b92-81ea-54c12e8152e3"
- ],
- "x-ms-client-request-id": [
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
- "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14963"
- ],
- "x-ms-correlation-request-id": [
- "08303a76-8559-4b92-81ea-54c12e8152e3"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063051Z:08303a76-8559-4b92-81ea-54c12e8152e3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:50 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.8220840\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14961"
- ],
- "x-ms-correlation-request-id": [
- "63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063051Z:63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:30:51 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:33.6646275\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14958"
- ],
- "x-ms-correlation-request-id": [
- "d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063122Z:d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:31:22 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:04.4930686\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7434927e-0432-4f28-a139-5d2e504a08f9"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14957"
- ],
- "x-ms-correlation-request-id": [
- "7434927e-0432-4f28-a139-5d2e504a08f9"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063153Z:7434927e-0432-4f28-a139-5d2e504a08f9"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:31:53 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:35.3255512\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4d802c74-60b5-4a21-8cc5-1d605c701c6d"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14956"
- ],
- "x-ms-correlation-request-id": [
- "4d802c74-60b5-4a21-8cc5-1d605c701c6d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063224Z:4d802c74-60b5-4a21-8cc5-1d605c701c6d"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:32:24 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:06.2148671\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "683"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "51ebee18-991d-493c-9bac-c28ccb8dcfa1"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
- ],
- "x-ms-correlation-request-id": [
- "51ebee18-991d-493c-9bac-c28ccb8dcfa1"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063255Z:51ebee18-991d-493c-9bac-c28ccb8dcfa1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:32:54 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14952"
- ],
- "x-ms-correlation-request-id": [
- "4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063326Z:4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:26 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e017be24-e2f2-4012-958e-f75e47dd0130"
- ],
- "x-ms-client-request-id": [
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
- "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14951"
- ],
- "x-ms-correlation-request-id": [
- "e017be24-e2f2-4012-958e-f75e47dd0130"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063327Z:e017be24-e2f2-4012-958e-f75e47dd0130"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:26 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "690"
- ],
- "Content-Type": [
- "application/json"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a4f594e9-e486-49a3-af60-b8df74b8019b"
- ],
- "x-ms-client-request-id": [
- "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS",
- "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14950"
- ],
- "x-ms-correlation-request-id": [
- "a4f594e9-e486-49a3-af60-b8df74b8019b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063330Z:a4f594e9-e486-49a3-af60-b8df74b8019b"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:29 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.0"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/e2epolicy1?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9lMmVwb2xpY3kxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "53ae9298-283f-4f9f-ba7b-73bc857e99d5"
- ],
- "x-ms-client-request-id": [
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS",
- "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
- ],
- "x-ms-correlation-request-id": [
- "53ae9298-283f-4f9f-ba7b-73bc857e99d5"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063333Z:53ae9298-283f-4f9f-ba7b-73bc857e99d5"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:32 GMT"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ]
- },
- "StatusCode": 204
- },
- {
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "Accept-Language": [
- "en-us"
- ],
- "x-ms-client-request-id": [
- "1fc7e125-10c4-49c0-b86a-33b16dc07992-2015-08-17 06:33:33Z-PS"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
- ],
- "x-ms-client-request-id": [
- "1fc7e125-10c4-49c0-b86a-33b16dc07992-2015-08-17 06:33:33Z-PS"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20150817T063338Z:23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 17 Aug 2015 06:33:38 GMT"
- ]
- },
- "StatusCode": 200
- }
- ],
- "Names": {},
- "Variables": {
- "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
- }
-}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
index 0b57d52d9656..24eeae4af6aa 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
@@ -2,7 +2,7 @@
-
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
index 17f92b3a7ecb..2ed6bd82fbab 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
@@ -24,51 +24,51 @@ internal static class AzureBackupCmdletHelpMessage
public const string RetentionType = "Unit of retention for the recovery point.";
public const string RententionDuration = "Specifies how long a recovery point will be retained, for a given RetentionType.";
- /* Get-AzureRMBackupVault */
+ /* Get-AzureRmBackupVault */
public const string ResourceGroupName = "The ResourceGroup in which the Azure resource is placed.";
public const string ResourceName = "The name of the Azure resource.";
- /* New-AzureRMBackupVault */
+ /* New-AzureRmBackupVault */
//public const string ResourceGroupName
//public const string ResourceName
public const string Location = "The Azure region where the Backup vault is located.";
public const string StorageType = "The storage redundancy for the backup data stored in the vault. The currently supported storage redundancy options are Locally Redundant Storage (LRS) and Geo-Redundant Storage (GRS).";
- /* Set-AzureRMBackupVault */
+ /* Set-AzureRmBackupVault */
//public const string Vault
//public const string StorageType
- /* Get-AzureRMBackupVaultCredentials */
+ /* Get-AzureRmBackupVaultCredentials */
//public const string Vault
public const string TargetLocation = "The directory where the vault credentials file will be saved. This must be specified as an absolute path.";
- /* Get-AzureRMBackupContainer */
+ /* Get-AzureRmBackupContainer */
public const string ManagedResourceName = "The name of the resource being managed by the Azure Backup service (for example: resource name of the VM).";
public const string ManagedResourceGroupName = "The ResourceGroup of the resource being managed by the Azure Backup service (for example: ResourceGroup name of the VM).";
public const string ContainerRegistrationStatus = "The registration status of the Azure Backup container.";
public const string ContainerType = "The type of the Azure Backup container. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server.";
//public const string Vault
- /* Get-AzureRMBackupItem */
+ /* Get-AzureRmBackupItem */
public const string AzureBackupContainer = "The Azure Backup container object which is the parent resource for the Azure Backup Item. The container can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server.";
public const string ProtectionStatus = "Protection Status of the azure backup item.";
public const string Status = "Status of Azure Backup Item";
public const string Type = "Type of Azure Backup Item.";
- /* Enable-AzureRMBackupProtection */
+ /* Enable-AzureRmBackupProtection */
public const string AzureBackupItemEnable = "The Azure Backup item that is being enabled for protection.";
public const string PolicyObject = "The Protection Policy object that contains all the scheduling information for backup and retention. This policy will be associated with the backup item provided as input.";
- /* Enable-AzureRMBackupContainerReregistration */
- public const string AzureBackupContainerToReregister = "The Azure Backup container to be unregistered. For this commandlet, the container cannot be of type AzureVM. Use the Get-AzureRMBackupContainer to get a list of containers.";
+ /* Enable-AzureRmBackupContainerReregistration */
+ public const string AzureBackupContainerToReregister = "The Azure Backup container to be unregistered. For this commandlet, the container cannot be of type AzureVM. Use the Get-AzureRmBackupContainer to get a list of containers.";
- /* Disable-AzureRMBackupProtection */
+ /* Disable-AzureRmBackupProtection */
public const string RemoveProtectionOption = "If this option is used, all the backup data for this item will also be deleted and restoring data will not be possible.";
public const string AzureBackupItemDisable = "Azure Backup item for which the protection is being disabled.";
public const string Reason = "User-specified reason for removing protection.";
public const string Comments = "User-specified comments provided at the time of removing protection.";
- /* Get-AzureRMBackupJob */
+ /* Get-AzureRmBackupJob */
public const string JobFilterJobIdHelpMessage = "The unique identifier is used as a filtering criterion. It provides details to fetch the latest information about a job.";
public const string JobFilterJobHelpMessage = "The job object is used as a filtering criterion. It provides details to fetch the latest information about a job.";
public const string JobFilterStartTimeHelpMessage = "For the time range that is used as a filtering critetion, this parameter provides the starting boundary.";
@@ -78,32 +78,32 @@ internal static class AzureBackupCmdletHelpMessage
public const string JobFitlerVaultHelpMessage = "The Azure Backup vault which is the parent of the jobs being queried. This is needed only when the -Job parameter is not being used.";
public const string JobFilterTypeHelpMessage = "The type of workload is used as a filtering criterion.";
- /* Get-AzureRMBackupJobDetails */
+ /* Get-AzureRmBackupJobDetails */
public const string JobDetailsFilterJobIdHelpMessage = "The unique identifier for the job whose full details are being requested";
public const string JobDetailsFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job";
public const string JobDetailsFilterJobHelpMessage = "The object that represents the job whose full details are being requested";
- /* Stop-AzureRMBackupJob */
+ /* Stop-AzureRmBackupJob */
public const string StopJobFilterJobIdHelpMessage = "The unique identifier for the job that needs to be stopped";
public const string StopJobFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job";
public const string StopJobFilterJobHelpMessage = "The object that represents the job that needs be stopped";
- /* Wait-AzureRMBackupJob */
+ /* Wait-AzureRmBackupJob */
public const string WaitJobFilterJobIdHelpMessage = "The unique identifier for the job on which the commandlet will wait for completion";
public const string WaitJobFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job";
public const string WaitJobFilterJobHelpMessage = "The object that represents the job on which the commandlet will wait for completion";
public const string WaitJobFilterTimeoutHelpMessage = "If the commandlet should not wait infinitely for the job to finish, then this timeout value needs to be specified. The parameter specifies the maximum number of seconds for which the commandlet should wait before returning.";
- /* Register-AzureRMBackupContainer */
+ /* Register-AzureRmBackupContainer */
public const string VMName = "The name of the Azure VM that will be registered with the service.";
public const string ServiceName = "The Cloud Service name of Azure VM";
public const string RGName = "The ResourceGroup name of Azure VM";
public const string Vault = "The Azure Backup vault object which is the parent resource.";
- /* Unregister-AzureRMBackupContainer */
- public const string AzureBackupContainerToUnregister = "The Azure Backup container to be unregistered. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server. Use the Get-AzureRMBackupContainer to get a list of containers.";
+ /* Unregister-AzureRmBackupContainer */
+ public const string AzureBackupContainerToUnregister = "The Azure Backup container to be unregistered. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server. Use the Get-AzureRmBackupContainer to get a list of containers.";
- /* New-AzureRMBackupProtectionPolicy */
+ /* New-AzureRmBackupProtectionPolicy */
public const string PolicyName = "The name of the Azure Backup protection policy. The name of the policy should be unique within a backup vault";
public const string WorkloadType = "Workload type for which the protection policy is defined.";
public const string DailyScheduleType = "Switch parameter to choose a daily backup schedule.";
@@ -113,11 +113,11 @@ internal static class AzureBackupCmdletHelpMessage
public const string RetentionPolicyList = "List of Retention Policies to be associated with protection policy. You can use a combination of Daily, Weekly, Monthly, and Yearly retention policies but not more than 1 of each.";
public const string PolicyVault = "The Azure Backup vault which is the parent resource for the protection policy.";
- /* Set-AzureRMBackupProtectionPolicy */
+ /* Set-AzureRmBackupProtectionPolicy */
public const string PolicyNewName = "The new name to be given to this policy. Note that the policy name is unique to a backup vault and you need to ensure that you pick a name that does not conflict with existing names.";
public const string AzureBackupPolicy = "Azure Backup protection policy object that contains the complete policy information.";
- /* New-AzureRMBackupRetentionPolicyObject */
+ /* New-AzureRmBackupRetentionPolicyObject */
public const string DailyRetention = "Switch paramater to signal that this policy is being used for Daily Retention";
public const string WeeklyRetention = "Switch parameter to signal that this policy is being used for Weekly Retention";
public const string MonthlyRetentionInDailyFormat = "Allows the user to specify the Monthly retention policy based on specific days of the month";
@@ -130,15 +130,15 @@ internal static class AzureBackupCmdletHelpMessage
public const string MonthsOfYear = "Specifies the months of the year that will be used in the policy";
public const string Retention = "Specifies the duration of the retention policy";
- /* Backup-AzureRMBackupItem */
+ /* Backup-AzureRmBackupItem */
public const string AzureBackupItem = "The Azure Backup item that is being configured for backup.";
- /* Get-AzureRMBackupRecoveryPoint */
+ /* Get-AzureRmBackupRecoveryPoint */
public const string AzureBackupItemGet = "The Azure Backup item for which the recovery points are being fetched.";
public const string RecoveryPointId = "The unique identifier for the recovery point that is being fetched.";
- /* Restore-AzureRMBackupItem */
- public const string AzureBackUpRecoveryPoint = "The PowerShell object that refers to the recovery point. Use Get-AzureRMBackupRecoveryPoint to get the PowerShell object to be used as input to this commandlet.";
+ /* Restore-AzureRmBackupItem */
+ public const string AzureBackUpRecoveryPoint = "The PowerShell object that refers to the recovery point. Use Get-AzureRmBackupRecoveryPoint to get the PowerShell object to be used as input to this commandlet.";
public const string StorageAccountName = "The destination storage account where the restored disks and config information will be stored.";
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs
index 960219133a41..b1a11076edad 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Backup Azue Backup Item
///
- [Cmdlet(VerbsData.Backup, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsData.Backup, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupJob))]
public class BackupAzureRMBackupItem : AzureRMBackupDSCmdletBase
{
protected override void ProcessRecord()
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
index 4fd3110bdfbf..7918dc778980 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
@@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Enables reregistration of a machine container
///
- [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupContainerReregistration")]
+ [Cmdlet(VerbsLifecycle.Enable, "AzureRmBackupContainerReregistration")]
public class EnableAzureRMBackupContainerReregistration : AzureBackupContainerCmdletBase
{
protected override void ProcessRecord()
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs
index d3f8023cbd3c..35c2d8e30b15 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of containers
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupContainer"), OutputType(typeof(List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupContainer"), OutputType(typeof(List))]
public class GetAzureRMBackupContainer : AzureBackupVaultCmdletBase
{
[Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceName)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
index 60b2bba83617..9c1b8acec165 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
@@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of containers
///
- [Cmdlet(VerbsLifecycle.Register, "AzureRMBackupContainer"), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsLifecycle.Register, "AzureRmBackupContainer"), OutputType(typeof(AzureRMBackupJob))]
public class RegisterAzureRMBackupContainer : AzureBackupVaultCmdletBase
{
internal const string V1VMParameterSet = "V1VM";
@@ -176,7 +176,7 @@ private bool IsDiscoveryNeeded(string vmName, string rgName, out CSMContainerRes
else
{
//We can have multiple container with same friendly name.
- container = containers.Where(c => ContainerHelpers.GetRGNameFromId(c.Properties.ParentContainerId).Equals(rgName.ToLower())).FirstOrDefault(); //TODO need to change.
+ container = containers.Where(c => ContainerHelpers.GetRGNameFromId(c.Properties.ParentContainerId).Equals(rgName, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
if (container == null)
{
//Container is not in list of registered container
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
index cb6d6d6d3b19..fd3bf7d509f4 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of containers
///
- [Cmdlet(VerbsLifecycle.Unregister, "AzureRMBackupContainer")]
+ [Cmdlet(VerbsLifecycle.Unregister, "AzureRmBackupContainer")]
public class UnregisterAzureRMBackupContainer : AzureBackupContainerCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = "Confirm unregistration and deletion of server")]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs
index 750de6953a4d..a1366f956137 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets.DataSource
///
/// Disable Azure Backup protection
///
- [Cmdlet(VerbsLifecycle.Disable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsLifecycle.Disable, "AzureRmBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
public class DisableAzureRMBackupProtection : AzureRMBackupDSCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RemoveProtectionOption)]
@@ -38,41 +38,52 @@ public SwitchParameter RemoveRecoveryPoints
get { return DeleteBackupData; }
set { DeleteBackupData = value; }
}
+
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
private bool DeleteBackupData;
protected override void ProcessRecord()
{
- ExecutionBlock(() =>
- {
- base.ProcessRecord();
- Guid operationId = Guid.Empty;
- WriteDebug(Resources.MakingClientCall);
-
- if (!this.DeleteBackupData)
+ ConfirmAction(
+ Force.IsPresent,
+ string.Format(Resources.DisableProtectionWarning, Item.Name),
+ Resources.DisableProtectionMessage,
+ Item.Name, () =>
{
- //Calling update protection with policy Id as empty.
- CSMUpdateProtectionRequest input = new CSMUpdateProtectionRequest()
+ ExecutionBlock(() =>
{
- Properties = new CSMUpdateProtectionRequestProperties(string.Empty)
- };
+ base.ProcessRecord();
+ Guid operationId = Guid.Empty;
+ WriteDebug(Resources.MakingClientCall);
- operationId = AzureBackupClient.UpdateProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName, input);
- }
+ if (!this.DeleteBackupData)
+ {
+ //Calling update protection with policy Id as empty.
+ CSMUpdateProtectionRequest input = new CSMUpdateProtectionRequest()
+ {
+ Properties = new CSMUpdateProtectionRequestProperties(string.Empty)
+ };
- else
- {
- //Calling disable protection
- operationId = AzureBackupClient.DisableProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName);
- }
+ operationId = AzureBackupClient.UpdateProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName, input);
+ }
+
+ else
+ {
+ //Calling disable protection
+ operationId = AzureBackupClient.DisableProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName);
+ }
- WriteDebug(Resources.DisableAzureBackupProtection);
- var operationStatus = TrackOperation(Item.ResourceGroupName, Item.ResourceName, operationId);
- this.WriteObject(GetCreatedJobs(Item.ResourceGroupName,
- Item.ResourceName,
- new Models.AzureRMBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location),
- operationStatus.JobList).FirstOrDefault());
- });
+ WriteDebug(Resources.DisableAzureBackupProtection);
+ var operationStatus = TrackOperation(Item.ResourceGroupName, Item.ResourceName, operationId);
+ this.WriteObject(GetCreatedJobs(Item.ResourceGroupName,
+ Item.ResourceName,
+ new Models.AzureRMBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location),
+ operationStatus.JobList).FirstOrDefault());
+ });
+ });
}
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs
index fad8255009f3..ce96fbf80633 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Enable Azure Backup protection
///
- [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsLifecycle.Enable, "AzureRmBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
public class EnableAzureRMBackupProtection : AzureRMBackupItemCmdletBase
{
[Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyObject)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs
index a142f15f138f..241e438d0b65 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of azure backup items
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupItem), typeof(List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupItem), typeof(List))]
public class GetAzureRMBackupItem : AzureBackupContainerCmdletBase
{
[Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ProtectionStatus)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs
index 2e3f297ac8e7..3502b14be3e2 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs
@@ -13,6 +13,7 @@
// ----------------------------------------------------------------------------------
using System;
+using System.Globalization;
using System.Management.Automation;
using System.Collections.Generic;
using System.Xml;
@@ -28,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of jobs pertaining to the filters specified. Gets list of all jobs created in the last 24 hours if no filters are specified.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
public class GetAzureRMBackupJob : AzureBackupCmdletBase
{
[Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "FiltersSet", ValueFromPipeline = true)]
@@ -132,8 +133,9 @@ protected override void ProcessRecord()
To = DateTime.UtcNow;
}
- WriteDebug(String.Format(Resources.StartTimeFilter, System.Uri.EscapeDataString(From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))));
- WriteDebug(String.Format(Resources.EndTimeFilter, System.Uri.EscapeDataString(To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))));
+ DateTimeFormatInfo format = new CultureInfo("en-US").DateTimeFormat;
+ WriteDebug(String.Format(Resources.StartTimeFilter, System.Uri.EscapeDataString(From.Value.ToString("yyyy-MM-dd hh:mm:ss tt", format))));
+ WriteDebug(String.Format(Resources.EndTimeFilter, System.Uri.EscapeDataString(To.Value.ToString("yyyy-MM-dd hh:mm:ss tt", format))));
WriteDebug(String.Format(Resources.OperationFilter, Operation));
WriteDebug(String.Format(Resources.StatusFilter, Status));
WriteDebug(String.Format(Resources.TypeFilter, Type));
@@ -141,8 +143,9 @@ protected override void ProcessRecord()
Mgmt.CSMJobQueryObject queryParams = new Mgmt.CSMJobQueryObject()
{
- StartTime = From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"),
- EndTime = To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"),
+
+ StartTime = From.Value.ToString("yyyy-MM-dd hh:mm:ss tt", format),
+ EndTime = To.Value.ToString("yyyy-MM-dd hh:mm:ss tt", format),
Operation = Operation,
Status = Status,
WorkloadType = Type,
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs
index 007c21106453..5dcb9f25f426 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get full details of a job
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))]
public class GetAzureRMBackupJobDetils : AzureBackupCmdletBase
{
[Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs
index 2357f8b33ae3..ac2ba5927d21 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Stop a running cancellable job
///
- [Cmdlet("Stop", "AzureRMBackupJob")]
+ [Cmdlet("Stop", "AzureRmBackupJob")]
public class StopAzureRMBackupJob : AzureBackupCmdletBase
{
[Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs
index 7660b632022c..d8b53c90404c 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs
@@ -23,7 +23,7 @@
namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
{
- [Cmdlet("Wait", "AzureRMBackupJob"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
+ [Cmdlet("Wait", "AzureRmBackupJob"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
public class WaitAzureRMBackupJob : AzureBackupCmdletBase
{
[Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterJobHelpMessage, ValueFromPipeline = true)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs
index 6466cde23e0a..b8f606a9f54a 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of protection policies
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy), typeof(List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy), typeof(List))]
public class GetAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs
index 7e3db41bc1d0..d890a994aca1 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Create new protection policy
///
- [Cmdlet(VerbsCommon.New, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))]
+ [Cmdlet(VerbsCommon.New, "AzureRmBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))]
public class NewAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
{
protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet";
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs
index 1a1d98aafa4f..42f26507bfa0 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Create new retention policy object.
///
- [Cmdlet(VerbsCommon.New, "AzureRMBackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy), typeof(List))]
+ [Cmdlet(VerbsCommon.New, "AzureRmBackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy), typeof(List))]
public class NewAzureRMBackupRetentionPolicyObject : AzureBackupCmdletBase
{
protected const string DailyRetentionParamSet = "DailyRetentionParamSet";
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
index a1e0712d986c..c8341621a709 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
@@ -26,29 +26,40 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Remove a protection policy
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMBackupProtectionPolicy")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmBackupProtectionPolicy")]
public class RemoveAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
{
+ [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
protected override void ProcessRecord()
{
- ExecutionBlock(() =>
- {
- base.ProcessRecord();
+ ConfirmAction(
+ Force.IsPresent,
+ string.Format(Resources.RemoveProtectionPolicyWarning, ProtectionPolicy.Name),
+ Resources.RemoveProtectionPolicyMessage,
+ ProtectionPolicy.Name, () =>
+ {
+ ExecutionBlock(() =>
+ {
+ base.ProcessRecord();
+
+ WriteDebug(Resources.MakingClientCall);
- WriteDebug(Resources.MakingClientCall);
+ var policyInfo = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Name);
+ if (policyInfo != null)
+ {
+ AzureBackupClient.DeleteProtectionPolicy(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, policyInfo.Name);
+ WriteDebug(Resources.ProtectionPolicyDeleted);
+ }
+ else
+ {
+ var exception = new ArgumentException(string.Format(Resources.PolicyNotFound, ProtectionPolicy.Name));
+ throw exception;
+ }
+ });
- var policyInfo = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Name);
- if (policyInfo != null)
- {
- AzureBackupClient.DeleteProtectionPolicy(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, policyInfo.Name);
- WriteDebug(Resources.ProtectionPolicyDeleted);
- }
- else
- {
- var exception = new ArgumentException(string.Format(Resources.PolicyNotFound, ProtectionPolicy.Name));
- throw exception;
- }
- });
+ });
}
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs
index 8dafba3fe20a..a103fee9f7be 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Update existing protection policy
///
- [Cmdlet(VerbsCommon.Set, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob), typeof(IList))]
+ [Cmdlet(VerbsCommon.Set, "AzureRmBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob), typeof(IList))]
public class SetAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
{
protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet";
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs
index d792dcf25c21..da8a68123875 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of Azure Recovery Points
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint), typeof(List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint), typeof(List))]
public class GetAzureRMBackupRecoveryPoint : AzureRMBackupDSCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RecoveryPointId)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs
index 128ef94e3f0c..7344a6e9f735 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Restore Azure Backup Item
///
- [Cmdlet(VerbsData.Restore, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsData.Restore, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupJob))]
public class RestoreAzureRMBackupItem : AzureBackupRestoreBase
{
[Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StorageAccountName)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
index 90e2529f7d05..c8aca270b577 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to get azure backup vaults in a subscription
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault), typeof(List))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupVault"), OutputType(typeof(AzureRMBackupVault), typeof(List))]
public class GetAzureRMBackupVault : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
index d5260fbd929c..69439a18d2d5 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to create an azure backup vault in a subscription
///
- [Cmdlet(VerbsCommon.New, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault))]
+ [Cmdlet(VerbsCommon.New, "AzureRmBackupVault"), OutputType(typeof(AzureRMBackupVault))]
public class NewAzureRMBackupVault : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
index 6b2018417e81..3ccca2c5bcb1 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to remove an azure backup vault in the subscription
///
- [Cmdlet(VerbsCommon.Remove, "AzureRMBackupVault")]
+ [Cmdlet(VerbsCommon.Remove, "AzureRmBackupVault")]
public class RemoveAzureRMBackupVault : AzureBackupVaultCmdletBase
{
protected override void ProcessRecord()
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
index a5c7b7f9c2d2..8efa2d1568ab 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to update an azure backup vault in a subscription.
///
- [Cmdlet(VerbsCommon.Set, "AzureRMBackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))]
+ [Cmdlet(VerbsCommon.Set, "AzureRmBackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))]
public class SetAzureRMBackupVault : AzureBackupVaultCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.StorageType)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
index 67ebb0d7d5db..7c1763b46f8b 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to download an azure backup vault's credentials.
///
- [Cmdlet(VerbsCommon.Get, "AzureRMBackupVaultCredentials"), OutputType(typeof(string))]
+ [Cmdlet(VerbsCommon.Get, "AzureRmBackupVaultCredentials"), OutputType(typeof(string))]
public class GetAzureRMBackupVaultCredentials : AzureBackupVaultCmdletBase
{
[Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.TargetLocation)]
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
index a91979be3e21..c6a6460dfc96 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureBackup\
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Backup\
DEBUG;TRACE
prompt
4
@@ -30,7 +30,7 @@
MinimumRecommendedRules.ruleset
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureBackup\
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Backup\
TRACE;SIGN
true
pdbonly
@@ -50,7 +50,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -149,8 +149,8 @@
-
-
+
+
@@ -192,6 +192,10 @@
+
+ AzureRM.Backup.psd1
+ PreserveNewest
+
Always
@@ -217,17 +221,16 @@
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs
index 97044655a262..9980dfcdf7a5 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs
@@ -763,7 +763,7 @@ private static IList ConvertToCSMDayList(List DaysOfMonth)
foreach (string DayOfMonth in DaysOfMonth)
{
Day day = new Day();
- if (string.Compare(DayOfMonth,"IsLast", true) == 0)
+ if (string.Compare(DayOfMonth, LastDayOfTheMonth, true) == 0)
{
day.IsLast = true;
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml
index 04154657080c..7e7502cc515e 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml
@@ -2,7 +2,7 @@
- Backup-AzureRMBackupItem
+ Backup-AzureRmBackupItem
Trigger backup for a protected item
@@ -20,7 +20,7 @@
- Backup-AzureRMBackupItem
+ Backup-AzureRmBackupItem
Item
@@ -103,7 +103,7 @@
PS C:\>
- Get-AzureRMBackupItem -Container $c | Backup-AzureRMBackupItem
+ Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem
@@ -125,7 +125,7 @@ test-vm Backup InProgress 26-Aug-15 12:24:01 PM 01-Jan-01
PS C:\>
- Get-AzureRMBackupItem -Container $c | Backup-AzureRMBackupItem
+ Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem
@@ -149,7 +149,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Disable-AzureRMBackupProtection
+ Disable-AzureRmBackupProtection
Disable protection for a protected item
@@ -165,7 +165,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Disable-AzureRMBackupProtection
+ Disable-AzureRmBackupProtection
RemoveRecoveryPoints
@@ -291,7 +291,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Enable-AzureRMBackupContainerReregistration
+ Enable-AzureRmBackupContainerReregistration
Allow re-registration of the server to connect the server back to the vault and continue the backup points chain.
@@ -308,7 +308,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Enable-AzureRMBackupContainerReregistration
+ Enable-AzureRmBackupContainerReregistration
Container
@@ -391,7 +391,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Enable-AzureRMBackupProtection
+ Enable-AzureRmBackupProtection
Associate an item with a protection policy
@@ -407,7 +407,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
- Enable-AzureRMBackupProtection
+ Enable-AzureRmBackupProtection
Policy
@@ -507,7 +507,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15
PS C:\>
- Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRMBackupItem | Enable-AzureRMBackupProtection -Policy $policies[0]
+ Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Enable-AzureRmBackupProtection -Policy $policies[0]
@@ -527,15 +527,15 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1
- Get-AzureRMBackupItem
+ Get-AzureRmBackupItem
- Get-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy
- Backup-AzureRMBackupItem
+ Backup-AzureRmBackupItem
@@ -543,7 +543,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1
- Get-AzureRMBackupContainer
+ Get-AzureRmBackupContainer
Retrieves one or more Azure Backup containers that match the filter criteria specified.
@@ -563,7 +563,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1
- Get-AzureRMBackupContainer
+ Get-AzureRmBackupContainer
Name
@@ -720,7 +720,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1
PS C:\>
- Get-AzureRMBackupContainer -vault $v -type Windows
+ Get-AzureRmBackupContainer -vault $v -type Windows
Gets a list of all containers of type "Windows" from the specified vault.
@@ -743,7 +743,7 @@ SERVER2.CONTOSO.COM Windows Registered
PS C:\>
- Get-AzureRMBackupContainer -vault $v -type SCDPM -name "DPMSERVER.CONTOSO.COM"
+ Get-AzureRmBackupContainer -vault $v -type SCDPM -name "DPMSERVER.CONTOSO.COM"
Gets the container representing a specific DPM server registered to the specified vault.
@@ -765,7 +765,7 @@ DPMSERVER.CONTOSO.COM SCDPM Registered
PS C:\>
- Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v
+ Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v
@@ -785,11 +785,11 @@ test-vm AzureVM Registered
- Register-AzureRMBackupContainer
+ Register-AzureRmBackupContainer
- Unregister-AzureRMBackupContainer
+ Unregister-AzureRmBackupContainer
@@ -797,7 +797,7 @@ test-vm AzureVM Registered
- Get-AzureRMBackupItem
+ Get-AzureRmBackupItem
Gets the items under a container
@@ -809,11 +809,11 @@ test-vm AzureVM Registered
- A container registered to the Azure Backup vault can have one or more items that can be protected. These items are enabled for protection using the Enable-AzureRMBackupProtection commandlet. This commandlet gets all the items under the container and their protection status.
+ A container registered to the Azure Backup vault can have one or more items that can be protected. These items are enabled for protection using the Enable-AzureRmBackupProtection commandlet. This commandlet gets all the items under the container and their protection status.
- Get-AzureRMBackupItem
+ Get-AzureRmBackupItem
ProtectionStatus
@@ -838,7 +838,7 @@ test-vm AzureVM Registered
Container
- The parent container object for which we are querying the items. Use the Get-AzureRMBackupContainer commandlet to get the list of containers in the vault.
+ The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault.
AzureRMBackupContainer
@@ -891,7 +891,7 @@ test-vm AzureVM Registered
Container
- The parent container object for which we are querying the items. Use the Get-AzureRMBackupContainer commandlet to get the list of containers in the vault.
+ The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault.
AzureRMBackupContainer
@@ -951,7 +951,7 @@ test-vm AzureVM Registered
PS C:\>
- Get-AzureRMBackupContainer -Type AzureVM -Name "test-vm" -Vault $v | Get-AzureRMBackupItem
+ Get-AzureRmBackupContainer -Type AzureVM -Name "test-vm" -Vault $v | Get-AzureRmBackupItem
@@ -973,7 +973,7 @@ test-vm NotProtected 0
PS C:\>
- Get-AzureRMBackupItem -Container $c | select *
+ Get-AzureRmBackupItem -Container $c | select *
@@ -1003,23 +1003,23 @@ Location : southeastasia
- Restore-AzureRMBackupItem
+ Restore-AzureRmBackupItem
- Get-AzureRMBackupContainer
+ Get-AzureRmBackupContainer
- Enable-AzureRMBackupProtection
+ Enable-AzureRmBackupProtection
- Backup-AzureRMBackupItem
+ Backup-AzureRmBackupItem
- Disable-AzureRMBackupProtection
+ Disable-AzureRmBackupProtection
@@ -1027,7 +1027,7 @@ Location : southeastasia
- Get-AzureRMBackupJob
+ Get-AzureRmBackupJob
Retrieves a list of jobs or a specific job
@@ -1043,11 +1043,11 @@ Location : southeastasia
- Get-AzureRMBackupJob
+ Get-AzureRmBackupJob
Vault
- The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -1120,11 +1120,11 @@ Location : southeastasia
- Get-AzureRMBackupJob
+ Get-AzureRmBackupJob
Job
- When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRMBackupJob.
+ When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob.
AzureRMBackupJob
@@ -1141,7 +1141,7 @@ Location : southeastasia
Vault
- The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -1255,7 +1255,7 @@ Location : southeastasia
Job
- When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRMBackupJob.
+ When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob.
AzureRMBackupJob
@@ -1304,7 +1304,7 @@ Array of AzureRMBackupJob objects
PS C:\>
- Get-AzureRMBackupJob -Vault $v
+ Get-AzureRmBackupJob -Vault $v
@@ -1328,7 +1328,7 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15
PS C:\>
- Get-AzureRMBackupJob -Vault $v -Status Completed
+ Get-AzureRmBackupJob -Vault $v -Status Completed
@@ -1350,7 +1350,7 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15
PS C:\>
- Get-AzureRMBackupJob -Vault $v -From (Get-Date).AddDays(-7) -Status Failed
+ Get-AzureRmBackupJob -Vault $v -From (Get-Date).AddDays(-7) -Status Failed
@@ -1370,14 +1370,14 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15
PS C:\>
- $joblist = Get-AzureRMBackupJob -Vault $v -Status InProgress
+ $joblist = Get-AzureRmBackupJob -Vault $v -Status InProgress
$job = $joblist[0]
while ( $job.Status -ne Completed )
{
Write-Host "Waiting for completion..."
Start-Sleep -s 10
- $job = Get-AzureRMBackupJob -Vault $v -Job $job
+ $job = Get-AzureRmBackupJob -Vault $v -Job $job
}
Write-Host "Done!"
@@ -1404,7 +1404,7 @@ Done!
- Get-AzureRMBackupJobDetails
+ Get-AzureRmBackupJobDetails
Get the details of a job
@@ -1420,7 +1420,7 @@ Done!
- Get-AzureRMBackupJobDetails
+ Get-AzureRmBackupJobDetails
Job
@@ -1437,7 +1437,7 @@ Done!
- Get-AzureRMBackupJobDetails
+ Get-AzureRmBackupJobDetails
Vault
@@ -1550,7 +1550,7 @@ Done!
PS C:\>
- $jd = Get-AzureRMBackupJobDetails -Job $j
+ $jd = Get-AzureRmBackupJobDetails -Job $j
PS C:\> $jd.ErrorDetails
@@ -1596,7 +1596,7 @@ PS C:\> $jd.ErrorDetails
- Get-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy
Fetches the backup policies in a backup vault
@@ -1608,11 +1608,11 @@ PS C:\> $jd.ErrorDetails
- The backup policy is used in the Enable-AzureRMBackupProtection commandlet to enable protection on an item. The policy must be created using the New-AzureRMBackupProtectionPolicy commandlet, or an existing policy can be used. This commandlet gets the list of existing policies in the backup vault.
+ The backup policy is used in the Enable-AzureRmBackupProtection commandlet to enable protection on an item. The policy must be created using the New-AzureRmBackupProtectionPolicy commandlet, or an existing policy can be used. This commandlet gets the list of existing policies in the backup vault.
- Get-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy
Name
@@ -1712,7 +1712,7 @@ PS C:\> $jd.ErrorDetails
PS C:\>
- Get-AzureRMBackupProtectionPolicy -Vault $v
+ Get-AzureRmBackupProtectionPolicy -Vault $v
@@ -1738,7 +1738,7 @@ test2 AzureVM Daily 26-Aug-15 3:00:0
PS C:\>
- Get-AzureRMBackupProtectionPolicy -Vault $v -Name DefaultPolicy
+ Get-AzureRmBackupProtectionPolicy -Vault $v -Name DefaultPolicy
@@ -1758,15 +1758,15 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
- Enable-AzureRMBackupProtection
+ Enable-AzureRmBackupProtection
- Remove-AzureRMBackupProtectionPolicy
+ Remove-AzureRmBackupProtectionPolicy
@@ -1774,7 +1774,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
- Get-AzureRMBackupRecoveryPoint
+ Get-AzureRmBackupRecoveryPoint
Get the recovery point(s) for a backed-up item
@@ -1790,7 +1790,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
- Get-AzureRMBackupRecoveryPoint
+ Get-AzureRmBackupRecoveryPoint
RecoveryPointId
@@ -1891,7 +1891,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
PS C:\>
- Get-AzureRMBackupRecoveryPoint -Item $backupitem
+ Get-AzureRmBackupRecoveryPoint -Item $backupitem
@@ -1915,7 +1915,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
Retrieves one or more vault objects based on the parameters that are specified.
@@ -1927,11 +1927,11 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
- The Get-AzureRMBackupVault commandlet retrieves existing Azure Backup vaults and returns objects of type AzurePSBackupVault. The vault object is used in some Azure Backup commandlets as a mandatory parameter.
+ The Get-AzureRmBackupVault commandlet retrieves existing Azure Backup vaults and returns objects of type AzurePSBackupVault. The vault object is used in some Azure Backup commandlets as a mandatory parameter.
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
ResourceGroupName
@@ -2031,7 +2031,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
PS C:\>
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
@@ -2051,7 +2051,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
PS C:\>
- Get-AzureRMBackupVault | Where-Object { $_.Region -eq "westus" }
+ Get-AzureRmBackupVault | Where-Object { $_.Region -eq "westus" }
@@ -2071,7 +2071,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30:
PS C:\>
- Get-AzureRMBackupVault -Name "myvault"
+ Get-AzureRmBackupVault -Name "myvault"
@@ -2096,7 +2096,7 @@ Storage : GeoRedundant
PS C:\>
- Get-AzureRMBackupVault | Where-Object { $_.Storage –match ‘LocallyRedundant’ } | Measure-Object
+ Get-AzureRmBackupVault | Where-Object { $_.Storage –match ‘LocallyRedundant’ } | Measure-Object
@@ -2119,19 +2119,19 @@ Property :
- New-AzureRMBackupVault
+ New-AzureRmBackupVault
- Set-AzureRMBackupVault
+ Set-AzureRmBackupVault
- Remove-AzureRMBackupVault
+ Remove-AzureRmBackupVault
- Get-AzureRMBackupContainer
+ Get-AzureRmBackupContainer
@@ -2139,7 +2139,7 @@ Property :
- Get-AzureRMBackupVaultCredentials
+ Get-AzureRmBackupVaultCredentials
Downloads the Vault Credentials file to a specified location.
@@ -2151,11 +2151,11 @@ Property :
- To enable hybrid backup scenarios the Vault Credentials file is a critical component. The vault credential file is used to connect a server to the Azure Backup vault and register it. Only after registration can backup data be sent to the vault. The Get-AzureRMBackupVaultCredentials commandlet downloads and places a vault credential file at the location specified by the user.
+ To enable hybrid backup scenarios the Vault Credentials file is a critical component. The vault credential file is used to connect a server to the Azure Backup vault and register it. Only after registration can backup data be sent to the vault. The Get-AzureRmBackupVaultCredentials commandlet downloads and places a vault credential file at the location specified by the user.
- Get-AzureRMBackupVaultCredentials
+ Get-AzureRmBackupVaultCredentials
TargetLocation
@@ -2166,7 +2166,7 @@ Property :
Vault
- The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -2195,7 +2195,7 @@ Property :
Vault
- The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -2258,7 +2258,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
Creates a PowerShell object that holds backup policy information
@@ -2270,12 +2270,12 @@ This section details out the type of the objects that you can pipe to the cmdlet
- A backup policy defines when and how often the backup of an item is done. This commandlet creates a PowerShell object that holds backup policy information. The backup policy is used as an input to the Enable-AzureRMBackupProtection commandlet.
+ A backup policy defines when and how often the backup of an item is done. This commandlet creates a PowerShell object that holds backup policy information. The backup policy is used as an input to the Enable-AzureRmBackupProtection commandlet.
There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use.
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
Name
@@ -2307,7 +2307,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
RetentionPolicy
- A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies.
+ A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.
AzureRMBackupRetentionPolicy[]
@@ -2327,7 +2327,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
Name
@@ -2359,7 +2359,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
RetentionPolicy
- A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies.
+ A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.
AzureRMBackupRetentionPolicy[]
@@ -2379,7 +2379,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
Name
@@ -2418,7 +2418,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
RetentionPolicy
- A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies.
+ A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.
AzureRMBackupRetentionPolicy[]
@@ -2490,7 +2490,7 @@ This section details out the type of the objects that you can pipe to the cmdlet
RetentionPolicy
- A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies.
+ A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.
AzureRMBackupRetentionPolicy[]
@@ -2587,10 +2587,10 @@ This section details out the type of the objects that you can pipe to the cmdlet
PS C:\>
- $bp = New-AzureRMBackupProtectionPolicy -Name DailyBackup01 -Type AzureVM -Daily -BackupTime ([datetime]"3:30 PM") -RetentionPolicy ($Daily,$Monthly) -Vault $v
+ $bp = New-AzureRmBackupProtectionPolicy -Name DailyBackup01 -Type AzureVM -Daily -BackupTime ([datetime]"3:30 PM") -RetentionPolicy ($Daily,$Monthly) -Vault $v
- The backup policy in this example has a daily backup time of 3:00 PM, and the backup data is stored as per the $Daily and $Monthly retention policies created using the New-AzureRMBackupRetentionPolicyObject commandlet.
+ The backup policy in this example has a daily backup time of 3:00 PM, and the backup data is stored as per the $Daily and $Monthly retention policies created using the New-AzureRmBackupRetentionPolicyObject commandlet.
Name Type ScheduleType BackupTime
@@ -2608,23 +2608,23 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
- Enable-AzureRMBackupProtection
+ Enable-AzureRmBackupProtection
- Get-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy
- Set-AzureRMBackupProtectionPolicy
+ Set-AzureRmBackupProtectionPolicy
- Remove-AzureRMBackupProtectionPolicy
+ Remove-AzureRmBackupProtectionPolicy
@@ -2632,7 +2632,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
Creates a PowerShell object that holds retention policy information
@@ -2644,12 +2644,12 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- A backup policy is associated with at least one retention policy. The retention policy defines how long a recovery point is kept with Azure Backup. This commandlet creates PowerShell objects that hold retention policy information. These retention policy objects are used as inputs to the New-AzureRMBackupProtectionPolicy commandlet, or directly with the Enable-AzureRMBackupProtection commandlet.
+ A backup policy is associated with at least one retention policy. The retention policy defines how long a recovery point is kept with Azure Backup. This commandlet creates PowerShell objects that hold retention policy information. These retention policy objects are used as inputs to the New-AzureRmBackupProtectionPolicy commandlet, or directly with the Enable-AzureRmBackupProtection commandlet.
There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use.
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
DailyRetention
@@ -2673,7 +2673,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
WeeklyRetention
@@ -2705,7 +2705,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
MonthlyRetentionInDailyFormat
@@ -2737,7 +2737,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
MonthlyRetentionInWeeklyFormat
@@ -2776,7 +2776,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
YearlyRetentionInDailyFormat
@@ -2815,7 +2815,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
- New-AzureRMBackupRetentionPolicyObject
+ New-AzureRmBackupRetentionPolicyObject
YearlyRetentionInWeeklyFormat
@@ -3048,7 +3048,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0
PS C:\>
- $Daily = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 30
+ $Daily = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 30
PS C:\> $Daily
@@ -3071,7 +3071,7 @@ Daily 30
PS C:\>
- $Monthly = New-AzureRMBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth (10, 20) -Retention 12
+ $Monthly = New-AzureRmBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth (10, 20) -Retention 12
PS C:\> $Monthly | select *
This policy keeps the backup on the 10th and the 20th of each month for 12 months
@@ -3096,7 +3096,7 @@ RetentionTimes :
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
@@ -3104,7 +3104,7 @@ RetentionTimes :
- New-AzureRMBackupVault
+ New-AzureRmBackupVault
Creates a new Azure Backup vault based on the parameters that are specified. A vault is the start point for all backup operations with Azure Backup.
@@ -3116,15 +3116,15 @@ RetentionTimes :
- The New-AzureRMBackupVault commandlet creates and Azure Backup vault and returns an object of type AzurePSBackupVault that acts as a reference to the vault entity. The vault has some important properties that define the scope of backup – the region and the storage type.
+ The New-AzureRmBackupVault commandlet creates and Azure Backup vault and returns an object of type AzurePSBackupVault that acts as a reference to the vault entity. The vault has some important properties that define the scope of backup – the region and the storage type.
- New-AzureRMBackupVault
+ New-AzureRmBackupVault
ResourceGroupName
- Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRMResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.
+ Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.
String
@@ -3162,7 +3162,7 @@ RetentionTimes :
ResourceGroupName
- Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRMResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.
+ Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.
String
@@ -3258,7 +3258,7 @@ RetentionTimes :
PS C:\>
- New-AzureRMBackupVault –ResourceGroupName “rg1” –Name “vault1” –Region “westus”
+ New-AzureRmBackupVault –ResourceGroupName “rg1” –Name “vault1” –Region “westus”
@@ -3283,7 +3283,7 @@ Storage : GeoRedundant
PS C:\>
- New-AzureRMBackupVault –ResourceGroupName “rg2” –Name “vault2” –Region “westus” –Storage LocallyRedundant
+ New-AzureRmBackupVault –ResourceGroupName “rg2” –Name “vault2” –Region “westus” –Storage LocallyRedundant
@@ -3306,19 +3306,19 @@ Storage : LocallyRedundant
- New-AzureRMResourceGroup
+ New-AzureRmResourceGroup
https://msdn.microsoft.com/en-us/library/dn654594.aspx
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
- Set-AzureRMBackupVault
+ Set-AzureRmBackupVault
- Remove-AzureRMBackupVault
+ Remove-AzureRmBackupVault
@@ -3326,7 +3326,7 @@ Storage : LocallyRedundant
- Register-AzureRMBackupContainer
+ Register-AzureRmBackupContainer
Register the container with the Azure Backup vault
@@ -3342,7 +3342,7 @@ Storage : LocallyRedundant
- Register-AzureRMBackupContainer
+ Register-AzureRmBackupContainer
Name
@@ -3353,7 +3353,7 @@ Storage : LocallyRedundant
ServiceName
- The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRMVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.
+ The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.
String
@@ -3373,7 +3373,7 @@ Storage : LocallyRedundant
- Register-AzureRMBackupContainer
+ Register-AzureRmBackupContainer
Name
@@ -3420,7 +3420,7 @@ Storage : LocallyRedundant
ServiceName
- The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRMVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.
+ The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.
String
@@ -3505,7 +3505,7 @@ Storage : LocallyRedundant
PS C:\>
- $job = Register-AzureRMBackupContainer -Vault $v -Name "testvm" -ServiceName "testvm"
+ $job = Register-AzureRmBackupContainer -Vault $v -Name "testvm" -ServiceName "testvm"
@@ -3523,7 +3523,7 @@ Storage : LocallyRedundant
- Get-AzureRMVM
+ Get-AzureRmVM
@@ -3531,7 +3531,7 @@ Storage : LocallyRedundant
- Remove-AzureRMBackupProtectionPolicy
+ Remove-AzureRmBackupProtectionPolicy
Deletes a backup policy from the vault
@@ -3547,11 +3547,11 @@ Storage : LocallyRedundant
- Remove-AzureRMBackupProtectionPolicy
+ Remove-AzureRmBackupProtectionPolicy
ProtectionPolicy
- The protection policy object that has information about the policy. Use the Get-AzureRMBackupProtectionPolicy commandlet to get a list of protection policy objects.
+ The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects.
AzureRMBackupProtectionPolicy
@@ -3568,7 +3568,7 @@ Storage : LocallyRedundant
ProtectionPolicy
- The protection policy object that has information about the policy. Use the Get-AzureRMBackupProtectionPolicy commandlet to get a list of protection policy objects.
+ The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects.
AzureRMBackupProtectionPolicy
@@ -3621,7 +3621,7 @@ Storage : LocallyRedundant
- The policy must not have any associated Items that are protected. If you need to delete the policy, ensure that each associated item is protected with some other policy first. To associate another policy with a backup item, use the Enable-AzureRMBackupProtection commandlet.
+ The policy must not have any associated Items that are protected. If you need to delete the policy, ensure that each associated item is protected with some other policy first. To associate another policy with a backup item, use the Enable-AzureRmBackupProtection commandlet.
@@ -3630,7 +3630,7 @@ Storage : LocallyRedundant
PS C:\>
- Get-AzureRMBackupProtectionPolicy -Vault $v -Name DailyBackup | Remove-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy -Vault $v -Name DailyBackup | Remove-AzureRmBackupProtectionPolicy
In this example, we fetch a policy named "DailyBackup" and pipe the policy object to the Remove commandlet.
@@ -3648,11 +3648,11 @@ Storage : LocallyRedundant
- Get-AzureRMBackupProtectionPolicy
+ Get-AzureRmBackupProtectionPolicy
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
@@ -3660,7 +3660,7 @@ Storage : LocallyRedundant
- Remove-AzureRMBackupVault
+ Remove-AzureRmBackupVault
Deletes the Azure Backup vault object based on the parameters that are specified.
@@ -3672,16 +3672,16 @@ Storage : LocallyRedundant
- The Remove-AzureRMBackupVault commandlet deletes the backup vault. However, before a vault can be removed, it must first be empty – it must contain no backup data or protected items or registered servers. This ensures that a vault cannot be deleted inadvertently; the deletion of a backup vault is a planned operation.
- Use the Remove-AzureRMBackupContainer commandlet to clear up IaaS VM backup data from the vault, or use the Delete-RegisteredServer commandlet to clear up other registered servers and backup data.
+ The Remove-AzureRmBackupVault commandlet deletes the backup vault. However, before a vault can be removed, it must first be empty – it must contain no backup data or protected items or registered servers. This ensures that a vault cannot be deleted inadvertently; the deletion of a backup vault is a planned operation.
+ Use the Remove-AzureRmBackupContainer commandlet to clear up IaaS VM backup data from the vault, or use the Delete-RegisteredServer commandlet to clear up other registered servers and backup data.
- Remove-AzureRMBackupVault
+ Remove-AzureRmBackupVault
Vault
- The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -3698,7 +3698,7 @@ Storage : LocallyRedundant
Vault
- The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -3758,7 +3758,7 @@ Storage : LocallyRedundant
PS C:\>
- Get-AzureRMBackupVault -Name "myvault" | Remove-AzureRMBackupVault
+ Get-AzureRmBackupVault -Name "myvault" | Remove-AzureRmBackupVault
@@ -3780,15 +3780,15 @@ Storage : LocallyRedundant
- New-AzureRMBackupVault
+ New-AzureRmBackupVault
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
- Set-AzureRMBackupVault
+ Set-AzureRmBackupVault
@@ -3796,7 +3796,7 @@ Storage : LocallyRedundant
- Restore-AzureRMBackupItem
+ Restore-AzureRmBackupItem
Restores the data and config for a point in time
@@ -3808,11 +3808,11 @@ Storage : LocallyRedundant
- In order to restore backup data, you need to identify the backed-up item and the recovery point that holds the point-in-time data that needs to be restored. This information is supplied to the Restore-AzureRMBackupItem commandlet to initiate a restore of data from the vault to the customer's account.
+ In order to restore backup data, you need to identify the backed-up item and the recovery point that holds the point-in-time data that needs to be restored. This information is supplied to the Restore-AzureRmBackupItem commandlet to initiate a restore of data from the vault to the customer's account.
- Restore-AzureRMBackupItem
+ Restore-AzureRmBackupItem
StorageAccountName
@@ -3914,8 +3914,8 @@ Storage : LocallyRedundant
PS C:\>
- $rp = Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRMBackupItem | Get-AzureRMBackupRecoveryPoint
-PS C:\> Restore-AzureRMBackupItem -StorageAccountName "destaccount" -RecoveryPoint $rp
+ $rp = Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Get-AzureRmBackupRecoveryPoint
+PS C:\> Restore-AzureRmBackupItem -StorageAccountName "destaccount" -RecoveryPoint $rp
@@ -3939,7 +3939,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Set-AzureRMBackupProtectionPolicy
+ Set-AzureRmBackupProtectionPolicy
Update an existing protection policy
@@ -3959,7 +3959,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Set-AzureRMBackupProtectionPolicy
+ Set-AzureRmBackupProtectionPolicy
NewName
@@ -3997,7 +3997,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Set-AzureRMBackupProtectionPolicy
+ Set-AzureRmBackupProtectionPolicy
NewName
@@ -4008,7 +4008,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Daily
- An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.
SwitchParameter
@@ -4042,7 +4042,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Set-AzureRMBackupProtectionPolicy
+ Set-AzureRmBackupProtectionPolicy
NewName
@@ -4053,7 +4053,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Weekly
- An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.
SwitchParameter
@@ -4074,7 +4074,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
DaysOfWeek
- An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples.
String[]
@@ -4158,7 +4158,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Daily
- An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.
SwitchParameter
@@ -4170,7 +4170,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Weekly
- An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.
SwitchParameter
@@ -4182,7 +4182,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
DaysOfWeek
- An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRMBackupProtectionPolicy for examples.
+ An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples.
String[]
@@ -4229,7 +4229,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- New-AzureRMBackupProtectionPolicy
+ New-AzureRmBackupProtectionPolicy
@@ -4237,7 +4237,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Set-AzureRMBackupVault
+ Set-AzureRmBackupVault
Changes the properties of the Azure Backup vault object based on the parameters that are specified.
@@ -4249,11 +4249,11 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- The Set-AzureRMBackupVault commandlet allows you to change the storage type of the backup vault. The other parameters like Region, Name, and ResourceGroupName are not editable.
+ The Set-AzureRmBackupVault commandlet allows you to change the storage type of the backup vault. The other parameters like Region, Name, and ResourceGroupName are not editable.
- Set-AzureRMBackupVault
+ Set-AzureRmBackupVault
Storage
@@ -4264,7 +4264,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Vault
- The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -4293,7 +4293,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Vault
- The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRMBackupVault to get a list of vaults.
+ The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -4353,7 +4353,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
PS C:\>
- Get-AzureRMBackupVault –Name “myvault” | Set-AzureRMBackupVault –Storage LocallyRedundant
+ Get-AzureRmBackupVault –Name “myvault” | Set-AzureRmBackupVault –Storage LocallyRedundant
@@ -4371,15 +4371,15 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- New-AzureRMBackupVault
+ New-AzureRmBackupVault
- Get-AzureRMBackupVault
+ Get-AzureRmBackupVault
- Remove-AzureRMBackupVault
+ Remove-AzureRmBackupVault
@@ -4387,7 +4387,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Stop-AzureRMBackupJob
+ Stop-AzureRmBackupJob
Cancels an ongoing Azure Backup job
@@ -4407,18 +4407,18 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Stop-AzureRMBackupJob
+ Stop-AzureRmBackupJob
Vault
- Use the Get-AzureRMBackupVault to get a list of vaults.
+ Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
JobID
- The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRMBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.
+ The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.
String
@@ -4431,7 +4431,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
- Stop-AzureRMBackupJob
+ Stop-AzureRmBackupJob
Job
@@ -4452,7 +4452,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
Vault
- Use the Get-AzureRMBackupVault to get a list of vaults.
+ Use the Get-AzureRmBackupVault to get a list of vaults.
AzureRMBackupVault
@@ -4464,7 +4464,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
JobID
- The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRMBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.
+ The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.
String
@@ -4536,8 +4536,8 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01
PS C:\>
- $j = Get-AzureRMBackupJob -Vault $v -Operation Backup
-PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId
+ $j = Get-AzureRmBackupJob -Vault $v -Operation Backup
+PS C:\> Stop-AzureRmBackupJob -Vault $v -JobID $j.InstanceId
@@ -4557,9 +4557,9 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId
PS C:\>
- Get-AzureRMBackupJob -Vault $v -Operation Restore | Stop-AzureRMBackupJob
+ Get-AzureRmBackupJob -Vault $v -Operation Restore | Stop-AzureRmBackupJob
- In this example, the AzureRMBackupJob objects returned by the Get-AzureRMBackupJob commandlet are piped to the Stop-AzureRMBackupJob commandlet.
+ In this example, the AzureRMBackupJob objects returned by the Get-AzureRmBackupJob commandlet are piped to the Stop-AzureRmBackupJob commandlet.
@@ -4579,7 +4579,7 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId
- Unregister-AzureRMBackupContainer
+ Unregister-AzureRmBackupContainer
Unregisters the specified Windows Server or Azure virtual machine from the Azure Backup vault.
@@ -4595,7 +4595,7 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId
- Unregister-AzureRMBackupContainer
+ Unregister-AzureRmBackupContainer
Force
@@ -4696,10 +4696,10 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId
PS C:\>
- $c = Get-AzureRMBackupContainer -vault $v -type Windows -name "server1.contoso.com"
-PS C:\> Unregister-AzureRMBackupContainer -container $c[0]
+ $c = Get-AzureRmBackupContainer -vault $v -type Windows -name "server1.contoso.com"
+PS C:\> Unregister-AzureRmBackupContainer -container $c[0]
- The user first gets the container that needs to be unregistered using the Get-AzureRMBackupContainer commandlet. This container object is passed to the unregister commandlet. This unregisters the specified Windows Server from the Azure Backup vault.
+ The user first gets the container that needs to be unregistered using the Get-AzureRmBackupContainer commandlet. This container object is passed to the unregister commandlet. This unregisters the specified Windows Server from the Azure Backup vault.
Unregister Server
@@ -4719,7 +4719,7 @@ This operation will delete all data in the backup vault that is associated with
PS C:\>
- Unregister-AzureRMBackupContainer -container $c –force
+ Unregister-AzureRmBackupContainer -container $c –force
The -Force option does not ask the user for confirmation before deleting the data and unregistering the server.
@@ -4737,7 +4737,7 @@ This operation will delete all data in the backup vault that is associated with
- Get-AzureRMBackupContainer
+ Get-AzureRmBackupContainer
@@ -4745,7 +4745,7 @@ This operation will delete all data in the backup vault that is associated with
- Wait-AzureRMBackupJob
+ Wait-AzureRmBackupJob
Waits for an Azure Backup job to complete
@@ -4762,7 +4762,7 @@ This operation will delete all data in the backup vault that is associated with
- Wait-AzureRMBackupJob
+ Wait-AzureRmBackupJob
Job
@@ -4861,7 +4861,7 @@ Array of AzureRMBackupJob objects
- Get-AzureRMBackupJob
+ Get-AzureRmBackupJob
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs
index a4b05997e325..0bd3d0b06b2b 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs
@@ -19,7 +19,6 @@
using System.Linq;
using System.Web;
using Microsoft.Azure.Management.BackupServices;
-using Microsoft.Azure.Management.BackupServices;
using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
using Microsoft.Azure.Commands.AzureBackup.Cmdlets;
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
index 5f78194dd775..a26fb69fc7f8 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.18449
+// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -139,7 +139,7 @@ internal static string BackupItemCmdletCalled {
}
///
- /// Looks up a localized string similar to For daily backup schedule, protection policy cannot have DaysOfWeek param in backup schedule.
+ /// Looks up a localized string similar to For a daily backup schedule, using the DaysOfWeek parameter is not allowed.
///
internal static string BackupScheduleDailyParamException {
get {
@@ -148,7 +148,7 @@ internal static string BackupScheduleDailyParamException {
}
///
- /// Looks up a localized string similar to For weekly backup schedule, DaysOfWeek in backup schedule is mandatory and cannot be empty.
+ /// Looks up a localized string similar to For a weekly backup schedule, using the DaysOfWeek parameter is mandatory.
///
internal static string BackupScheduleWeeklyParamException {
get {
@@ -265,7 +265,7 @@ internal static string CreatingBackupVault {
}
///
- /// Looks up a localized string similar to Only one AzureBackupDailyRetentionPolicy in RetentionPolicies is allowed.
+ /// Looks up a localized string similar to Only one daily retention policy is allowed for a Protection Policy.
///
internal static string DailyRetentionPolicyException {
get {
@@ -274,7 +274,7 @@ internal static string DailyRetentionPolicyException {
}
///
- /// Looks up a localized string similar to For AzureBackupDailyRetentionPolicy , valid values of retention are {0} to {1}.
+ /// Looks up a localized string similar to The daily retention value should be between {0} and {1}.
///
internal static string DailyRetentionPolicyValueException {
get {
@@ -283,7 +283,7 @@ internal static string DailyRetentionPolicyValueException {
}
///
- /// Looks up a localized string similar to For Daily Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is mandatory.
+ /// Looks up a localized string similar to For a daily backup schedule, setting a daily retention policy is mandatory.
///
internal static string DailyScheduleException {
get {
@@ -292,7 +292,7 @@ internal static string DailyScheduleException {
}
///
- /// Looks up a localized string similar to Days of the month in Monthly/Yearly retention is not allowed for weekly backup Schedules.
+ /// Looks up a localized string similar to Using the DaysOfMonth parameter in retention policies is not allowed when weekly backup schedules are used.
///
internal static string DaysOfMonthsNotAllowedinMonthlyYearlyFormat {
get {
@@ -301,7 +301,7 @@ internal static string DaysOfMonthsNotAllowedinMonthlyYearlyFormat {
}
///
- /// Looks up a localized string similar to DaysofTheWeek list in Weekly retention schedule must be same of backup schedule DaysOfTheWeek.
+ /// Looks up a localized string similar to The DaysOfWeek specified in a weekly retention schedule should be same as of DaysOfWeek value specified in the backup schedule.
///
internal static string DaysofTheWeekInWeeklyRetentionException {
get {
@@ -310,7 +310,7 @@ internal static string DaysofTheWeekInWeeklyRetentionException {
}
///
- /// Looks up a localized string similar to DaysOfTheWeek of retention schedule must be same of backup schedule DaysOfTheWeek.
+ /// Looks up a localized string similar to The DaysOfWeek specified in a weekly retention schedule should be same as of DaysOfWeek value specified in the backup schedule.
///
internal static string DaysOfTheWeekOfRetentionScheduleException {
get {
@@ -463,7 +463,7 @@ internal static string MakingClientCall {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a monthly retention policy specified in days, using the DaysOfMonth parameter is mandatory.
///
internal static string MonthlyRetentionPolicyDaysOfMonthParamException {
get {
@@ -472,7 +472,7 @@ internal static string MonthlyRetentionPolicyDaysOfMonthParamException {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed..
+ /// Looks up a localized string similar to For a monthly retention policy specified in weeks, using the DaysOfMonth parameter is not allowed.
///
internal static string MonthlyRetentionPolicyDaysOfMonthsException {
get {
@@ -481,7 +481,7 @@ internal static string MonthlyRetentionPolicyDaysOfMonthsException {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a monthly retention policy specified in weeks, using the DaysOfWeek parameter is mandatory.
///
internal static string MonthlyRetentionPolicyDaysOfWeekException {
get {
@@ -490,7 +490,7 @@ internal static string MonthlyRetentionPolicyDaysOfWeekException {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed.
+ /// Looks up a localized string similar to For a monthly retention policy specified in days, using the DaysOfWeek and WeekNumber parameters is not allowed.
///
internal static string MonthlyRetentionPolicyDaysOfWeekParamException {
get {
@@ -499,7 +499,7 @@ internal static string MonthlyRetentionPolicyDaysOfWeekParamException {
}
///
- /// Looks up a localized string similar to Only one AzureBackupMonthlyRetentionPolicy in RetentionPolicies is allowed.
+ /// Looks up a localized string similar to Only one monthly retention policy is allowed for a Protection Policy.
///
internal static string MonthlyRetentionPolicyException {
get {
@@ -508,7 +508,7 @@ internal static string MonthlyRetentionPolicyException {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy , valid values of retention are {0} to {1}.
+ /// Looks up a localized string similar to The monthly retention value should be between {0} and {1}.
///
internal static string MonthlyRetentionPolicyValueException {
get {
@@ -517,7 +517,7 @@ internal static string MonthlyRetentionPolicyValueException {
}
///
- /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a monthly retention policy specified in weeks, using the WeekNumber parameter is mandatory.
///
internal static string MonthlyRetentionPolicyWeekNumException {
get {
@@ -526,7 +526,7 @@ internal static string MonthlyRetentionPolicyWeekNumException {
}
///
- /// Looks up a localized string similar to Days of the week list in Monthly/Yearly retention schedule should be subset of Day of week list in Backup Schedule.
+ /// Looks up a localized string similar to The DaysOfWeek specified for monthly and yearly retention policies should be a subset of the DaysOfWeek value specified in the backup schedule.
///
internal static string MonthlyYearlyRetentionArgumentException {
get {
@@ -580,7 +580,7 @@ internal static string OperationStatus {
}
///
- /// Looks up a localized string similar to A protection policy with the specified name already exists..
+ /// Looks up a localized string similar to A protection policy with the specified name already exists.
///
internal static string PolicyAlreadyExist {
get {
@@ -589,7 +589,7 @@ internal static string PolicyAlreadyExist {
}
///
- /// Looks up a localized string similar to For DaysOfWeek, weekly switch param is required.
+ /// Looks up a localized string similar to The DaysOfWeek parameter should be used in conjunction with the –Weekly switch parameter.
///
internal static string PolicyArgumentException {
get {
@@ -723,6 +723,46 @@ internal static string RegisteringVM {
}
}
+ ///
+ /// Looks up a localized string similar to Remove Protection Policy Message.
+ ///
+ internal static string RemoveProtectionPolicyMessage {
+ get {
+ return ResourceManager.GetString("RemoveProtectionPolicyMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Remove Protection Policy Warning;.
+ ///
+ internal static string RemoveProtectionPolicyWarning {
+ get {
+ return ResourceManager.GetString("RemoveProtectionPolicyWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Disable Protection Message.
+ ///
+ internal static string DisableProtectionMessage
+ {
+ get
+ {
+ return ResourceManager.GetString("DisableProtectionMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Disable Protection Warning;.
+ ///
+ internal static string DisableProtectionWarning
+ {
+ get
+ {
+ return ResourceManager.GetString("DisableProtectionWarning", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Going to retry Discovery if retry count is not exceeded.
///
@@ -949,7 +989,7 @@ internal static string WebException {
}
///
- /// Looks up a localized string similar to For AzureBackupWeeklyRetentionPolicy , DaysOfWeek param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a weekly retention policy, using the DaysOfWeek parameter is mandatory.
///
internal static string WeeklyRetentionPolicyDaysOfWeekException {
get {
@@ -958,7 +998,7 @@ internal static string WeeklyRetentionPolicyDaysOfWeekException {
}
///
- /// Looks up a localized string similar to Only one AzureBackupWeeklyRetentionPolicy in RetentionPolicies is allowed.
+ /// Looks up a localized string similar to Only one weekly retention policy is allowed for a Protection Policy.
///
internal static string WeeklyRetentionPolicyException {
get {
@@ -967,7 +1007,7 @@ internal static string WeeklyRetentionPolicyException {
}
///
- /// Looks up a localized string similar to For AzureBackupWeeklyRetentionPolicy , valid values of retention are {0} to {1}.
+ /// Looks up a localized string similar to The weekly retention value should be between {0} and {1}.
///
internal static string WeeklyRetentionPolicyValueException {
get {
@@ -976,7 +1016,7 @@ internal static string WeeklyRetentionPolicyValueException {
}
///
- /// Looks up a localized string similar to For Weekly Schedule, AzureBackupWeeklyRetentionPolicy in RetentionPolicies param is mandatory.
+ /// Looks up a localized string similar to For a weekly backup schedule, setting a weekly retention policy is mandatory.
///
internal static string WeeklyScheduleException {
get {
@@ -985,7 +1025,7 @@ internal static string WeeklyScheduleException {
}
///
- /// Looks up a localized string similar to For weekly scheduletype , ScheduleRunDays param is mandatory and can not be empty..
+ /// Looks up a localized string similar to For a weekly backup schedule, using the DaysOfWeek parameter is mandatory.
///
internal static string WeeklyScheduleRunDaysException {
get {
@@ -994,7 +1034,7 @@ internal static string WeeklyScheduleRunDaysException {
}
///
- /// Looks up a localized string similar to For Weekly Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is not allowed.
+ /// Looks up a localized string similar to For a weekly backup schedule, setting a daily retention policy is not allowed.
///
internal static string WeeklyScheduleWithDailyException {
get {
@@ -1003,7 +1043,7 @@ internal static string WeeklyScheduleWithDailyException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed.
+ /// Looks up a localized string similar to For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is not allowed.
///
internal static string YearlyRetentionPolicyDaysOfMonthInWeekFormatException {
get {
@@ -1012,7 +1052,7 @@ internal static string YearlyRetentionPolicyDaysOfMonthInWeekFormatException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is mandatory.
///
internal static string YearlyRetentionPolicyDaysOfMonthParamException {
get {
@@ -1021,7 +1061,7 @@ internal static string YearlyRetentionPolicyDaysOfMonthParamException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a yearly retention policy specified in weeks, using the DaysOfWeek and WeekNumber parameters is mandatory.
///
internal static string YearlyRetentionPolicyDaysOfWeekInWeeksFormatParamException {
get {
@@ -1030,7 +1070,7 @@ internal static string YearlyRetentionPolicyDaysOfWeekInWeeksFormatParamExceptio
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed.
+ /// Looks up a localized string similar to For a yearly retention policy specified in days, using the DaysOfWeek and WeekNumber parameters is not allowed.
///
internal static string YearlyRetentionPolicyDaysOfWeekParamException {
get {
@@ -1039,7 +1079,7 @@ internal static string YearlyRetentionPolicyDaysOfWeekParamException {
}
///
- /// Looks up a localized string similar to Only one AzureBackupYearlyRetentionPolicy in RetentionPolicies is allowed.
+ /// Looks up a localized string similar to Only one yearly retention policy is allowed for a Protection Policy.
///
internal static string YearlyRetentionPolicyException {
get {
@@ -1048,7 +1088,7 @@ internal static string YearlyRetentionPolicyException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in days, MonthsOfYear param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is mandatory.
///
internal static string YearlyRetentionPolicyMonthOfYearParamException {
get {
@@ -1057,7 +1097,7 @@ internal static string YearlyRetentionPolicyMonthOfYearParamException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy , valid values of retention are {0} to {1}.
+ /// Looks up a localized string similar to Yearly retention value should be between {0} and {1}.
///
internal static string YearlyRetentionPolicyValueException {
get {
@@ -1066,7 +1106,7 @@ internal static string YearlyRetentionPolicyValueException {
}
///
- /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty.
+ /// Looks up a localized string similar to For a yearly retention policy specified in weeks, using the DaysOfWeek and WeekNumber parameters is mandatory.
///
internal static string YearlyRetentionPolicyWeekNumParamException {
get {
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
index b6bca7072396..2cd8f7ffdf93 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
@@ -493,4 +493,16 @@ Please contact Microsoft for further assistant.
For a yearly retention policy specified in weeks, using the DaysOfWeek and WeekNumber parameters is mandatory
Scrubbed
+
+ Disabling protection for the item
+
+
+ Are you sure you want to disable protection for the item '{0}'
+
+
+ Removing the protection policy
+
+
+ Are you sure you want to remove the protection policy '{0}'
+
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
index 370e6034616d..ec875e2b5092 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
@@ -2,7 +2,7 @@
-
+
diff --git a/src/ResourceManager/AzureBackup/NuGet.Config b/src/ResourceManager/AzureBackup/NuGet.Config
new file mode 100644
index 000000000000..2de911013532
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureBatch/AzureBatch.sln b/src/ResourceManager/AzureBatch/AzureBatch.sln
new file mode 100644
index 000000000000..344a94efde20
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/AzureBatch.sln
@@ -0,0 +1,75 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch", "Commands.Batch\Commands.Batch.csproj", "{D470E50A-9607-48D6-A924-4F9F86502704}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch.Test", "Commands.Batch.Test\Commands.Batch.Test.csproj", "{F4ABAD68-64A5-4B23-B09C-42559A7524DE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "..\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources", "..\Resources\Commands.Resources\Commands.Resources.csproj", "{E1F5201D-6067-430E-B303-4E367652991B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Rest", "..\Resources\Commands.ResourceManager\Cmdlets\Commands.Resources.Rest.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Tags", "..\Tags\Commands.Tags\Commands.Tags.csproj", "{2493A8F7-1949-4F29-8D53-9D459046C3B8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D470E50A-9607-48D6-A924-4F9F86502704}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D470E50A-9607-48D6-A924-4F9F86502704}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D470E50A-9607-48D6-A924-4F9F86502704}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D470E50A-9607-48D6-A924-4F9F86502704}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F4ABAD68-64A5-4B23-B09C-42559A7524DE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {F4ABAD68-64A5-4B23-B09C-42559A7524DE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ EndGlobalSection
+EndGlobal
diff --git a/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1 b/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1
new file mode 100644
index 000000000000..6c0804d62743
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/AzureRM.Batch.psd1
@@ -0,0 +1,90 @@
+#
+# Module manifest for module 'Microsoft.Azure.Commands.Batch'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 9/19/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.8'
+
+# ID used to uniquely identify this module
+GUID = 'a8f00f40-1c1a-49b5-9db3-24076b75c3cf'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = ' Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - Batch'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @(
+ '.\Microsoft.Azure.Commands.Batch.format.ps1xml'
+)
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.Azure.Commands.Batch.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs
index 4ad820aa28e4..c1ee935411bd 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs
@@ -12,26 +12,16 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
-using System.IO;
using System.Linq;
using System.Net;
-using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.Batch;
-using Microsoft.Azure.Batch.Common;
using Microsoft.Azure.Batch.Protocol;
-using Microsoft.Azure.Commands.Batch.Models;
-using Microsoft.Azure.Commands.Batch.Test.ScenarioTests;
-using Microsoft.Azure.Management.Batch;
using Microsoft.Azure.Management.Batch.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
-using Microsoft.Azure.Management.Resources;
-using Microsoft.Azure.Management.Resources.Models;
-using Microsoft.Azure.Test.HttpRecorder;
-using Microsoft.WindowsAzure.Storage.Shared.Protocol;
using Xunit;
using ProxyModels = Microsoft.Azure.Batch.Protocol.Models;
@@ -114,16 +104,22 @@ public static void AssertBatchAccountContextsAreEqual(BatchAccountContext contex
/// Creates a RequestInterceptor that does not contact the Batch Service but instead uses the supplied response body.
///
/// The response the interceptor should return. If none is specified, then a new instance of the response type is instantiated.
+ /// An action to perform on the request.
/// The type of the request parameters.
/// The type of the expected response.
- public static RequestInterceptor CreateNoOpInterceptor(TResponse responseToUse = null)
+ public static RequestInterceptor CreateFakeServiceResponseInterceptor(TResponse responseToUse = null,
+ Action> requestAction = null)
where TParameters : ProxyModels.BatchParameters
where TResponse : ProxyModels.BatchOperationResponse, new()
{
RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
{
- BatchRequest request =
- (BatchRequest)baseRequest;
+ BatchRequest request = (BatchRequest)baseRequest;
+
+ if (requestAction != null)
+ {
+ requestAction(request);
+ }
request.ServiceRequestFunc = (cancellationToken) =>
{
@@ -140,12 +136,12 @@ public static RequestInterceptor CreateNoOpInterceptor(T
/// The interceptor must handle both request types since it's possible for one OM node file method to perform both REST APIs.
///
/// The name of the file to put in the response body.
- public static RequestInterceptor CreateNoOpGetFileAndPropertiesInterceptor(string fileName)
+ public static RequestInterceptor CreateFakGetFileAndPropertiesResponseInterceptor(string fileName)
{
RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
{
BatchRequest fileRequest = baseRequest as
- BatchRequest;
+ BatchRequest;
if (fileRequest != null)
{
@@ -401,6 +397,106 @@ public static ProxyModels.NodeFileListResponse CreateNodeFileListResponse(IEnume
return response;
}
+ ///
+ /// Fabricates a CloudJob that's in the bound state
+ ///
+ public static CloudJob CreateFakeBoundJob(BatchAccountContext context)
+ {
+ string jobId = "testJob";
+
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ProxyModels.CloudJobGetResponse response = new ProxyModels.CloudJobGetResponse();
+ response.Job = new ProxyModels.CloudJob(jobId, new ProxyModels.PoolInformation());
+
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+
+ return context.BatchOMClient.JobOperations.GetJob(jobId, additionalBehaviors: new BatchClientBehavior[] { interceptor });
+ }
+
+ ///
+ /// Fabricates a CloudJobSchedule that's in the bound state
+ ///
+ public static CloudJobSchedule CreateFakeBoundJobSchedule(BatchAccountContext context)
+ {
+ string jobScheduleId = "testJobSchedule";
+
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ProxyModels.CloudJobScheduleGetResponse response = new ProxyModels.CloudJobScheduleGetResponse();
+ response.JobSchedule = new ProxyModels.CloudJobSchedule(jobScheduleId, new ProxyModels.Schedule(), new ProxyModels.JobSpecification());
+
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+
+ return context.BatchOMClient.JobScheduleOperations.GetJobSchedule(jobScheduleId, additionalBehaviors: new BatchClientBehavior[] { interceptor });
+ }
+
+ ///
+ /// Fabricates a CloudPool that's in the bound state
+ ///
+ public static CloudPool CreateFakeBoundPool(BatchAccountContext context)
+ {
+ string poolId = "testPool";
+
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ProxyModels.CloudPoolGetResponse response = new ProxyModels.CloudPoolGetResponse();
+ response.Pool = new ProxyModels.CloudPool(poolId, "small", "4");
+
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+
+ return context.BatchOMClient.PoolOperations.GetPool(poolId, additionalBehaviors: new BatchClientBehavior[] { interceptor });
+ }
+
+ ///
+ /// Fabricates a CloudTask that's in the bound state
+ ///
+ public static CloudTask CreateFakeBoundTask(BatchAccountContext context)
+ {
+ string taskId = "testTask";
+
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ProxyModels.CloudTaskGetResponse response = new ProxyModels.CloudTaskGetResponse();
+ response.Task = new ProxyModels.CloudTask(taskId, "cmd /c dir /s");
+
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+
+ return context.BatchOMClient.JobOperations.GetTask("jobId", taskId, additionalBehaviors: new BatchClientBehavior[] { interceptor });
+ }
+
///
/// Uses Reflection to set a property value on an object. Can be used to bypass restricted set accessors.
///
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
index fde04cfa7403..30baf1aaffef 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
@@ -51,7 +51,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
- ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
True
@@ -178,17 +178,20 @@
+
+
+
@@ -196,6 +199,7 @@
+
@@ -220,6 +224,7 @@
+
@@ -311,6 +316,9 @@
Always
+
+ Always
+
Always
@@ -395,6 +403,9 @@
Always
+
+ Always
+
Always
@@ -428,6 +439,9 @@
Always
+
+ Always
+
Always
@@ -485,6 +499,9 @@
PreserveNewest
+
+ Always
+
Always
@@ -512,13 +529,20 @@
Always
+
+ Always
+
-
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
-
+
{3436a126-edc9-4060-8952-9a1be34cdd95}
Commands.ScenarioTests.ResourceManager.Common
@@ -535,24 +559,5 @@
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
index dd8be1685bb9..460c990c4a53 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
@@ -62,7 +62,7 @@ public void NewBatchComputeNodeUserParametersTest()
cmdlet.Password = "Password1234";
// Don't go to the service on an Add ComputeNodeUser call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
index c6a7400f2446..2eca0e574188 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
@@ -61,7 +61,7 @@ public void RemoveBatchComputeNodeUserParametersTest()
cmdlet.Name = "testUser";
// Don't go to the service on a Delete ComputeNodeUser call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/SetBatchComputeNoderUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/SetBatchComputeNoderUserCommandTests.cs
new file mode 100644
index 000000000000..4e47b5dfee99
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/SetBatchComputeNoderUserCommandTests.cs
@@ -0,0 +1,103 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Threading.Tasks;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Management.Automation;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.ComputeNodeUsers
+{
+ public class SetBatchComputeNodeUserCommandTests
+ {
+ private SetBatchComputeNodeUserCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public SetBatchComputeNodeUserCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new SetBatchComputeNodeUserCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetBatchComputeNodeUserParametersTest()
+ {
+ // Setup cmdlet without the required parameters
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.PoolId = "testPool";
+ cmdlet.ComputeNodeId = "computeNode1";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Name = "testUser";
+
+ // Don't go to the service on an Update ComputeNodeUser call
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameters are set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetBatchComputeNodeUserRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.PoolId = "testPool";
+ cmdlet.ComputeNodeId = "computeNode1";
+ cmdlet.Name = "testUser";
+ cmdlet.Password = "Password1234";
+ cmdlet.ExpiryTime = DateTime.Now.AddDays(1);
+
+ string requestPassword = null;
+ DateTime requestExpiryTime = DateTime.Now;
+
+ // Don't go to the service on an Update ComputeNodeUser call
+ Action> extractUserUpdateParametersAction =
+ (request) =>
+ {
+ requestPassword = request.TypedParameters.Password;
+ requestExpiryTime = request.TypedParameters.ExpiryTime.Value;
+ };
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(requestAction: extractUserUpdateParametersAction);
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify the request parameters match expectations
+ Assert.Equal(cmdlet.Password, requestPassword);
+ Assert.Equal(cmdlet.ExpiryTime, requestExpiryTime);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
index bc50b520cb26..d4c9999bb166 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
@@ -56,7 +56,7 @@ public void GetBatchComputeNodeTest()
// Build a compute node instead of querying the service on a Get ComputeNode call
ComputeNodeGetResponse response = BatchTestHelpers.CreateComputeNodeGetResponse(cmdlet.Id);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -85,7 +85,7 @@ public void ListBatchComputeNodesByODataFilterTest()
// Build some compute nodes instead of querying the service on a List ComputeNodes call
ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -122,7 +122,7 @@ public void ListBatchComputeNodesWithoutFiltersTest()
// Build some compute nodes instead of querying the service on a List ComputeNodes call
ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -164,7 +164,7 @@ public void ListComputeNodesMaxCountTest()
// Build some compute nodes instead of querying the service on a List ComputeNodes call
ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
index 93ff5dee6f11..8df0bc630cab 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
@@ -61,7 +61,7 @@ public void ResetBatchComputeNodeParametersTest()
cmdlet.Id = "computeNode1";
// Don't go to the service on a Reimage ComputeNode call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
index fb44eb63feaf..912727edec42 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
@@ -61,7 +61,7 @@ public void RestartBatchComputeNodeParametersTest()
cmdlet.Id = "computeNode1";
// Don't go to the service on a Reboot ComputeNode call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
index 3751e165b1f0..9e620de46633 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
@@ -59,7 +59,7 @@ public void GetBatchNodeFileByTaskParametersTest()
// Build a NodeFile instead of querying the service on a List NodeFile call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
Assert.Throws(() => cmdlet.ExecuteCmdlet());
@@ -92,7 +92,7 @@ public void GetBatchNodeFileByTaskTest()
// Build a NodeFile instead of querying the service on a Get NodeFile Properties call
NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -122,7 +122,7 @@ public void ListBatchNodeFilesByTaskByODataFilterTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -160,7 +160,7 @@ public void ListBatchNodeFilesByTaskWithoutFiltersTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -203,7 +203,7 @@ public void ListNodeFilesByTaskMaxCountTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -240,7 +240,7 @@ public void GetBatchNodeFileByComputeNodeParametersTest()
// Build a NodeFile instead of querying the service on a List NodeFile call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
Assert.Throws(() => cmdlet.ExecuteCmdlet());
@@ -266,7 +266,7 @@ public void GetBatchNodeFileByComputeNodeTest()
// Build a NodeFile instead of querying the service on a Get NodeFile Properties call
NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -296,7 +296,7 @@ public void ListBatchNodeFilesByComputeNodeByODataFilterTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -334,7 +334,7 @@ public void ListBatchNodeFilesByComputeNodeWithoutFiltersTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -377,7 +377,7 @@ public void ListNodeFilesByComputeNodeMaxCountTest()
// Build some NodeFiles instead of querying the service on a List NodeFiles call
NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
index b64b0d0c7743..4862ecba06ef 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
@@ -58,7 +58,7 @@ public void GetBatchNodeFileByTaskParametersTest()
string fileName = "stdout.txt";
// Don't go to the service on a Get NodeFile call or Get NodeFile Properties call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpGetFileAndPropertiesInterceptor(cmdlet.Name);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakGetFileAndPropertiesResponseInterceptor(cmdlet.Name);
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
@@ -94,7 +94,7 @@ public void GetBatchNodeFileByComputeNodeContentParametersTest()
string fileName = "startup\\stdout.txt";
// Don't go to the service on a Get NodeFile call or Get NodeFile Properties call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpGetFileAndPropertiesInterceptor(cmdlet.Name);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakGetFileAndPropertiesResponseInterceptor(cmdlet.Name);
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
index 30a2f289f43d..77b8077811c3 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
@@ -56,7 +56,7 @@ public void GetBatchRemoteDesktopProtocolFileParametersTest()
cmdlet.DestinationPath = null;
// Don't go to the service on a Get ComputeNode Remote Desktop call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
index a3064ccfb000..416326ad61eb 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
@@ -55,7 +55,7 @@ public void DisableJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on a Disable CloudJobSchedule call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
index 487e4dabc89e..5279e7b6f503 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
@@ -56,7 +56,7 @@ public void EnableJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on an Enable CloudJobSchedule call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
index 93edb04cec5a..0f18fed55185 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
@@ -55,7 +55,7 @@ public void GetBatchJobScheduleTest()
// Build a CloudJobSchedule instead of querying the service on a Get CloudJobSchedule call
CloudJobScheduleGetResponse response = BatchTestHelpers.CreateCloudJobScheduleGetResponse(cmdlet.Id);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -83,7 +83,7 @@ public void ListBatchJobScheduleByODataFilterTest()
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -119,7 +119,7 @@ public void ListBatchJobSchedulesWithoutFiltersTest()
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -160,7 +160,7 @@ public void ListJobSchedulesMaxCountTest()
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
index 7c83018e061b..019de849c7be 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
@@ -55,7 +55,7 @@ public void NewBatchJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on an Add CloudJobSchedule call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
index b2398a33c8f5..5193ced0d128 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
@@ -59,7 +59,7 @@ public void RemoveBatchJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on a Delete CloudJobSchedule call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/SetBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/SetBatchJobScheduleCommandTests.cs
new file mode 100644
index 000000000000..d24ea2f4cd2a
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/SetBatchJobScheduleCommandTests.cs
@@ -0,0 +1,64 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Management.Automation;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.JobSchedules
+{
+ public class SetBatchJobScheduleCommandTests
+ {
+ private SetBatchJobScheduleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public SetBatchJobScheduleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new SetBatchJobScheduleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetBatchJobScheduleParametersTest()
+ {
+ // Setup cmdlet without the required parameters
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.JobSchedule = new PSCloudJobSchedule(BatchTestHelpers.CreateFakeBoundJobSchedule(context));
+
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
+ cmdlet.AdditionalBehaviors = new BatchClientBehavior[] { interceptor };
+
+ // Verify that no exceptions occur
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
index 58922ca34a39..4ad66f16d723 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
@@ -55,7 +55,7 @@ public void StopJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on a Terminate CloudJobSchedule call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
index 0687853dd13f..81aa5ecc9a9d 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
@@ -21,7 +21,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -58,7 +57,7 @@ public void DisableJobParametersTest()
cmdlet.DisableJobOption = DisableJobOption.Terminate;
// Don't go to the service on a Disable CloudJob call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -78,22 +77,13 @@ public void DisableJobRequestTest()
cmdlet.Id = "testJob";
cmdlet.DisableJobOption = disableOption;
- // Don't go to the service on an Enable AutoScale call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- // Grab the disable option off the outgoing request.
- requestDisableOption = request.TypedParameters.DisableJobOption;
-
- request.ServiceRequestFunc = (cancellationToken) =>
+ // Don't go to the service on a Disable CloudJob call
+ Action> extractDisableOptionAction =
+ (request) =>
{
- CloudJobDisableResponse response = new CloudJobDisableResponse();
- Task task = Task.FromResult(response);
- return task;
+ requestDisableOption = request.TypedParameters.DisableJobOption;
};
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(requestAction: extractDisableOptionAction);
cmdlet.AdditionalBehaviors = new List() { interceptor };
cmdlet.ExecuteCmdlet();
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
index 2f7e9c5435b9..6f423362a7b0 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
@@ -55,7 +55,7 @@ public void EnableJobParametersTest()
cmdlet.Id = "testJob";
// Don't go to the service on an Enable CloudJob call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
index d1b1a2488ef0..8711daf704a4 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
@@ -55,7 +55,7 @@ public void GetBatchJobTest()
// Build a CloudJob instead of querying the service on a Get CloudJob call
CloudJobGetResponse response = BatchTestHelpers.CreateCloudJobGetResponse(cmdlet.Id);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -84,7 +84,7 @@ public void ListBatchJobsByODataFilterTest()
// Build some CloudJobs instead of querying the service on a List CloudJobs call
CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -121,7 +121,7 @@ public void ListBatchJobsWithoutFiltersTest()
// Build some CloudJobs instead of querying the service on a List CloudJobs call
CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -163,7 +163,7 @@ public void ListJobsMaxCountTest()
// Build some CloudJobs instead of querying the service on a List CloudJobs call
CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
index 270d4fdf20be..2c69a1fe4c38 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
@@ -55,7 +55,7 @@ public void NewBatchJobParametersTest()
cmdlet.Id = "testJob";
// Don't go to the service on an Add CloudJob call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
index 23a561df6363..77f41c41c178 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
@@ -59,7 +59,7 @@ public void RemoveBatchJobParametersTest()
cmdlet.Id = "job-1";
// Don't go to the service on a Delete CloudJob call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/SetBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/SetBatchJobCommandTests.cs
new file mode 100644
index 000000000000..e54a2543ec4e
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/SetBatchJobCommandTests.cs
@@ -0,0 +1,64 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Management.Automation;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Jobs
+{
+ public class SetBatchJobCommandTests
+ {
+ private SetBatchJobCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public SetBatchJobCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new SetBatchJobCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetBatchJobParametersTest()
+ {
+ // Setup cmdlet without the required parameters
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Job = new PSCloudJob(BatchTestHelpers.CreateFakeBoundJob(context));
+
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
+ cmdlet.AdditionalBehaviors = new BatchClientBehavior[] {interceptor};
+
+ // Verify that no exceptions occur
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
index 90f57972cccb..0a099508bb41 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -56,7 +55,7 @@ public void StopJobParametersTest()
cmdlet.Id = "testJob";
// Don't go to the service on a Terminate CloudJob call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -77,21 +76,12 @@ public void StopJobRequestTest()
cmdlet.TerminateReason = terminateReason;
// Don't go to the service on a Terminate CloudJob call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- // Grab the terminate reason off the outgoing request
- requestTerminateReason = request.TypedParameters.TerminateReason;
-
- request.ServiceRequestFunc = (cancellationToken) =>
+ Action> extractTerminateReasponAction =
+ (request) =>
{
- CloudJobTerminateResponse response = new CloudJobTerminateResponse();
- Task task = Task.FromResult(response);
- return task;
+ requestTerminateReason = request.TypedParameters.TerminateReason;
};
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor(requestAction: extractTerminateReasponAction);
cmdlet.AdditionalBehaviors = new List() { interceptor };
cmdlet.ExecuteCmdlet();
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
index 8d91defea029..be27c988687c 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
@@ -55,7 +55,7 @@ public void DisableAutoScaleParametersTest()
cmdlet.Id = "testPool";
// Don't go to the service on an Disable AutoScale call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
index 1f9c1611a5ec..9ce1294d31de 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -60,7 +59,7 @@ public void EnableAutoScaleParametersTest()
cmdlet.AutoScaleFormula = "formula";
// Don't go to the service on an Enable AutoScale call
- RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
+ RequestInterceptor interceptor = BatchTestHelpers.CreateFakeServiceResponseInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -81,21 +80,12 @@ public void EnableAutoScaleRequestTest()
cmdlet.AutoScaleFormula = formula;
// Don't go to the service on an Enable AutoScale call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest