def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
      create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
    end
def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
      create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
    end
Creates or updates the specified compute policy. During update, the compute
 policy with the specified name will be replaced with this new compute policy.
 An account supports, at most, 50 policies

 @param resource_group_name [String] The name of the Azure resource group.
 @param account_name [String] The name of the Data Lake Analytics account.
 @param compute_policy_name [String] The name of the compute policy to create
 or update.
 @param parameters [CreateOrUpdateComputePolicyParameters] Parameters supplied
 to create or update the compute policy. The max degree of parallelism per job
 property, min priority per job property, or both must be present.
 @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.