def list_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
      list_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
    end
def list_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
      list_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
    end
Get a list of deployments.

 @param resource_group_name [String] The name of the resource group to filter
 by. The name is case insensitive.
 @param filter [String] The filter to apply on the operation.
 @param top [Integer] Query parameters. If null is passed returns all
 deployments.
 @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.