LeaseShareRequest

Lease Share request schema.

Microsoft AzureBlob StorageCloud StorageFile StorageQueue StorageStorageTable Storage

Properties

Name Type Description
action object Specifies the lease action. Can be one of the available actions.
leaseId string Identifies the lease. Can be specified in any valid GUID string format.
breakPeriod integer Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60.
leaseDuration integer Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires.
proposedLeaseId string Optional for acquire, required for change. Proposed lease ID, in a GUID string format.
View JSON Schema on GitHub

JSON Schema

azure-storage-accounts-lease-share-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-lease-share-request-schema.json",
  "title": "LeaseShareRequest",
  "description": "Lease Share request schema.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-storage-accounts-file-shares-api-openapi.yml#/components/schemas/LeaseShareRequest",
  "type": "object",
  "properties": {
    "action": {
      "$ref": "#/$defs/LeaseShareAction",
      "description": "Specifies the lease action. Can be one of the available actions."
    },
    "leaseId": {
      "type": "string",
      "description": "Identifies the lease. Can be specified in any valid GUID string format."
    },
    "breakPeriod": {
      "type": "integer",
      "format": "int32",
      "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60."
    },
    "leaseDuration": {
      "type": "integer",
      "format": "int32",
      "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires."
    },
    "proposedLeaseId": {
      "type": "string",
      "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format."
    }
  },
  "required": [
    "action"
  ],
  "$defs": {
    "LeaseShareAction": {
      "type": "string",
      "description": "Specifies the lease action. Can be one of the available actions.",
      "enum": [
        "Acquire",
        "Renew",
        "Change",
        "Release",
        "Break"
      ],
      "x-ms-enum": {
        "name": "LeaseShareAction",
        "modelAsString": true,
        "values": [
          {
            "name": "Acquire",
            "value": "Acquire"
          },
          {
            "name": "Renew",
            "value": "Renew"
          },
          {
            "name": "Change",
            "value": "Change"
          },
          {
            "name": "Release",
            "value": "Release"
          },
          {
            "name": "Break",
            "value": "Break"
          }
        ]
      }
    }
  }
}

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/azure-storage-accounts-lease-share-request"
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. See our Privacy Policy and Terms.

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