Adds a client to the blacklist of a Cloud Paralleled File System (CPFS) file system and revokes the write access from the client. Use the blacklist as an I/O fence.

Description

The API operation is available only for CPFS file systems.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description 
Action String Yes AddClientToBlackList

The operation that you want to perform. Set the value to AddClientToBlackList.

ClientIP String Yes 192.168.0.0

The IP address of the client to add.

ClientToken String Yes 123e4567-e89b-12d3-a456-426655440000

This parameter ensures the idempotency of each request. A ClientToken is generated for each client. Make sure that each ClientToken is unique between different requests. The parameter can be a maximum of 64 characters in length and contain ASCII characters.

For more information, see How to ensure idempotence.

FileSystemId String Yes 1ca404a348

The ID of the file system.

RegionId String Yes cn-hangzhou

The ID of the region where the file system resides.

Response parameters

Parameter Type Example Description 
RequestId String A70BEE5D-76D3-49FB-B58F-1F398211A5C3

The ID of the request.

Examples

Sample requests


GET https://nas.cn-hangzhou.aliyuncs.com/?Action=AddClientToBlackList
&FileSystemId=cpfs-xxx
&ClientIP=192.168.0.0
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&<Common request parameters>

Sample success responses

XML fomat

<EvictClientResponse>
    <RequestId>A70BEE5D-76D3-49FB-B58F-1F398211A5C3</RequestId>
</EvictClientResponse>

JSON format

{
	"RequestId":"A70BEE5D-76D3-49FB-B58F-1F398211A5C3",
}

Error codes

For a list of error codes, visit the API Error Center.