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.
{
"$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"
}
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.