[U] public override async Task Urls() { var name = "x"; await UrlTester.PUT($"/{name}/_ccr/follow") .Fluent(c => c.CrossClusterReplication.CreateFollowIndex(name, d => d)) .Request(c => c.CrossClusterReplication.CreateFollowIndex(new CreateFollowIndexRequest(name))) .FluentAsync(c => c.CrossClusterReplication.CreateFollowIndexAsync(name, d => d)) .RequestAsync(c => c.CrossClusterReplication.CreateFollowIndexAsync(new CreateFollowIndexRequest(name))); }
[U] public async Task Urls() { await UrlTester.PUT("/_xpack/security/user/mpdreamz") .Fluent(c => c.PutUser("mpdreamz")) .Request(c => c.PutUser(new PutUserRequest("mpdreamz"))) .FluentAsync(c => c.PutUserAsync("mpdreamz")) .RequestAsync(c => c.PutUserAsync(new PutUserRequest("mpdreamz"))) ; }
[U] public override async Task Urls() { var name = "x"; await UrlTester.PUT($"/_ccr/auto_follow/{name}") .Fluent(c => c.CrossClusterReplication.CreateAutoFollowPattern(name, d => d)) .Request(c => c.CrossClusterReplication.CreateAutoFollowPattern(new CreateAutoFollowPatternRequest(name))) .FluentAsync(c => c.CrossClusterReplication.CreateAutoFollowPatternAsync(name, d => d)) .RequestAsync(c => c.CrossClusterReplication.CreateAutoFollowPatternAsync(new CreateAutoFollowPatternRequest(name))); }
[U] public override async Task Urls() => await UrlTester.PUT("/_security/user/mpdreamz") .Fluent(c => c.Security.PutUser("mpdreamz", p => p)) .Request(c => c.Security.PutUser(new PutUserRequest("mpdreamz"))) .FluentAsync(c => c.Security.PutUserAsync("mpdreamz", p => p)) .RequestAsync(c => c.Security.PutUserAsync(new PutUserRequest("mpdreamz")));
[U] public override async Task Urls() => await UrlTester.PUT("/_security/api_key") .Fluent(c => c.Security.CreateApiKey(p => p)) .Request(c => c.Security.CreateApiKey(new CreateApiKeyRequest())) .FluentAsync(c => c.Security.CreateApiKeyAsync(p => p)) .RequestAsync(c => c.Security.CreateApiKeyAsync(new CreateApiKeyRequest()));