Documentation Index

Fetch the complete documentation index at: https://kb.vastdata.com/llms.txt

Use this file to discover all available pages before exploring further.

viewpolicy list

Prev Next

This command displays all view policies.

Usage

viewpolicy list [--name POLICY_NAME]
                [--vertical]
                [--nfs-acl]
                [--smb-acl]
                [--advanced]
                [--s3]
                [--tenant-id ID]

Options

--name POLICY_NAME

Filters the output by view policy name.

--vertical

Displays the list vertically with all fields shown for each view policy.

--nfs-acl

Displays only NFS ACL fields.

--smb-acl

Displays only SMB ACL fields.

--advanced

Displays only advanced settings.

--s3

Displays S3 settings.

--tenant-id ID

Filters the output by tenant.

Examples

vcli: admin> viewpolicy list
+----+----------------------------+-------------+-----------------+---------------+-------------------------+-----------+
| ID | Name                       | Cluster     | Flavor          | Access-flavor | Group Membership Source | Tenant-id |
+----+----------------------------+-------------+-----------------+---------------+-------------------------+-----------+
| 7  | bgio-mercury:default       | cluster-var | NFS             | ALL           | Client                  | 3         |
| 5  | bgio-mercury_policy        | cluster-var | NFS             | ALL           | Client                  | 3         |
| 10 | comet-MIXED_LAST_WINS      | cluster-var | MIXED_LAST_WINS | ALL           | Providers               | 1         |
| 4  | comet-NFS                  | cluster-var | NFS             | ALL           | Providers               | 1         |
| 12 | comet-NFS-bgio-mercury     | cluster-var | NFS             | ALL           | Client                  | 3         |
| 11 | comet-S3_NATIVE            | cluster-var | S3_NATIVE       | ALL           | Providers               | 1         |
| 9  | comet-SMB                  | cluster-var | SMB             | ALL           | Providers               | 1         |
| 1  | default                    | cluster-var | NFS             | ALL           | Client                  | 1         |
| 6  | s3-bgio__s3_default_policy | cluster-var | S3_NATIVE       | ALL           | Client And Providers    | 4         |
| 3  | s3_default_policy          | cluster-var | S3_NATIVE       | ALL           | Client                  | 1         |
| 8  | s3_policy_hateful-buzzard  | cluster-var | S3_NATIVE       | ALL           | Client                  | 1         |
| 14 | s3_policy_helpful-puma     | cluster-var | S3_NATIVE       | ALL           | Client                  | 1         |
| 13 | s3_policy_versatile-egret  | cluster-var | S3_NATIVE       | ALL           | Client                  | 1         |
+----+----------------------------+-------------+-----------------+---------------+-------------------------+-----------+