Queries the Server Message Block (SMB) clients of a file gateway.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
hcs-sgw:DescribeGatewaySMBClients | list | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
GatewayId | string | Yes | The ID of the gateway. | gw-000eg44nmxbsfwbvq*** |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. | 10 |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 89398CFB-4EB6-4C7E-BB3C-EF213A*** |
Success | boolean | Indicates whether the request was successful. Valid values:
| true |
Code | string | The status code. A status code of 200 indicates that the request was successful. | 200 |
Message | string | The message that is returned. | successful |
PageSize | integer | The number of entries per page. | 10 |
PageNumber | integer | The page number. | 1 |
TotalCount | integer | The total number of SMB clients. | 2 |
| ClientInfoList | object | ||
| ClientInfo | array<object> | A list of SMB clients. | |
object | The information about an SMB client. | ||
Signing | string | The SMB signing status. | required |
ProtocolVersion | string | The protocol version. | 2.1 |
Group | string | The user group. | guest |
Username | string | The username. | guest |
ClientIpAddr | string | The IP address of the SMB client. | 192.168.xx.xx |
Examples
Success response
JSON format
{
"RequestId": "89398CFB-4EB6-4C7E-BB3C-EF213A***",
"Success": true,
"Code": "200",
"Message": "successful",
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 2,
"ClientInfoList": {
"ClientInfo": [
{
"Signing": "required",
"ProtocolVersion": "2.1",
"Group": "guest",
"Username": "guest",
"ClientIpAddr": "192.168.xx.xx"
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.