/
azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequest.yml
79 lines (69 loc) · 2.64 KB
/
azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequest.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
### YamlMime:PythonClass
uid: azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequest
name: LeaseContainerRequest
fullName: azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequest
module: azure.mgmt.storage.v2019_06_01.models
inheritances:
- azure.mgmt.storage._serialization.Model
summary: 'Lease Container request schema.
All required parameters must be populated in order to send to Azure.'
constructor:
syntax: 'LeaseContainerRequest(*, action: str | _models.LeaseContainerRequestAction,
lease_id: str | None = None, break_period: int | None = None, lease_duration:
int | None = None, proposed_lease_id: str | None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: action
description: 'Specifies the lease action. Can be one of the available actions.
Required.
Known values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequestAction>
- name: lease_id
description: Identifies the lease. Can be specified in any valid GUID string format.
types:
- <xref:str>
- name: break_period
description: 'Optional. For a break action, proposed duration the lease should
continue before it is broken, in seconds, between 0 and 60.'
types:
- <xref:int>
- name: lease_duration
description: 'Required for acquire. Specifies the duration of the lease, in seconds,
or negative one (-1) for a lease that never expires.'
types:
- <xref:int>
- name: proposed_lease_id
description: 'Optional for acquire, required for change. Proposed lease ID, in
a
GUID string format.'
types:
- <xref:str>
variables:
- description: 'Specifies the lease action. Can be one of the available actions. Required.
Known
values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".'
name: action
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2019_06_01.models.LeaseContainerRequestAction>
- description: Identifies the lease. Can be specified in any valid GUID string format.
name: lease_id
types:
- <xref:str>
- description: 'Optional. For a break action, proposed duration the lease should continue
before it is broken, in seconds, between 0 and 60.'
name: break_period
types:
- <xref:int>
- description: 'Required for acquire. Specifies the duration of the lease, in seconds,
or
negative one (-1) for a lease that never expires.'
name: lease_duration
types:
- <xref:int>
- description: 'Optional for acquire, required for change. Proposed lease ID, in a
GUID string format.'
name: proposed_lease_id
types:
- <xref:str>