protected override void ProcessRecord() { var request = new CatIndicesRequest(GetIndices(this.Index)); var cat = this.Client.CatIndices(request); this.CheckResponse(cat); foreach (var index in cat.Records) { WriteObject(new Types.Index(index)); } }
public ICatResponse <CatIndicesRecord> IndexList() { var request = new CatIndicesRequest(); return(client.CatIndices(request)); }