-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-storage-accounts-lease-container-request-schema.json
More file actions
39 lines (39 loc) · 1.33 KB
/
azure-storage-accounts-lease-container-request-schema.json
File metadata and controls
39 lines (39 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/azure-storage-accounts/refs/heads/main/json-schema/azure-storage-accounts-lease-container-request-schema.json",
"title": "LeaseContainerRequest",
"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"
]
}