OpenNASService
Enables the NAS service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:OpenNASService |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
427DB0B3-9436-4A3C-B2BC-B961F95E**** |
| OrderId |
string |
The order ID for service activation. |
20671870151**** |
| AccessDeniedDetail |
string |
Details of the failed permission check. |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "178321033379****", "EncodedDiagnosticMessage": "AJpt/382mjxDSIYIqa/cUIFvOg9tajlLyN+LJA0C78kWfKIl****", "AuthPrincipalType": "SubUser", "AuthPrincipalDisplayName": "21794847602038****", "NoPermissionType": "ImplicitDeny", "AuthAction": "nas:OpenNASService" } |
Examples
Success response
JSON format
{
"RequestId": "427DB0B3-9436-4A3C-B2BC-B961F95E****",
"OrderId": "20671870151****",
"AccessDeniedDetail": "{\n \"PolicyType\": \"AccountLevelIdentityBasedPolicy\",\n \"AuthPrincipalOwnerId\": \"178321033379****\",\n \"EncodedDiagnosticMessage\": \"AJpt/382mjxDSIYIqa/cUIFvOg9tajlLyN+LJA0C78kWfKIl****\",\n \"AuthPrincipalType\": \"SubUser\",\n \"AuthPrincipalDisplayName\": \"21794847602038****\",\n \"NoPermissionType\": \"ImplicitDeny\",\n \"AuthAction\": \"nas:OpenNASService\"\n }"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ORDER.OPEND | You have already open the service. Go to the console to start using it. | you have activated the nas service. |
| 400 | InvalidIntlAccount.NotComplete | Intl account is not complete. | The basic information of the international station account is not complete. |
| 500 | OpenNasService.GetCommodityInfoFail | Fail to get commodity info for open nas service. | unable to obtain the product information of the open nas service. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.