Resource URL: /platform/<<version=3>>/protocols/nfs/netgroup

    Overview: This resource represents the NFS netgroup cache settings.

     Methods: GET, PUT

********************************************************************************

Method GET: Get the current NFS netgroup cache settings.

       URL: GET /platform/<<version=3>>/protocols/nfs/netgroup

Query arguments:
host=<string> Host to retrieve netgroup cache settings from.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "settings": {
        "type": "object", 
        "description": "NFS netgroup cache settings.", 
        "properties": {
          "lifetime": {
            "type": "integer", 
            "description": "Length of time an un-accessed netgroup remains in the cache."
          }, 
          "retry": {
            "type": "integer", 
            "description": "Retry interval for netgroup updates if the remote provider is unresponsive."
          }, 
          "bgwrite": {
            "type": "integer", 
            "description": "To-disk backup interval for the netgroup cache."
          }, 
          "expiration": {
            "type": "integer", 
            "description": "Time between updates of netgroups in the cache."
          }
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify the current NFS netgroup settings.

       URL: PUT /platform/<<version=3>>/protocols/nfs/netgroup

Query arguments:
host=<string> Host to retrieve netgroup cache settings for.

PUT request body schema:
{
  "type": "object", 
  "settings": {
    "type": "object", 
    "description": "NFS netgroup cache settings.", 
    "properties": {
      "lifetime": {
        "type": "integer", 
        "description": "Length of time an un-accessed netgroup remains in the cache."
      }, 
      "retry": {
        "type": "integer", 
        "description": "Retry interval for netgroup updates if the remote provider is unresponsive."
      }, 
      "bgwrite": {
        "type": "integer", 
        "description": "To-disk backup interval for the netgroup cache."
      }, 
      "expiration": {
        "type": "integer", 
        "description": "Time between updates of netgroups in the cache."
      }
    }
  }
}

There is no JSON response body for this method.
