public SimpleNetworkSecurityGroup(NetworkSecurityGroupGetResponse networkSecurityGroupAsGetResponse) :
            this(
            networkSecurityGroupAsGetResponse.Name,
            networkSecurityGroupAsGetResponse.Location,
            networkSecurityGroupAsGetResponse.Label)
        {

        }
 public NetworkSecurityGroupWithRules(NetworkSecurityGroupGetResponse networkSecurityGroupAsGetResponse)
     : base(networkSecurityGroupAsGetResponse)
 {
     Mapper.CreateMap<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityRule, NetworkSecurityRule>();
     if (networkSecurityGroupAsGetResponse.Rules != null)
     {
         rules.AddRange(networkSecurityGroupAsGetResponse.Rules.Select(Mapper.Map<NetworkSecurityRule>));
     }
 }