code: public ServiceFuture<RegenerateKeyOutputInner> regenerateKeyAsync(String resourceGroupName, String mediaServiceName, KeyType keyType, final ServiceCallback<RegenerateKeyOutputInner> serviceCallback) {
          return ServiceFuture.fromResponse(regenerateKeyWithServiceResponseAsync(resourceGroupName, mediaServiceName, keyType), serviceCallback);
      }
docs: Regenerates a primary or secondary key for a Media Service.
  
  @param resourceGroupName Name of the resource group within the Azure subscription.
  @param mediaServiceName Name of the Media Service.
  @param keyType The keyType indicating which key you want to regenerate, Primary or Secondary. Possible values include: 'Primary', 'Secondary'
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object