def regenerate_primary_key(resource_group_name, service_name, sid, custom_headers:nil)
      response = regenerate_primary_key_async(resource_group_name, service_name, sid, custom_headers:custom_headers).value!
      nil
    end
def regenerate_primary_key(resource_group_name, service_name, sid, custom_headers:nil)
      response = regenerate_primary_key_async(resource_group_name, service_name, sid, custom_headers:custom_headers).value!
      nil
    end
Regenerates primary key of existing subscription of the API Management
 service instance.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param sid [String] Subscription entity Identifier. The entity represents the
 association between a user and a product in API Management.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.