-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyProperties.yml
95 lines (75 loc) · 3.35 KB
/
azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyProperties.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
### YamlMime:PythonClass
uid: azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyProperties
name: AccountImmutabilityPolicyProperties
fullName: azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyProperties
module: azure.mgmt.storage.v2021_09_01.models
inheritances:
- azure.mgmt.storage._serialization.Model
summary: This defines account-level immutability policy properties.
constructor:
syntax: 'AccountImmutabilityPolicyProperties(*, immutability_period_since_creation_in_days:
int | None = None, state: str | _models.AccountImmutabilityPolicyState | None
= None, allow_protected_append_writes: bool | None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: immutability_period_since_creation_in_days
description: 'The immutability period for the blobs in
the container since the policy creation, in days.'
types:
- <xref:int>
- name: state
description: 'The ImmutabilityPolicy state defines the mode of the policy. Disabled
state
disables the policy, Unlocked state allows increase and decrease of immutability
retention time
and also allows toggling allowProtectedAppendWrites property, Locked state only
allows the
increase of the immutability retention time. A policy can only be created in
a Disabled or
Unlocked state and can be toggled between the two states. Only a policy in an
Unlocked state
can transition to a Locked state which cannot be reverted. Known values are:
"Unlocked",
"Locked", and "Disabled".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyState>
- name: allow_protected_append_writes
description: 'This property can only be changed for disabled and
unlocked time-based retention policies. When enabled, new blocks can be written
to an append
blob while maintaining immutability protection and compliance. Only new blocks
can be added and
any existing blocks cannot be modified or deleted.'
types:
- <xref:bool>
variables:
- description: 'The immutability period for the blobs in the
container since the policy creation, in days.'
name: immutability_period_since_creation_in_days
types:
- <xref:int>
- description: 'The ImmutabilityPolicy state defines the mode of the policy. Disabled
state
disables the policy, Unlocked state allows increase and decrease of immutability
retention time
and also allows toggling allowProtectedAppendWrites property, Locked state only
allows the
increase of the immutability retention time. A policy can only be created in a
Disabled or
Unlocked state and can be toggled between the two states. Only a policy in an
Unlocked state
can transition to a Locked state which cannot be reverted. Known values are: "Unlocked",
"Locked", and "Disabled".'
name: state
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2021_09_01.models.AccountImmutabilityPolicyState>
- description: 'This property can only be changed for disabled and
unlocked time-based retention policies. When enabled, new blocks can be written
to an append
blob while maintaining immutability protection and compliance. Only new blocks
can be added and
any existing blocks cannot be modified or deleted.'
name: allow_protected_append_writes
types:
- <xref:bool>