def get_environment(user_name, environment_operations_payload, expand:nil, custom_headers:nil)
      response = get_environment_async(user_name, environment_operations_payload, expand:expand, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_environment(user_name, environment_operations_payload, expand:nil, custom_headers:nil)
      response = get_environment_async(user_name, environment_operations_payload, expand:expand, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the virtual machine details

 @param user_name [String] The name of the user.
 @param environment_operations_payload [EnvironmentOperationsPayload]
 Represents payload for any Environment operations like get, start, stop,
 connect
 @param expand [String] Specify the $expand query. Example:
 'properties($expand=environment)'
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [GetEnvironmentResponse] operation results.