Resource URL: /platform/<<version=2>>/protocols/nfs/settings/zone

    Overview: This resource represents per-zone configuration for NFS.

     Methods: GET, PUT

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

Method GET: Retrieve the NFS server settings for this zone.

       URL: GET /platform/<<version=2>>/protocols/nfs/settings/zone

Query arguments:
zone=<string> Access zone

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", 
      "properties": {
        "settings": {
          "type": "object", 
          "description": "Specifies the per-zone NFS configuration settings.", 
          "properties": {
            "nfsv4_no_domain": {
              "type": "boolean", 
              "description": "If true, sends owners and groups without a domain name."
            }, 
            "nfsv4_no_domain_uids": {
              "type": "boolean", 
              "description": "If true, sends UIDs and GIDs without a domain name."
            }, 
            "nfsv4_no_names": {
              "type": "boolean", 
              "description": "If true, sends owners and groups as UIDs and GIDs."
            }, 
            "nfsv4_allow_numeric_ids": {
              "type": "boolean", 
              "description": "If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4_no_name' property is set to 1."
            }, 
            "nfsv4_domain": {
              "type": "string", 
              "description": "Specifies the domain or realm through which users and groups are associated."
            }, 
            "nfsv4_replace_domain": {
              "type": "boolean", 
              "description": "If true, replaces the owner or group domain with an NFS domain name."
            }, 
            "zone": {
              "type": "string", 
              "description": "Specifies the access zones in which these settings apply."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify the NFS server settings for this zone.

       URL: PUT /platform/<<version=2>>/protocols/nfs/settings/zone

Query arguments:
zone=<string> Access zone

PUT request body schema:
{
  "type": "object", 
  "description": "Specifies the per-zone NFS configuration settings.", 
  "properties": {
    "nfsv4_no_domain": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, sends owners and groups without a domain name."
        }
      ]
    }, 
    "nfsv4_no_domain_uids": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, sends UIDs and GIDs without a domain name."
        }
      ]
    }, 
    "nfsv4_no_names": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, sends owners and groups as UIDs and GIDs."
        }
      ]
    }, 
    "nfsv4_allow_numeric_ids": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4_no_name' property is set to 1."
        }
      ]
    }, 
    "nfsv4_domain": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "string", 
          "description": "Specifies the domain or realm through which users and groups are associated."
        }
      ]
    }, 
    "nfsv4_replace_domain": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, replaces the owner or group domain with an NFS domain name."
        }
      ]
    }, 
    "zone": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "string", 
          "description": "Specifies the access zones in which these settings apply."
        }
      ]
    }
  }
}

There is no JSON response body for this method.
