code: public ServiceFuture<RedisAccessKeysInner> regenerateKeyAsync(String resourceGroupName, String name, RedisKeyType keyType, final ServiceCallback<RedisAccessKeysInner> serviceCallback) {
          return ServiceFuture.fromResponse(regenerateKeyWithServiceResponseAsync(resourceGroupName, name, keyType), serviceCallback);
      }
docs: Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
  
  @param resourceGroupName The name of the resource group.
  @param name The name of the Redis cache.
  @param keyType The Redis access key to regenerate. 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