{
"$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
}
}
}
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.