This file is indexed.

/usr/share/doc/python-elasticsearch-curator-doc/html/actionclasses.html is in python-elasticsearch-curator-doc 5.2.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Action Classes &#8212; Elasticsearch Curator 5.2.0 documentation</title>
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '5.2.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Filter Methods" href="filters.html" />
    <link rel="prev" title="Object Classes" href="objectclasses.html" /> 
  </head>
  <body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="filters.html" title="Filter Methods"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="objectclasses.html" title="Object Classes"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">Elasticsearch Curator 5.2.0 documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="action-classes">
<span id="actionclasses"></span><h1>Action Classes<a class="headerlink" href="#action-classes" title="Permalink to this headline"></a></h1>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last">It is important to note that each action has a <cite>do_action()</cite>
method, which accepts no arguments.  This is the means by which all
actions are executed.</p>
</div>
<ul class="simple">
<li><a class="reference internal" href="#alias">Alias</a></li>
<li><a class="reference internal" href="#allocation">Allocation</a></li>
<li><a class="reference internal" href="#close">Close</a></li>
<li><a class="reference internal" href="#clusterrouting">ClusterRouting</a></li>
<li><a class="reference internal" href="#createindex">CreateIndex</a></li>
<li><a class="reference internal" href="#deleteindices">DeleteIndices</a></li>
<li><a class="reference internal" href="#deletesnapshots">DeleteSnapshots</a></li>
<li><a class="reference internal" href="#forcemerge">ForceMerge</a></li>
<li><a class="reference internal" href="#indexsettings">IndexSettings</a></li>
<li><a class="reference internal" href="#open">Open</a></li>
<li><a class="reference internal" href="#reindex">Reindex</a></li>
<li><a class="reference internal" href="#replicas">Replicas</a></li>
<li><a class="reference internal" href="#restore">Restore</a></li>
<li><a class="reference internal" href="#rollover">Rollover</a></li>
<li><a class="reference internal" href="#shrink">Shrink</a></li>
<li><a class="reference internal" href="#snapshot">Snapshot</a></li>
</ul>
<div class="section" id="alias">
<h2>Alias<a class="headerlink" href="#alias" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Alias">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Alias</code><span class="sig-paren">(</span><em>name=None</em>, <em>extra_settings={}</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias" title="Permalink to this definition"></a></dt>
<dd><p>Define the Alias object.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> – The alias name</li>
<li><strong>extra_settings</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#dict" title="(in Python v3.6)"><em>dict</em></a><em>, </em><em>representing the settings.</em>) – Extra settings, including filters and routing. For
more information see
<a class="reference external" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Alias.actions">
<code class="descname">actions</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Alias.actions" title="Permalink to this definition"></a></dt>
<dd><p>The list of actions to perform.  Populated by
<a class="reference internal" href="#curator.actions.Alias.add" title="curator.actions.Alias.add"><code class="xref py py-mod docutils literal"><span class="pre">curator.actions.Alias.add</span></code></a> and
<a class="reference internal" href="#curator.actions.Alias.remove" title="curator.actions.Alias.remove"><code class="xref py py-mod docutils literal"><span class="pre">curator.actions.Alias.remove</span></code></a></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Alias.add">
<code class="descname">add</code><span class="sig-paren">(</span><em>ilo</em>, <em>warn_if_no_indices=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias.add" title="Permalink to this definition"></a></dt>
<dd><p>Create <cite>add</cite> statements for each index in <cite>ilo</cite> for <cite>alias</cite>, then
append them to <cite>actions</cite>.  Add any <cite>extras</cite> that may be there.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Alias.body">
<code class="descname">body</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias.body" title="Permalink to this definition"></a></dt>
<dd><p>Return a <cite>body</cite> string suitable for use with the <cite>update_aliases</cite> API
call.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Alias.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Alias.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Alias.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Run the API call <cite>update_aliases</cite> with the results of <cite>body()</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Alias.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Alias.extra_settings">
<code class="descname">extra_settings</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Alias.extra_settings" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Any extra things to add to the alias, like filters, or routing.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Alias.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Alias.name" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
The strftime parsed version of <cite>name</cite>.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Alias.remove">
<code class="descname">remove</code><span class="sig-paren">(</span><em>ilo</em>, <em>warn_if_no_indices=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Alias.remove" title="Permalink to this definition"></a></dt>
<dd><p>Create <cite>remove</cite> statements for each index in <cite>ilo</cite> for <cite>alias</cite>,
then append them to <cite>actions</cite>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="allocation">
<h2>Allocation<a class="headerlink" href="#allocation" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Allocation">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Allocation</code><span class="sig-paren">(</span><em>ilo</em>, <em>key=None</em>, <em>value=None</em>, <em>allocation_type='require'</em>, <em>wait_for_completion=False</em>, <em>wait_interval=3</em>, <em>max_wait=-1</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Allocation" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>key</strong> – An arbitrary metadata attribute key.  Must match the key
assigned to at least some of your nodes to have any effect.</li>
<li><strong>value</strong> – An arbitrary metadata attribute value.  Must correspond to
values associated with <cite>key</cite> assigned to at least some of your nodes
to have any effect. If a <cite>None</cite> value is provided, it will remove
any setting associated with that <cite>key</cite>.</li>
<li><strong>allocation_type</strong> – Type of allocation to apply. Default is <cite>require</cite></li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>False</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
</ul>
</td>
</tr>
</tbody>
</table>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">See:
<a class="reference external" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-allocation-filtering.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-allocation-filtering.html</a></p>
</div>
<dl class="attribute">
<dt id="curator.actions.Allocation.bkey">
<code class="descname">bkey</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.bkey" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Populated at instance creation time. Value is
<code class="docutils literal"><span class="pre">index.routing.allocation.</span></code> <cite>allocation_type</cite> <code class="docutils literal"><span class="pre">.</span></code> <cite>key</cite> <code class="docutils literal"><span class="pre">.</span></code> <cite>value</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Allocation.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Allocation.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Allocation.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Change allocation settings for indices in <cite>index_list.indices</cite> with the
settings in <cite>body</cite>.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Allocation.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Allocation.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Allocation.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Allocation.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Allocation.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Allocation.wfc">
<code class="descname">wfc</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Allocation.wfc" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_completion</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="close">
<h2>Close<a class="headerlink" href="#close" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Close">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Close</code><span class="sig-paren">(</span><em>ilo</em>, <em>delete_aliases=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Close" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>delete_aliases</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – If <cite>True</cite>, will delete any associated aliases
before closing indices.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Close.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Close.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Close.delete_aliases">
<code class="descname">delete_aliases</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Close.delete_aliases" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>delete_aliases</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Close.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Close.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Close open indices in <cite>index_list.indices</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Close.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Close.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Close.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Close.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="clusterrouting">
<h2>ClusterRouting<a class="headerlink" href="#clusterrouting" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.ClusterRouting">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">ClusterRouting</code><span class="sig-paren">(</span><em>client</em>, <em>routing_type=None</em>, <em>setting=None</em>, <em>value=None</em>, <em>wait_for_completion=False</em>, <em>wait_interval=9</em>, <em>max_wait=-1</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ClusterRouting" title="Permalink to this definition"></a></dt>
<dd><p>For now, the cluster routing settings are hardcoded to be <code class="docutils literal"><span class="pre">transient</span></code></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>client</strong> – An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</li>
<li><strong>routing_type</strong> – Type of routing to apply. Either <cite>allocation</cite> or
<cite>rebalance</cite></li>
<li><strong>setting</strong> – Currently, the only acceptable value for <cite>setting</cite> is
<code class="docutils literal"><span class="pre">enable</span></code>. This is here in case that changes.</li>
<li><strong>value</strong> – Used only if <cite>setting</cite> is <cite>enable</cite>. Semi-dependent on
<cite>routing_type</cite>. Acceptable values for <cite>allocation</cite> and <cite>rebalance</cite>
are <code class="docutils literal"><span class="pre">all</span></code>, <code class="docutils literal"><span class="pre">primaries</span></code>, and <code class="docutils literal"><span class="pre">none</span></code> (string, not <cite>NoneType</cite>).
If <cite>routing_type</cite> is <cite>allocation</cite>, this can also be
<code class="docutils literal"><span class="pre">new_primaries</span></code>, and if <cite>rebalance</cite>, it can be <code class="docutils literal"><span class="pre">replicas</span></code>.</li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>False</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.ClusterRouting.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ClusterRouting.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.ClusterRouting.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ClusterRouting.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Change cluster routing settings with the settings in <cite>body</cite>.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.ClusterRouting.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ClusterRouting.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ClusterRouting.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ClusterRouting.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ClusterRouting.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ClusterRouting.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ClusterRouting.wfc">
<code class="descname">wfc</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ClusterRouting.wfc" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_completion</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="createindex">
<h2>CreateIndex<a class="headerlink" href="#createindex" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.CreateIndex">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">CreateIndex</code><span class="sig-paren">(</span><em>client</em>, <em>name</em>, <em>extra_settings={}</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.CreateIndex" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>client</strong> – An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</li>
<li><strong>name</strong> – A name, which can contain <a class="reference external" href="https://docs.python.org/3.6/library/time.html#time.strftime" title="(in Python v3.6)"><code class="xref py py-func docutils literal"><span class="pre">time.strftime()</span></code></a>
strings</li>
<li><strong>extra_settings</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#dict" title="(in Python v3.6)"><em>dict</em></a><em>, </em><em>representing the settings and mappings.</em>) – The <cite>settings</cite> and <cite>mappings</cite> for the index. For
more information see
<a class="reference external" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.CreateIndex.body">
<code class="descname">body</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.CreateIndex.body" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Extracted from the config yaml, it should be a dictionary of
mappings and settings suitable for index creation.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.CreateIndex.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.CreateIndex.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.CreateIndex.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.CreateIndex.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Create index identified by <cite>name</cite> with settings in <cite>body</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.CreateIndex.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.CreateIndex.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.CreateIndex.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.CreateIndex.name" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The parsed version of <cite>name</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="deleteindices">
<h2>DeleteIndices<a class="headerlink" href="#deleteindices" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.DeleteIndices">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">DeleteIndices</code><span class="sig-paren">(</span><em>ilo</em>, <em>master_timeout=30</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteIndices" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>master_timeout</strong> – Number of seconds to wait for master node response</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.DeleteIndices.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteIndices.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.DeleteIndices.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteIndices.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Delete indices in <cite>index_list.indices</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.DeleteIndices.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteIndices.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteIndices.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteIndices.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteIndices.master_timeout">
<code class="descname">master_timeout</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteIndices.master_timeout" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
String value of <cite>master_timeout</cite> + ‘s’, for seconds.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="deletesnapshots">
<h2>DeleteSnapshots<a class="headerlink" href="#deletesnapshots" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.DeleteSnapshots">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">DeleteSnapshots</code><span class="sig-paren">(</span><em>slo</em>, <em>retry_interval=120</em>, <em>retry_count=3</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteSnapshots" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>slo</strong> – A <a class="reference internal" href="objectclasses.html#curator.snapshotlist.SnapshotList" title="curator.snapshotlist.SnapshotList"><code class="xref py py-class docutils literal"><span class="pre">curator.snapshotlist.SnapshotList</span></code></a> object</li>
<li><strong>retry_interval</strong> – Number of seconds to delay betwen retries. Default:
120 (seconds)</li>
<li><strong>retry_count</strong> – Number of attempts to make. Default: 3</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.DeleteSnapshots.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteSnapshots.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>slo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.DeleteSnapshots.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteSnapshots.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Delete snapshots in <cite>slo</cite>
Retry up to <cite>retry_count</cite> times, pausing <cite>retry_interval</cite>
seconds between retries.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.DeleteSnapshots.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.DeleteSnapshots.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteSnapshots.repository">
<code class="descname">repository</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteSnapshots.repository" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The repository name derived from <cite>slo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteSnapshots.retry_count">
<code class="descname">retry_count</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteSnapshots.retry_count" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>retry_count</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteSnapshots.retry_interval">
<code class="descname">retry_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteSnapshots.retry_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>retry_interval</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.DeleteSnapshots.snapshot_list">
<code class="descname">snapshot_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.DeleteSnapshots.snapshot_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>slo</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="forcemerge">
<h2>ForceMerge<a class="headerlink" href="#forcemerge" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.ForceMerge">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">ForceMerge</code><span class="sig-paren">(</span><em>ilo</em>, <em>max_num_segments=None</em>, <em>delay=0</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ForceMerge" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>max_num_segments</strong> – Number of segments per shard to forceMerge</li>
<li><strong>delay</strong> – Number of seconds to delay between forceMerge operations</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.ForceMerge.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ForceMerge.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ForceMerge.delay">
<code class="descname">delay</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ForceMerge.delay" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>delay</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.ForceMerge.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ForceMerge.do_action" title="Permalink to this definition"></a></dt>
<dd><p>forcemerge indices in <cite>index_list.indices</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.ForceMerge.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.ForceMerge.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ForceMerge.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ForceMerge.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.ForceMerge.max_num_segments">
<code class="descname">max_num_segments</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.ForceMerge.max_num_segments" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>max_num_segments</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="indexsettings">
<h2>IndexSettings<a class="headerlink" href="#indexsettings" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.IndexSettings">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">IndexSettings</code><span class="sig-paren">(</span><em>ilo</em>, <em>index_settings={}</em>, <em>ignore_unavailable=False</em>, <em>preserve_existing=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.IndexSettings" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>index_settings</strong> – A dictionary structure with one or more index
settings to change.</li>
<li><strong>ignore_unavailable</strong> – Whether specified concrete indices should be 
ignored when unavailable (missing or closed)</li>
<li><strong>preserve_existing</strong> – Whether to update existing settings. If set to 
<code class="docutils literal"><span class="pre">True</span></code> existing settings on an index remain unchanged. The default
is <code class="docutils literal"><span class="pre">False</span></code></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.IndexSettings.body">
<code class="descname">body</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.IndexSettings.body" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>index_settings</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.IndexSettings.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.IndexSettings.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.IndexSettings.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.IndexSettings.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.IndexSettings.ignore_unavailable">
<code class="descname">ignore_unavailable</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.IndexSettings.ignore_unavailable" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ignore_unavailable</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.IndexSettings.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.IndexSettings.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.IndexSettings.preserve_existing">
<code class="descname">preserve_existing</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.IndexSettings.preserve_existing" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>preserve_settings</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="open">
<h2>Open<a class="headerlink" href="#open" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Open">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Open</code><span class="sig-paren">(</span><em>ilo</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Open" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Open.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Open.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Open.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Open.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Open closed indices in <cite>index_list.indices</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Open.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Open.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Open.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Open.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="reindex">
<h2>Reindex<a class="headerlink" href="#reindex" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Reindex">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Reindex</code><span class="sig-paren">(</span><em>ilo</em>, <em>request_body</em>, <em>refresh=True</em>, <em>requests_per_second=-1</em>, <em>slices=1</em>, <em>timeout=60</em>, <em>wait_for_active_shards=1</em>, <em>wait_for_completion=True</em>, <em>max_wait=-1</em>, <em>wait_interval=9</em>, <em>remote_url_prefix=None</em>, <em>remote_ssl_no_validate=None</em>, <em>remote_certificate=None</em>, <em>remote_client_cert=None</em>, <em>remote_client_key=None</em>, <em>remote_aws_key=None</em>, <em>remote_aws_secret_key=None</em>, <em>remote_aws_region=None</em>, <em>remote_filters={}</em>, <em>migration_prefix=''</em>, <em>migration_suffix=''</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Reindex" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>request_body</strong> – The body to send to
<a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch.reindex" title="(in Elasticsearch v5.4.0)"><code class="xref py py-meth docutils literal"><span class="pre">elasticsearch.Elasticsearch.reindex()</span></code></a>, which must be complete and
usable, as Curator will do no vetting of the request_body. If it
fails to function, Curator will return an exception.</li>
<li><strong>refresh</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Whether to refresh the entire target index after the
operation is complete. (default: <cite>True</cite>)</li>
<li><strong>requests_per_second</strong> – The throttle to set on this request in
sub-requests per second. <code class="docutils literal"><span class="pre">-1</span></code> means set no throttle as does
<code class="docutils literal"><span class="pre">unlimited</span></code> which is the only non-float this accepts. (default:
<code class="docutils literal"><span class="pre">-1</span></code>)</li>
<li><strong>slices</strong> – The number of slices this task  should be divided into. 1
means the task will not be sliced into subtasks. (default: <code class="docutils literal"><span class="pre">1</span></code>)</li>
<li><strong>timeout</strong> – The length in seconds each individual bulk request should
wait for shards that are unavailable. (default: <code class="docutils literal"><span class="pre">60</span></code>)</li>
<li><strong>wait_for_active_shards</strong> – Sets the number of shard copies that must
be active before proceeding with the reindex operation. (default:
<code class="docutils literal"><span class="pre">1</span></code>) means the primary shard only. Set to <code class="docutils literal"><span class="pre">all</span></code> for all shard
copies, otherwise set to any non-negative value less than or equal
to the total number of copies for the shard (number of replicas + 1)</li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>True</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
<li><strong>remote_url_prefix</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#str" title="(in Python v3.6)"><em>str</em></a>) – <cite>Optional</cite> url prefix, if needed to reach the
Elasticsearch API (i.e., it’s not at the root level)</li>
<li><strong>remote_ssl_no_validate</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – If <cite>True</cite>, do not validate the certificate
chain.  This is an insecure option and you will see warnings in the
log output.</li>
<li><strong>remote_certificate</strong> – Path to SSL/TLS certificate</li>
<li><strong>remote_client_cert</strong> – Path to SSL/TLS client certificate (public key)</li>
<li><strong>remote_client_key</strong> – Path to SSL/TLS private key</li>
<li><strong>remote_aws_key</strong> – AWS IAM Access Key (Only used if the
<code class="xref py py-mod docutils literal"><span class="pre">requests-aws4auth</span></code> python module is installed)</li>
<li><strong>remote_aws_secret_key</strong> – AWS IAM Secret Access Key (Only used if the
<code class="xref py py-mod docutils literal"><span class="pre">requests-aws4auth</span></code> python module is installed)</li>
<li><strong>remote_aws_region</strong> – AWS Region (Only used if the
<code class="xref py py-mod docutils literal"><span class="pre">requests-aws4auth</span></code> python module is installed)</li>
<li><strong>remote_filters</strong> – Apply these filters to the remote client for
remote index selection.</li>
<li><strong>migration_prefix</strong> – When migrating, prepend this value to the index 
name.</li>
<li><strong>migration_suffix</strong> – When migrating, append this value to the index 
name.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Reindex.body">
<code class="descname">body</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.body" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>request_body</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Reindex.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Reindex.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Execute <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch.reindex" title="(in Elasticsearch v5.4.0)"><code class="xref py py-meth docutils literal"><span class="pre">elasticsearch.Elasticsearch.reindex()</span></code></a> operation with the
provided request_body and arguments.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Reindex.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Reindex.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.mpfx">
<code class="descname">mpfx</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.mpfx" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>migration_prefix</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.msfx">
<code class="descname">msfx</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.msfx" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>migration_suffix</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.refresh">
<code class="descname">refresh</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.refresh" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>refresh</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.requests_per_second">
<code class="descname">requests_per_second</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.requests_per_second" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>requests_per_second</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Reindex.show_run_args">
<code class="descname">show_run_args</code><span class="sig-paren">(</span><em>source</em>, <em>dest</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Reindex.show_run_args" title="Permalink to this definition"></a></dt>
<dd><p>Show what will run</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.slices">
<code class="descname">slices</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.slices" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>slices</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.timeout">
<code class="descname">timeout</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.timeout" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>timeout</cite>, and add “s” for seconds.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.wait_for_active_shards">
<code class="descname">wait_for_active_shards</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.wait_for_active_shards" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_active_shards</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Reindex.wfc">
<code class="descname">wfc</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Reindex.wfc" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_completion</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="replicas">
<h2>Replicas<a class="headerlink" href="#replicas" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Replicas">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Replicas</code><span class="sig-paren">(</span><em>ilo</em>, <em>count=None</em>, <em>wait_for_completion=False</em>, <em>wait_interval=9</em>, <em>max_wait=-1</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Replicas" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>count</strong> – The count of replicas per shard</li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>False</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Replicas.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Replicas.count">
<code class="descname">count</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.count" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>count</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Replicas.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Replicas.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Update the replica count of indices in <cite>index_list.indices</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Replicas.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Replicas.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Replicas.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Replicas.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Replicas.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Replicas.wfc">
<code class="descname">wfc</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Replicas.wfc" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_completion</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="restore">
<h2>Restore<a class="headerlink" href="#restore" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Restore">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Restore</code><span class="sig-paren">(</span><em>slo</em>, <em>name=None</em>, <em>indices=None</em>, <em>include_aliases=False</em>, <em>ignore_unavailable=False</em>, <em>include_global_state=False</em>, <em>partial=False</em>, <em>rename_pattern=None</em>, <em>rename_replacement=None</em>, <em>extra_settings={}</em>, <em>wait_for_completion=True</em>, <em>wait_interval=9</em>, <em>max_wait=-1</em>, <em>skip_repo_fs_check=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Restore" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>slo</strong> – A <a class="reference internal" href="objectclasses.html#curator.snapshotlist.SnapshotList" title="curator.snapshotlist.SnapshotList"><code class="xref py py-class docutils literal"><span class="pre">curator.snapshotlist.SnapshotList</span></code></a> object</li>
<li><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#str" title="(in Python v3.6)"><em>str</em></a>) – Name of the snapshot to restore.  If no name is provided, it
will restore the most recent snapshot by age.</li>
<li><strong>indices</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#list" title="(in Python v3.6)"><em>list</em></a>) – A list of indices to restore.  If no indices are provided,
it will restore all indices in the snapshot.</li>
<li><strong>include_aliases</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – If set to <cite>True</cite>, restore aliases with the
indices. (default: <cite>False</cite>)</li>
<li><strong>ignore_unavailable</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Ignore unavailable shards/indices.
(default: <cite>False</cite>)</li>
<li><strong>include_global_state</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Restore cluster global state with snapshot.
(default: <cite>False</cite>)</li>
<li><strong>partial</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Do not fail if primary shard is unavailable. (default:
<cite>False</cite>)</li>
<li><strong>rename_pattern</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#str" title="(in Python v3.6)"><em>str</em></a>) – A regular expression pattern with one or more
captures, e.g. <code class="docutils literal"><span class="pre">index_(.+)</span></code></li>
<li><strong>rename_replacement</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#str" title="(in Python v3.6)"><em>str</em></a>) – A target index name pattern with <cite>$#</cite> numbered
references to the captures in <code class="docutils literal"><span class="pre">rename_pattern</span></code>, e.g.
<code class="docutils literal"><span class="pre">restored_index_$1</span></code></li>
<li><strong>extra_settings</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#dict" title="(in Python v3.6)"><em>dict</em></a><em>, </em><em>representing the settings.</em>) – Extra settings, including shard count and settings
to omit. For more information see
<a class="reference external" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_changing_index_settings_during_restore">https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_changing_index_settings_during_restore</a></li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>True</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
<li><strong>skip_repo_fs_check</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Do not validate write access to repository on
all cluster nodes before proceeding. (default: <cite>False</cite>).  Useful for
shared filesystems where intermittent timeouts can affect
validation, but won’t likely affect snapshot success.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Restore.body">
<code class="descname">body</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.body" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Populated at instance creation time from the other options</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>slo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Restore.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Restore.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Restore indices with options passed.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Restore.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Restore.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.name" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Will use a provided snapshot name, or the most recent snapshot in slo</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.py_rename_replacement">
<code class="descname">py_rename_replacement</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.py_rename_replacement" title="Permalink to this definition"></a></dt>
<dd><p>Also an instance variable version of <code class="docutils literal"><span class="pre">rename_replacement</span></code>
but with Java regex group designations of <code class="docutils literal"><span class="pre">$#</span></code>
converted to Python’s <code class="docutils literal"><span class="pre">\\#</span></code> style.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.rename_pattern">
<code class="descname">rename_pattern</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.rename_pattern" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable version of <code class="docutils literal"><span class="pre">rename_pattern</span></code></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.rename_replacement">
<code class="descname">rename_replacement</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.rename_replacement" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable version of <code class="docutils literal"><span class="pre">rename_replacement</span></code></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Restore.report_state">
<code class="descname">report_state</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Restore.report_state" title="Permalink to this definition"></a></dt>
<dd><p>Log the state of the restore
This should only be done if <code class="docutils literal"><span class="pre">wait_for_completion</span></code> is <cite>True</cite>, and only
after completing the restore.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.repository">
<code class="descname">repository</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.repository" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
<cite>repository</cite> derived from <cite>slo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.skip_repo_fs_check">
<code class="descname">skip_repo_fs_check</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.skip_repo_fs_check" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>skip_repo_fs_check</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.snapshot_list">
<code class="descname">snapshot_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.snapshot_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>slo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Restore.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Restore.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="rollover">
<h2>Rollover<a class="headerlink" href="#rollover" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Rollover">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Rollover</code><span class="sig-paren">(</span><em>client</em>, <em>name</em>, <em>conditions</em>, <em>new_index=None</em>, <em>extra_settings=None</em>, <em>wait_for_active_shards=1</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Rollover" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>client</strong> – An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</li>
<li><strong>name</strong> – The name of the single-index-mapped alias to test for
rollover conditions.</li>
<li><strong>conditions</strong> – A dictionary of conditions to test</li>
<li><strong>extra_settings</strong> – Must be either <cite>None</cite>, or a dictionary of settings
to apply to the new index on rollover. This is used in place of
<cite>settings</cite> in the Rollover API, mostly because it’s already existent
in other places here in Curator</li>
<li><strong>wait_for_active_shards</strong> – The number of shards expected to be active
before returning.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">New_index:</th><td class="field-body"><p class="first last">The new index name</p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="curator.actions.Rollover.body">
<code class="descname">body</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Rollover.body" title="Permalink to this definition"></a></dt>
<dd><p>Create a body from conditions and settings</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Rollover.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Rollover.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Rollover.conditions">
<code class="descname">conditions</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Rollover.conditions" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>conditions</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Rollover.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Rollover.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Rollover the index referenced by alias <cite>name</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Rollover.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Rollover.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Rollover.doit">
<code class="descname">doit</code><span class="sig-paren">(</span><em>dry_run=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Rollover.doit" title="Permalink to this definition"></a></dt>
<dd><p>This exists solely to prevent having to have duplicate code in both
<cite>do_dry_run</cite> and <cite>do_action</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Rollover.new_index">
<code class="descname">new_index</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Rollover.new_index" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>new_index</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Rollover.settings">
<code class="descname">settings</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Rollover.settings" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>extra_settings</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Rollover.wait_for_active_shards">
<code class="descname">wait_for_active_shards</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Rollover.wait_for_active_shards" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>wait_for_active_shards</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="shrink">
<h2>Shrink<a class="headerlink" href="#shrink" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Shrink">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Shrink</code><span class="sig-paren">(</span><em>ilo</em>, <em>shrink_node='DETERMINISTIC'</em>, <em>node_filters={}</em>, <em>number_of_shards=1</em>, <em>number_of_replicas=1</em>, <em>shrink_prefix=''</em>, <em>shrink_suffix='-shrink'</em>, <em>delete_after=True</em>, <em>post_allocation={}</em>, <em>wait_for_active_shards=1</em>, <em>extra_settings={}</em>, <em>wait_for_completion=True</em>, <em>wait_interval=9</em>, <em>max_wait=-1</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Shrink" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>shrink_node</strong> – The node name to use as the shrink target, or
<code class="docutils literal"><span class="pre">DETERMINISTIC</span></code>, which will use the values in <code class="docutils literal"><span class="pre">node_filters</span></code> to
determine which node will be the shrink node.</li>
<li><strong>node_filters</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#dict" title="(in Python v3.6)"><em>dict</em></a><em>, </em><em>representing the filters</em>) – If the value of <code class="docutils literal"><span class="pre">shrink_node</span></code> is <code class="docutils literal"><span class="pre">DETERMINISTIC</span></code>, 
the values in <code class="docutils literal"><span class="pre">node_filters</span></code> will be used while determining which 
node to allocate the shards on before performing the shrink.</li>
<li><strong>number_of_shards</strong> – The number of shards the shrunk index should have</li>
<li><strong>number_of_replicas</strong> – The number of replicas for the shrunk index</li>
<li><strong>shrink_prefix</strong> – Prepend the shrunk index with this value</li>
<li><strong>shrink_suffix</strong> – Append the value to the shrunk index (default: <cite>-shrink</cite>)</li>
<li><strong>delete_after</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Whether to delete each index after shrinking. (default: <cite>True</cite>)</li>
<li><strong>post_allocation</strong> (dict, with keys <cite>allocation_type</cite>, <cite>key</cite>, and <cite>value</cite>) – If populated, the <cite>allocation_type</cite>, <cite>key</cite>, and 
<cite>value</cite> will be applied to the shrunk index to re-route it.</li>
<li><strong>wait_for_active_shards</strong> – The number of shards expected to be active before returning.</li>
<li><strong>extra_settings</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/stdtypes.html#dict" title="(in Python v3.6)"><em>dict</em></a>) – Permitted root keys are <cite>settings</cite> and <cite>aliases</cite>.  
See <a class="reference external" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html</a></li>
<li><strong>wait_for_active_shards</strong> – Wait for active shards before returning.</li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  You should not normally change this,
ever. (default: <cite>True</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Shrink.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.delete_after">
<code class="descname">delete_after</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.delete_after" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>delete_after</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Shrink.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Shrink.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Show what a regular run would do, but don’t actually do it.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. How long in seconds to <cite>wait_for_completion</cite> before returning with an exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Shrink.most_available_node">
<code class="descname">most_available_node</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Shrink.most_available_node" title="Permalink to this definition"></a></dt>
<dd><p>Determine which data node name has the most available free space, and 
meets the other node filters settings.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>client</strong> – An <a class="reference external" href="http://elasticsearch-py.readthedocs.io/en/5.4.0/api.html#elasticsearch.Elasticsearch" title="(in Elasticsearch v5.4.0)"><code class="xref py py-class docutils literal"><span class="pre">elasticsearch.Elasticsearch</span></code></a> client object</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.node_filters">
<code class="descname">node_filters</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.node_filters" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>node_filters</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.number_of_shards">
<code class="descname">number_of_shards</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.number_of_shards" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>number_of_shards</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.post_allocation">
<code class="descname">post_allocation</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.post_allocation" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>post_allocation</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.shrink_node">
<code class="descname">shrink_node</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.shrink_node" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>shrink_node</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.shrink_prefix">
<code class="descname">shrink_prefix</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.shrink_prefix" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>shrink_prefix</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.shrink_suffix">
<code class="descname">shrink_suffix</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.shrink_suffix" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>shrink_suffix</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. How many seconds to wait between checks for completion.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Shrink.wfc">
<code class="descname">wfc</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Shrink.wfc" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable. Internal reference to <cite>wait_for_completion</cite></p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="snapshot">
<h2>Snapshot<a class="headerlink" href="#snapshot" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="curator.actions.Snapshot">
<em class="property">class </em><code class="descclassname">curator.actions.</code><code class="descname">Snapshot</code><span class="sig-paren">(</span><em>ilo</em>, <em>repository=None</em>, <em>name=None</em>, <em>ignore_unavailable=False</em>, <em>include_global_state=True</em>, <em>partial=False</em>, <em>wait_for_completion=True</em>, <em>wait_interval=9</em>, <em>max_wait=-1</em>, <em>skip_repo_fs_check=False</em><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Snapshot" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>ilo</strong> – A <a class="reference internal" href="objectclasses.html#curator.indexlist.IndexList" title="curator.indexlist.IndexList"><code class="xref py py-class docutils literal"><span class="pre">curator.indexlist.IndexList</span></code></a> object</li>
<li><strong>repository</strong> – The Elasticsearch snapshot repository to use</li>
<li><strong>name</strong> – What to name the snapshot.</li>
<li><strong>wait_for_completion</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Wait (or not) for the operation
to complete before returning.  (default: <cite>True</cite>)</li>
<li><strong>wait_interval</strong> – How long in seconds to wait between checks for
completion.</li>
<li><strong>max_wait</strong> – Maximum number of seconds to <cite>wait_for_completion</cite></li>
<li><strong>ignore_unavailable</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Ignore unavailable shards/indices.
(default: <cite>False</cite>)</li>
<li><strong>include_global_state</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Store cluster global state with snapshot.
(default: <cite>True</cite>)</li>
<li><strong>partial</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Do not fail if primary shard is unavailable. (default:
<cite>False</cite>)</li>
<li><strong>skip_repo_fs_check</strong> (<a class="reference external" href="https://docs.python.org/3.6/library/functions.html#bool" title="(in Python v3.6)"><em>bool</em></a>) – Do not validate write access to repository on
all cluster nodes before proceeding. (default: <cite>False</cite>).  Useful for
shared filesystems where intermittent timeouts can affect
validation, but won’t likely affect snapshot success.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="curator.actions.Snapshot.body">
<code class="descname">body</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.body" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Populated at instance creation time by calling
<a class="reference internal" href="utilities.html#curator.utils.create_snapshot_body" title="curator.utils.create_snapshot_body"><code class="xref py py-mod docutils literal"><span class="pre">curator.utils.create_snapshot_body</span></code></a> with <cite>ilo.indices</cite> and the
provided arguments: <cite>ignore_unavailable</cite>, <cite>include_global_state</cite>,
<cite>partial</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.client">
<code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.client" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The Elasticsearch Client object derived from <cite>ilo</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Snapshot.do_action">
<code class="descname">do_action</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Snapshot.do_action" title="Permalink to this definition"></a></dt>
<dd><p>Snapshot indices in <cite>index_list.indices</cite>, with options passed.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Snapshot.do_dry_run">
<code class="descname">do_dry_run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Snapshot.do_dry_run" title="Permalink to this definition"></a></dt>
<dd><p>Log what the output would be, but take no action.</p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Snapshot.get_state">
<code class="descname">get_state</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Snapshot.get_state" title="Permalink to this definition"></a></dt>
<dd><p>Get the state of the snapshot</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.index_list">
<code class="descname">index_list</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.index_list" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internal reference to <cite>ilo</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.max_wait">
<code class="descname">max_wait</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.max_wait" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
How long in seconds to <cite>wait_for_completion</cite> before returning with an
exception. A value of -1 means wait forever.</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.name" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
The parsed version of <cite>name</cite></p>
</dd></dl>

<dl class="method">
<dt id="curator.actions.Snapshot.report_state">
<code class="descname">report_state</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curator.actions.Snapshot.report_state" title="Permalink to this definition"></a></dt>
<dd><p>Log the state of the snapshot</p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.repository">
<code class="descname">repository</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.repository" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>repository</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.skip_repo_fs_check">
<code class="descname">skip_repo_fs_check</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.skip_repo_fs_check" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>skip_repo_fs_check</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.wait_for_completion">
<code class="descname">wait_for_completion</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.wait_for_completion" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable.
Internally accessible copy of <cite>wait_for_completion</cite></p>
</dd></dl>

<dl class="attribute">
<dt id="curator.actions.Snapshot.wait_interval">
<code class="descname">wait_interval</code><em class="property"> = None</em><a class="headerlink" href="#curator.actions.Snapshot.wait_interval" title="Permalink to this definition"></a></dt>
<dd><p>Instance variable
How many seconds to wait between checks for completion.</p>
</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Action Classes</a><ul>
<li><a class="reference internal" href="#alias">Alias</a></li>
<li><a class="reference internal" href="#allocation">Allocation</a></li>
<li><a class="reference internal" href="#close">Close</a></li>
<li><a class="reference internal" href="#clusterrouting">ClusterRouting</a></li>
<li><a class="reference internal" href="#createindex">CreateIndex</a></li>
<li><a class="reference internal" href="#deleteindices">DeleteIndices</a></li>
<li><a class="reference internal" href="#deletesnapshots">DeleteSnapshots</a></li>
<li><a class="reference internal" href="#forcemerge">ForceMerge</a></li>
<li><a class="reference internal" href="#indexsettings">IndexSettings</a></li>
<li><a class="reference internal" href="#open">Open</a></li>
<li><a class="reference internal" href="#reindex">Reindex</a></li>
<li><a class="reference internal" href="#replicas">Replicas</a></li>
<li><a class="reference internal" href="#restore">Restore</a></li>
<li><a class="reference internal" href="#rollover">Rollover</a></li>
<li><a class="reference internal" href="#shrink">Shrink</a></li>
<li><a class="reference internal" href="#snapshot">Snapshot</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="objectclasses.html"
                        title="previous chapter">Object Classes</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="filters.html"
                        title="next chapter">Filter Methods</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/actionclasses.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="filters.html" title="Filter Methods"
             >next</a> |</li>
        <li class="right" >
          <a href="objectclasses.html" title="Object Classes"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">Elasticsearch Curator 5.2.0 documentation</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2011-2017, Elasticsearch.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
    </div>
  </body>
</html>