Pure Storage · JSON Structure

Flasharray Rest Api Policy Structure

Policy schema from FlashArray REST API

Type: Properties: 0
StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure

Policy is a JSON Structure definition published by Pure Storage. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/flasharray-rest-api-policy-structure.json",
  "name": "Policy",
  "description": "Policy schema from FlashArray REST API",
  "allOf": [
    {
      "allOf": [
        {
          "$ref": "#/components/schemas/_resource"
        },
        {
          "$ref": "#/components/schemas/_context"
        },
        {
          "type": "object",
          "properties": {
            "policy_type": {
              "description": "The type of policy. Values include `autodir`, `network-access`, `nfs`, `smb`, `snapshot`,\n`quota`, and `object-store-access`.\n",
              "type": "string",
              "readOnly": true
            }
          }
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "destroyed": {
          "description": "Returns a value of `true` if the policy has been destroyed and is pending\neradication.\nThe `time_remaining` value displays the amount of time left\nuntil the destroyed policy is permanently eradicated.\nOnce the `time_remaining` period has elapsed,\nthe policy is permanently eradicated and can no longer be recovered.\n",
          "type": "boolean"
        },
        "enabled": {
          "description": "Returns a value of `true` if the policy is enabled.\n",
          "type": "boolean"
        },
        "pod": {
          "description": "A reference to the pod.\n",
          "title": "Reference",
          "allOf": [
            {
              "$ref": "#/components/schemas/_reference"
            }
          ]
        },
        "time_remaining": {
          "description": "The amount of time left, measured in milliseconds, until the destroyed policy is\npermanently eradicated.\n",
          "type": "int64",
          "readOnly": true
        }
      }
    }
  ]
}