code: public Observable<EnvironmentInner> getAsync(String resourceGroupName, String labAccountName, String labName, String environmentSettingName, String environmentName, String expand) {
          return getWithServiceResponseAsync(resourceGroupName, labAccountName, labName, environmentSettingName, environmentName, expand).map(new Func1<ServiceResponse<EnvironmentInner>, EnvironmentInner>() {
              @Override
              public EnvironmentInner call(ServiceResponse<EnvironmentInner> response) {
                  return response.body();
              }
          });
      }
docs: Get environment.
  
  @param resourceGroupName The name of the resource group.
  @param labAccountName The name of the lab Account.
  @param labName The name of the lab.
  @param environmentSettingName The name of the environment Setting.
  @param environmentName The name of the environment.
  @param expand Specify the $expand query. Example: 'properties($expand=networkInterface)'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the EnvironmentInner object