getNasVolumeAccessControlRuleList
- Print
- PDF
getNasVolumeAccessControlRuleList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
Get the access control rule list set in the NAS volume.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Determines the region of the NAS volume instance to get the access control rule for. You can obtain regionCode through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
nasVolumeInstanceNo | Yes | String | - NAS volume instance number You can obtain nasVolumeInstanceNo through the getNasVolumeInstanceList action. | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
Request examples
GET {API_URL}/vnas/v2/getNasVolumeAccessControlRuleList
?nasVolumeInstanceNo=***3118
Response examples
<getNasVolumeAccessControlRuleListResponse>
<totalRows>1</totalRows>
<nasVolumeAccessControlRuleList>
<nasVolumeAccessControlRule>
<serverInstanceNo>***9258</serverInstanceNo>
<readAccess>true</readAccess>
<writeAccess>true</writeAccess>
</nasVolumeAccessControlRule>
</nasVolumeAccessControlRuleList>
</getNasVolumeAccessControlRuleListResponse>
Was this article helpful?