def get_by_environment_with_http_info(location, environment, cluster_version, custom_headers:nil)
      get_by_environment_async(location, environment, cluster_version, custom_headers:custom_headers).value!
    end
def get_by_environment_with_http_info(location, environment, cluster_version, custom_headers:nil)
      get_by_environment_async(location, environment, cluster_version, custom_headers:custom_headers).value!
    end
Gets information about a Service Fabric cluster code version available for
 the specified environment.

 Gets information about an available Service Fabric cluster code version by
 environment.

 @param location [String] The location for the cluster code versions. This is
 different from cluster location.
 @param environment [Enum] The operating system of the cluster. The default
 means all. Possible values include: 'Windows', 'Linux'
 @param cluster_version [String] The cluster code version.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.