Azure SQL Database · Schema

LongTermRetentionPolicyListResult

The response of a LongTermRetentionPolicy list operation.

DatabaseSQLRelational DatabaseMicrosoft AzureMicrosoftCloud DatabaseManaged DatabaseSQL Server

Properties

Name Type Description
value array The LongTermRetentionPolicy items on this page
nextLink string The link to the next page of items
View JSON Schema on GitHub

JSON Schema

microsoft-azure-sql-database-long-term-retention-policy-list-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-long-term-retention-policy-list-result-schema.json",
  "title": "LongTermRetentionPolicyListResult",
  "description": "The response of a LongTermRetentionPolicy list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-longtermretentionpolicies-api-openapi.yml#/components/schemas/LongTermRetentionPolicyListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The LongTermRetentionPolicy items on this page",
      "items": {
        "$ref": "#/$defs/LongTermRetentionPolicy"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "LongTermRetentionPolicy": {
      "type": "object",
      "description": "A long term retention policy.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/LongTermRetentionPolicyProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "LongTermRetentionPolicyProperties": {
      "type": "object",
      "description": "Properties of a long term retention policy",
      "properties": {
        "timeBasedImmutability": {
          "$ref": "#/$defs/TimeBasedImmutability",
          "description": "The setting for whether to enable time-based immutability for future backups. When set, future backups will have TimeBasedImmutability enabled."
        },
        "timeBasedImmutabilityMode": {
          "$ref": "#/$defs/TimeBasedImmutabilityMode",
          "description": "The setting for time-based immutability mode for future backup (Value can be either Locked or UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if TimeBasedImmutabilityMode is Locked."
        },
        "weeklyRetention": {
          "type": "string",
          "description": "The weekly retention policy for an LTR backup in an ISO 8601 format."
        },
        "monthlyRetention": {
          "type": "string",
          "description": "The monthly retention policy for an LTR backup in an ISO 8601 format."
        },
        "yearlyRetention": {
          "type": "string",
          "description": "The yearly retention policy for an LTR backup in an ISO 8601 format."
        },
        "weekOfYear": {
          "type": "integer",
          "format": "int32",
          "description": "The week of year to take the yearly backup in an ISO 8601 format."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "TimeBasedImmutability": {
      "type": "string",
      "description": "The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "TimeBasedImmutability",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          }
        ]
      }
    },
    "TimeBasedImmutabilityMode": {
      "type": "string",
      "description": "The time-based immutability mode. Only applicable if time-based immutability is enabled.",
      "enum": [
        "Locked",
        "Unlocked"
      ],
      "x-ms-enum": {
        "name": "TimeBasedImmutabilityMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Locked",
            "value": "Locked",
            "description": "Locked"
          },
          {
            "name": "Unlocked",
            "value": "Unlocked",
            "description": "Unlocked"
          }
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-sql-database-long-term-retention-policy-list-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.