Nexfs Management API Documentation

Method Index

ListAllManagementActions

Retrieving a list of assignable Nexfs Management Actions


Action: ListAllManagementActions

Request a list of all assignable Nexfs Management Actions


Permissions

The requesting session must have the iam/GetManagementRoles role enabled.

Request Parameters

A request must be made against the nexfs management console api with the ListAllManagementActions action.

The request must be signed with a valid AWS V4 style Signature using an active temporary session security token.


Action

ListAllManagementActions


Request Body

The request does not have a request body.


Response Syntax


HTTP1/1 200

{

"Actions": [

"String",

"String",

...

]

}


Response Elements

If the action is successful, the service sends back an HTTP 200 response.


The following data is returned in json format by the service:


Actions

json array label for the successful Get Management Roles response, the array may contain zero or more log entries


String

Each entry in the Actions json array will contain a manageent action.


Errors

Also See Rest Error Responses


401 Unauthorized The request cannot be authenticated


403 Forbidden Session does not have the rights to perform the requested action

Example Request


GET http://nexfs.example.com:9200/nexfsconsoleapi?Action=ListAllManagementActions

Authorization: AWS4-HMAC-SHA256 Credential=82fc40276f4b46a99a47386374a873c9/20220831/nexfs/nexfsconsoleapi/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=f81c06d1f40ad7652e8849c7730a951e0408aca4e35b72fe6de212564a703ff8

content-type: application/x-www-form-urlencoded; charset=utf-8

host: nexfs.example.com

x-amz-date: 20220831T110237Z


Example Response


HTTP1/1 200

{

"Actions": [

"*:*",

"iam:LoginMgmtReadWrite",

"iam:LoginMgmtReadOnly",

"nexfs:PauseServer",

"nexfs:GetSystemStatus",

"nexfs:GetConfiguration",

"nexfs:UpdateConfiguration",

"nfs:GetSubSystem",

"nfs:ManageSubSystem",

"nfs:GetConfiguration",

"nfs:UpdateConfiguration",

"iscsi:GetSubSystem",

"iscsi:ManageSubsystem",

"iscsi:GetConfiguration",

"iscsi:UpdateConfiguration",

"nexfs:GetLicenseDetails",

"nexfs:UpdateLicense",

"iam:ListUsers",

"iam:GetUser",

"iam:UpdateUsers",

"iam:UpdateOwnSecret",

"iam:UpdateOtherUserSecret",

"iam:RevokeOtherUserToken",

"iam:GetSessionPermissions",

"nexfs:GetErrorLog",

"nexfs:ListDirectories",

"nexfs:ListFiles",

"nexfs:CreateDirectories",

"nexfs:CreateFiles",

"iam:GetManagementRoles",

"iam:DeleteManagementRoles",

"iam:UpdateManagementRoles",

"iam:ListManagementRoles"

]

}