// This file is autogenerated, DO NOT EDIT
// ilm/ilm-tutorial.asciidoc:378

[source, python]
----
resp = client.indices.create(
    index="timeseries-000001",
    aliases={
        "timeseries": {
            "is_write_index": True
        }
    },
)
print(resp)
----
