Resource URL: /platform/<<version=4>>/protocols/hdfs/ranger-plugin/settings

    Overview: This resource applies the HDFS ranger-plugin settings.

     Methods: GET, PUT

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

Method GET: Retrieve HDFS ranger-plugin properties.

       URL: GET /platform/<<version=4>>/protocols/hdfs/ranger-plugin/settings

Query arguments:
zone=<string> Access zone which contains HDFS ranger-plugin settings.

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": "Settings for the HDFS ranger plugin", 
          "properties": {
            "repository_name": {
              "type": "string", 
              "description": "The HDFS repository name that is registered with Apache Ranger server"
            }, 
            "enabled": {
              "type": "boolean", 
              "description": "Enable or disable the HDFS ranger plugin"
            }, 
            "policy_manager_url": {
              "type": "string", 
              "description": "The scheme, hostname, and port of the Apache Ranger server (e.g. http://ranger.com:6080)"
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify HDFS ranger-plugin properties.

       URL: PUT /platform/<<version=4>>/protocols/hdfs/ranger-plugin/settings

Query arguments:
zone=<string> Access zone which contains HDFS ranger-plugin settings.

PUT request body schema:
{
  "type": "object", 
  "description": "Settings for the HDFS ranger plugin", 
  "properties": {
    "repository_name": {
      "type": "string", 
      "description": "The HDFS repository name that is registered with Apache Ranger server"
    }, 
    "enabled": {
      "type": "boolean", 
      "description": "Enable or disable the HDFS ranger plugin"
    }, 
    "policy_manager_url": {
      "type": "string", 
      "description": "The scheme, hostname, and port of the Apache Ranger server (e.g. http://ranger.com:6080)"
    }
  }
}

There is no JSON response body for this method.
