def begin_regenerate_key(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
      response = begin_regenerate_key_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_regenerate_key(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
      response = begin_regenerate_key_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be
 regenerated at the same time.

 @param resource_group_name [String] The name of the resource group that
 contains the resource. You can obtain this value from the Azure Resource
 Manager API or the portal.
 @param resource_name [String] The name of the SignalR resource.
 @param parameters [RegenerateKeyParameters] Parameter that describes the
 Regenerate Key Operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SignalRKeys] operation results.