Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When setting export-policy rule through API communication, export-policy ID is required.
ex)
POST /api/protocols/nfs/export-policies/12884901899/rules { "clients": [ { "match": "10.10.10.101" } ], "protocols": [ "any" ], "ro_rule": [ "any" ], "rw_rule": [ "any" ], "superuser": [ "any" ] }
However, I don't know the API phrase to get export-policy ID.
So I had to check it directly with GUI or CLI's Cammands.
I want to work only with API.
I want to get export-policy ID through API and set Access IP of nfs using API for export-policy rule.
Could you please tell me the API phrase to get the value of the ID of export-policy?
Thank you.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
The following article may be helpful to you
