X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e4cb545184144fa761aa9b692597df8d10e110a4..9cc572d6a44262e21251372e28b549cfc09e681a:/doc/user/tutorials/tutorial-keep-collection-lifecycle.html.textile.liquid diff --git a/doc/user/tutorials/tutorial-keep-collection-lifecycle.html.textile.liquid b/doc/user/tutorials/tutorial-keep-collection-lifecycle.html.textile.liquid index 1bc775a701..2375e8b3d5 100644 --- a/doc/user/tutorials/tutorial-keep-collection-lifecycle.html.textile.liquid +++ b/doc/user/tutorials/tutorial-keep-collection-lifecycle.html.textile.liquid @@ -3,6 +3,11 @@ layout: default navsection: userguide title: "Keep collection lifecycle" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} During it's lifetime, a keep collection can be in various states. These states are *persisted*, *expiring*, *trashed* and *permanently deleted*. @@ -21,7 +26,7 @@ h2(#collection_attributes). Collection lifecycle attributes As listed above the attributes that are used to manage a collection lifecycle are it's *is_trashed*, *trash_at*, and *delete_at*. The table below lists the values of these attributes and how they influence the state of a collection and it's accessibility. table(table table-bordered table-condensed). -|_. collection state|_. is_trashed|_. trash_at|_. delete_at|_. get|_. index|_. index?include_trash=true|_. can be modified| +|_. collection state|_. is_trashed|_. trash_at|_. delete_at|_. get|_. list|_. list?include_trash=true|_. can be modified| |persisted collection|false |null |null |yes |yes |yes |yes | |expiring collection|false |future |future |yes |yes |yes |yes | |trashed collection|true |past |future |no |no |yes |only is_trashed, trash_at and delete_at attribtues| @@ -47,10 +52,10 @@ A collection can be un-trashed / recovered using either the arv command line too h3. Un-trashing a collection using arv command line tool -You can list the trashed collections using the index command. +You can list the trashed collections using the list command.
-arv collection index --include-trash=true --filters '[["is_trashed", "=", "true"]]'
+arv collection list --include-trash=true --filters '[["is_trashed", "=", "true"]]'
 
You can then untrash a particular collection using arv using it's uuid.