public Task<CcrResumeAutoFollowPatternResponse> ResumeAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action<CcrResumeAutoFollowPatternRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new CcrResumeAutoFollowPatternRequestDescriptor(name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequestAsync<CcrResumeAutoFollowPatternRequestDescriptor, CcrResumeAutoFollowPatternResponse>(descriptor); }
public CcrResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action<CcrResumeAutoFollowPatternRequestDescriptor> configureRequest = null) { var descriptor = new CcrResumeAutoFollowPatternRequestDescriptor(name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequest<CcrResumeAutoFollowPatternRequestDescriptor, CcrResumeAutoFollowPatternResponse>(descriptor); }