getNasVolumeAccessControlRuleList
- Print
- PDF
getNasVolumeAccessControlRuleList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a Classic environment.
Overview
Searches the access control rule list set in the NAS volume.
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
nasVolumeInstanceNo | Yes | String | - NAS volume instance number You can obtain nasVolumeInstanceNo through the getNasVolumeInstanceList action. |
Response data type
- NasVolumeAccessControlRuleList type
NasVolumeAccessControlRuleList extends CommonResponse |
---|
private Integer totalRows; |
private List<NasVolumeAccessControlRule> nasVolumeAccessControlRuleList = new ArrayList<>(); |
NasVolumeAccessControlRule |
---|
private String serverInstanceNo; |
private String customIp; |
private Boolean readAccess; |
private Boolean writeAccess; |
Examples
Call
ncloud server getNasVolumeAccessControlRuleList --nasVolumeInstanceNo ***9258
Response
<getNasVolumeAccessControlRuleListResponse>
<totalRows>2</totalRows>
<nasVolumeAccessControlRuleList>
<nasVolumeAccessControlRule>
<serverInstanceNo>***9258</serverInstanceNo>
<readAccess>true</readAccess>
<writeAccess>true</writeAccess>
</nasVolumeAccessControlRule>
<nasVolumeAccessControlRule>
<customIp>***.***.1.2</customIp>
<readAccess>true</readAccess>
<writeAccess>true</writeAccess>
</nasVolumeAccessControlRule>
</nasVolumeAccessControlRuleList>
</getNasVolumeAccessControlRuleListResponse>
Was this article helpful?