Azure Storage Accounts · JSON Structure

Azure Storage Accounts Lease Container Request Structure

Lease Container request schema.

Type: object Properties: 5 Required: 1
AzureBlob StorageCloud StorageFile StorageQueue StorageStorageTable Storage

LeaseContainerRequest is a JSON Structure definition published by Azure Storage Accounts, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

action breakPeriod leaseDuration leaseId proposedLeaseId

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/azure-storage-accounts/refs/heads/main/json-structure/azure-storage-accounts-lease-container-request-structure.json",
  "description": "Lease Container request schema.",
  "properties": {
    "action": {
      "description": "Specifies the lease action. Can be one of the available actions.",
      "enum": [
        "Acquire",
        "Renew",
        "Change",
        "Release",
        "Break"
      ],
      "type": "string"
    },
    "breakPeriod": {
      "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60.",
      "type": "integer"
    },
    "leaseDuration": {
      "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires.",
      "type": "integer"
    },
    "leaseId": {
      "description": "Identifies the lease. Can be specified in any valid GUID string format.",
      "type": "string"
    },
    "proposedLeaseId": {
      "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format.",
      "type": "string"
    }
  },
  "type": "object",
  "required": [
    "action"
  ],
  "name": "LeaseContainerRequest"
}