Skip to content

Commit

Permalink
Merge pull request #6 from PauloRamosGit/master
Browse files Browse the repository at this point in the history
v1.3.1.0
  • Loading branch information
Kay Singh committed Jun 28, 2016
2 parents 4fb0011 + 3d6fdc7 commit fd65e6c
Show file tree
Hide file tree
Showing 11 changed files with 209 additions and 90 deletions.
7 changes: 0 additions & 7 deletions migaz/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,3 @@ As the Storage Accounts supports a maximum of 24 characters in the name, and the
### Troubleshooting
The detailed logs and output of the REST API are captured in the location %USERPROFILE%\appdata\Local with the file name migAz-<YYYYMMDD>.log and migAz-XML-<YYYYMMDD>.log.
In case of any issues during the deployment of the export.JSON you need to troubleshoot the template properties and fix the invalid entries. Report any issue on the tool site.

## Known Issues
Issue #1: If there are more than one Availability set in a Cloud Service then the ARM deployment fails with the below error message.

Error: “Microsoft.Compute/virtualMachines/<VM Name> is using different Availability Set than other Virtual Machines connected to the Load Balancer(s) <VM Name>”

Workaround: As ARM does not support multiple Availability sets under a single Load Balancer we need to use single availability set for all the VM’s or we need to have a separate Load Balancer for each Availability Set.
Binary file not shown.
6 changes: 6 additions & 0 deletions migaz/source/MIGAZ/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<setting name="BuildEmpty" serializeAs="String">
<value>False</value>
</setting>
<setting name="ExecutionId" serializeAs="String">
<value />
</setting>
</MIGAZ.app>
</userSettings>
<applicationSettings>
Expand All @@ -35,6 +38,9 @@
<setting name="ReturnURL" serializeAs="String">
<value>urn:ietf:wg:oauth:2.0:oob</value>
</setting>
<setting name="AllowTag" serializeAs="String">
<value>True</value>
</setting>
</MIGAZ.app>
</applicationSettings>
</configuration>
12 changes: 11 additions & 1 deletion migaz/source/MIGAZ/Classes/ARM.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System;

namespace MIGAZ.Classes.ARM
{
Expand Down Expand Up @@ -439,8 +439,18 @@ public class Resource
public string apiVersion;
public string name;
public string location = "[resourceGroup().location]";
public Dictionary<string, string> tags;
public List<string> dependsOn;
public object properties;

public Resource()
{
if (app.Default.AllowTag)
{
tags = new Dictionary<string, string>();
tags.Add("migAz", app.Default.ExecutionId);
}
}
}

public class Parameter
Expand Down
1 change: 1 addition & 0 deletions migaz/source/MIGAZ/Classes/Tool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class CopyBlobDetail

public class TelemetryRecord
{
public Guid ExecutionId;
public string TenantId;
public System.Guid SubscriptionId;
public Dictionary<string, string> ProcessedResources;
Expand Down
90 changes: 50 additions & 40 deletions migaz/source/MIGAZ/Forms/Window.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd65e6c

Please sign in to comment.