def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
      regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
    end
def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
      regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
    end
Regenerates the specified account key for the specified Cognitive Services
 account.

 @param resource_group_name [String] The name of the resource group within the
 user's subscription.
 @param account_name [String] The name of Cognitive Services account.
 @param key_name [KeyName] key name to generate (Key1|Key2). Possible values
 include: 'Key1', 'Key2'
 @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.