code: @Nonnull
      @Override
      public AffinityGroup get(@Nonnull String affinityGroupId) throws InternalException, CloudException {
          if(affinityGroupId == null || affinityGroupId.isEmpty())
              throw new InternalException("Please specify the id for the affinity group you want to retrieve.");
  
          AzureMethod method = new AzureMethod(this.provider);
          final AffinityGroupModel affinityGroupModel = method.get(AffinityGroupModel.class, String.format(RESOURCE_AFFINITYGROUP, affinityGroupId));
  
          //TODO see if name is enough to be used as an id
          return AffinityGroup.getInstance(affinityGroupModel.getName(),affinityGroupModel.getName(),affinityGroupModel.getDescription(), affinityGroupModel.getLocation(), null);
      }
docs: Retrieves the details of the specified Affinity Group from the cloud
  
  @param affinityGroupId the ID of the affinity group to be retrieved
  @return the Dasein AffinityGroup object
  @throws org.dasein.cloud.InternalException an error occurred within the Dasein Cloud implementation retrieving the affinity group
  @throws org.dasein.cloud.CloudException    an error occurred within the service provider retrieving the affinity group