1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00
Files
docs/source/reference/minio-mc/mc-retention.rst
Daryl White 6482571bf2 Update mc reference docs for improved nav structure (#717)
- Adds landing pages for all two-word `mc` commands
- Nests three+ word commands under appropriate two-word commands
- Updates MinIO Client doc
- Uses description from each command to populate list of subcommand
descriptions
- Modifies toctree for MinIO Client doc and each command/subcommand to
improve left nav experienc

Closes #710
2023-02-02 16:52:36 -06:00

58 lines
1.5 KiB
ReStructuredText

================
``mc retention``
================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 2
.. mc:: mc retention
Description
-----------
.. start-mc-retention-desc
The :mc:`mc retention` command configures the :ref:`Write-Once Read-Many (WORM) locking <minio-object-locking>` settings for an object or object(s) in a bucket.
You can also set the default object lock settings for a bucket, where all objects without explicit object lock settings inherit the bucket default.
.. end-mc-retention-desc
Subcommands
-----------
:mc:`mc retention` includes the following subcommands:
.. list-table::
:header-rows: 1
:widths: 30 70
:width: 100%
* - Subcommand
- Description
* - :mc:`~mc retention clear`
- .. include:: /reference/minio-mc/mc-retention-clear.rst
:start-after: start-mc-retention-clear-desc
:end-before: end-mc-retention-clear-desc
* - :mc:`~mc retention info`
- .. include:: /reference/minio-mc/mc-retention-info.rst
:start-after: start-mc-retention-info-desc
:end-before: end-mc-retention-info-desc
* - :mc:`~mc retention set`
- .. include:: /reference/minio-mc/mc-retention-set.rst
:start-after: start-mc-retention-set-desc
:end-before: end-mc-retention-set-desc
.. toctree::
:titlesonly:
:hidden:
/reference/minio-mc/mc-retention-set
/reference/minio-mc/mc-retention-info
/reference/minio-mc/mc-retention-clear