[U] public override async Task Urls()
 {
     var name = "x";
     await UrlTester.DELETE($"/_ccr/auto_follow/{name}")
     .Fluent(c => c.CrossClusterReplication.DeleteAutoFollowPattern(name, d => d))
     .Request(c => c.CrossClusterReplication.DeleteAutoFollowPattern(new DeleteAutoFollowPatternRequest(name)))
     .FluentAsync(c => c.CrossClusterReplication.DeleteAutoFollowPatternAsync(name, d => d))
     .RequestAsync(c => c.CrossClusterReplication.DeleteAutoFollowPatternAsync(new DeleteAutoFollowPatternRequest(name)));
 }
예제 #2
0
 [U] public override async Task Urls() => await UrlTester.DELETE("/_ml/calendars/calendar_id/events/event_id")
 .Fluent(c => c.MachineLearning.DeleteCalendarEvent("calendar_id", "event_id", p => p))
 .Request(c => c.MachineLearning.DeleteCalendarEvent(new DeleteCalendarEventRequest("calendar_id", "event_id")))
 .FluentAsync(c => c.MachineLearning.DeleteCalendarEventAsync("calendar_id", "event_id", p => p))
 .RequestAsync(c => c.MachineLearning.DeleteCalendarEventAsync(new DeleteCalendarEventRequest("calendar_id", "event_id")));
 [U] public override async Task Urls() => await UrlTester.DELETE("/_security/api_key")
 .Fluent(c => c.Security.InvalidateApiKey(p => p))
 .Request(c => c.Security.InvalidateApiKey(new InvalidateApiKeyRequest()))
 .FluentAsync(c => c.Security.InvalidateApiKeyAsync(p => p))
 .RequestAsync(c => c.Security.InvalidateApiKeyAsync(new InvalidateApiKeyRequest()));