This command modifies a view.
Usage
view modify --id VIEW_ID [--path PATH] [--protocols PROTOCOLS] [--alias ALIAS] [--share SHARE] [--policy-id ID] [--cluster-id ID] [--create-dir] [--s3-versioning] [--bucket BUCKET] [--bucket-owner BUCKET_OWNER] [--bucket-creators BUCKET_CREATORS] [--allow-anonymous-access] [--block-anonymous-access]
Required Parameters
Options
Modifies the Element Store path to be exposed to clients. It can be a directory that was already created by a client inside an exposed parent directory, or it can be a new directory, in which case you must specify the --create_dir option to create the directory. Example: --path /a/b/c |
|
|
Specifies which protocol(s) the view will be exposed to. Specify PROTOCOLS as a string value for a single protocol or a comma separated list of strings to enable multiple protocols. Valid string values are:
Examples:
|
|
For NFSv3 exports, specifies an alternative shorter name for the path that can be used alternatively when mounting. Optional and relevant only if the view is exposed to NFS. An alias must begin with a forward slash ("/") and must consist of only ASCII characters. |
|
Specifies the SMB share name. Required if the view is exposed to SMB. The name cannot include the following characters: /\:|<>*?" |
|
Specifies which view policy to apply. If unspecified, the default policy (ID 1) is used. |
|
Creates a directory at the specified path. Include this option of the directory does not already exist. |
|
Enables object versioning on the bucket if |
|
Specifies the name of an S3 bucket. Required if |
|
Specifies a user to be the bucket owner. Required if |
|
Relevant if Specify |
|
If the view has S3 Bucket or S3 Endpoint enabled, include this option to allow anonymous S3 access to the view's S3 bucket. If allowed, anonymous requests are granted provided that the object ACL grants access to the All Users group (in S3 Native security flavor) or the permission mode bits on the requested file and directory path grant access permission to "others" (in NFS security flavor). |
|
Blocks anonymous S3 access to the view's S3 bucket, if applicable. This is the default setting. |
Example
This example changes the view policy used by the view that exposes the /dev path of the element store.
vcli: admin> view modify --id 2 --path /dev --policy-id 2
Comments
0 comments
Article is closed for comments.