Initiates the process to change the bucket's access mode.
Host Style: http://bucketname.ns1.emc.com/?accessmode
Path Style: http://ns1.emc.com/bucketname/?accessmode
x-emc-file-access-mode | required | Target access mode to switch to. Transition to ReadOnly from ReadWrite and to ReadWrite from ReadOnly are not supported. Valid values: Disabled, ReadOnly, ReadWrite |
x-emc-file-access-duration | optional | Duration in seconds for which the access mode should be enforced. |
x-emc-file-access-host-list | required | Comma-separated list of hosts or subnets which are allowed to mount the file system |
x-emc-file-access-uid | required | User ID specified by the client while accessing the objects belonging to the resource (bucket) whose access mode is being changed |
x-emc-file-access-token | optional | Used to identify the objects that are to be granted file access. The system provides this token to the client in response to the Access Mode PUT operation. When the user included this token in the future PUT requests the system can identify the objects that were and were not present when this token was generated. Default: NULL (applies the access mode change to all the objects in the bucket) |
The following conditions must be met in order to call this operation.
BaseUrl used in a host-style request URL should be pre-configured using the ECS Management API or the ECS Portal (for example, emc.com in the URL: bucketname.ns1.emc.com).
Namespace and bucket corresponding to this object should exist.
No Request Payload
x-emc-file-access-mode | always | Indicates the access mode the system is currently enforcing on the objects in the bucket. |
x-emc-file-access-duration | always | Indicates the time after which the file access mode will fall back to being default unless it is renewed with another PUT request. |
x-emc-file-access-host-list | always | Comma-separated list of hosts or subnets which will be allowed to mount the file system |
x-emc-file-access-uid | always | User ID that will have access to the objects |
x-emc-file-access-token | always | Can be saved and used by the client in future requests to identify the objects that will be affected by the current operation. |
Response indicating Success or Failure for this operation