azure-mgmt-storage 22.0.0__py3-none-any.whl → 22.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_storage_management_client.py +76 -76
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_storage_management_client.py +76 -76
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_configuration.py +2 -2
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_storage_management_client.py +49 -49
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_version.py +1 -1
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_configuration.py +2 -2
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_storage_management_client.py +49 -49
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_containers_operations.py +57 -57
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_inventory_policies_operations.py +17 -17
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_services_operations.py +11 -11
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_deleted_accounts_operations.py +5 -5
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_encryption_scopes_operations.py +18 -18
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_file_services_operations.py +173 -12
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_file_shares_operations.py +27 -27
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_local_users_operations.py +17 -17
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_management_policies_operations.py +15 -15
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_network_security_perimeter_configurations_operations.py +7 -7
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_object_replication_policies_operations.py +12 -12
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_private_endpoint_connections_operations.py +12 -12
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_private_link_resources_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_queue_operations.py +18 -18
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_queue_services_operations.py +11 -11
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_skus_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_accounts_operations.py +69 -69
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignment_instances_report_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_instances_report_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_operations.py +21 -21
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_table_operations.py +18 -18
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_table_services_operations.py +11 -11
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_usages_operations.py +3 -3
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/__init__.py +22 -0
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_models_py3.py +1132 -526
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_storage_management_client_enums.py +6 -0
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_containers_operations.py +71 -71
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_inventory_policies_operations.py +21 -21
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_services_operations.py +14 -14
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_deleted_accounts_operations.py +7 -7
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_encryption_scopes_operations.py +22 -22
- azure/mgmt/storage/v2024_01_01/operations/_file_services_operations.py +669 -0
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_file_shares_operations.py +34 -34
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_local_users_operations.py +23 -23
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_management_policies_operations.py +18 -18
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_network_security_perimeter_configurations_operations.py +10 -10
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_object_replication_policies_operations.py +16 -16
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_operations.py +4 -4
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_private_endpoint_connections_operations.py +16 -16
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_private_link_resources_operations.py +4 -4
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_queue_operations.py +23 -23
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_queue_services_operations.py +14 -14
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_skus_operations.py +4 -4
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_accounts_operations.py +87 -87
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignment_instances_report_operations.py +4 -4
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_instances_report_operations.py +4 -4
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_operations.py +26 -26
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_operations.py +23 -23
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_services_operations.py +14 -14
- azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_usages_operations.py +4 -4
- {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/METADATA +31 -1
- {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/RECORD +78 -78
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +0 -431
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/__init__.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_patch.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/__init__.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_patch.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/__init__.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_patch.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_patch.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/__init__.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_patch.py +0 -0
- /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/py.typed +0 -0
- {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/WHEEL +0 -0
- {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/top_level.txt +0 -0
@@ -68,7 +68,7 @@ class AccountImmutabilityPolicyProperties(_serialization.Model):
|
|
68
68
|
Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state
|
69
69
|
can transition to a Locked state which cannot be reverted. Known values are: "Unlocked",
|
70
70
|
"Locked", and "Disabled".
|
71
|
-
:vartype state: str or ~azure.mgmt.storage.
|
71
|
+
:vartype state: str or ~azure.mgmt.storage.v2024_01_01.models.AccountImmutabilityPolicyState
|
72
72
|
:ivar allow_protected_append_writes: This property can only be changed for disabled and
|
73
73
|
unlocked time-based retention policies. When enabled, new blocks can be written to an append
|
74
74
|
blob while maintaining immutability protection and compliance. Only new blocks can be added and
|
@@ -105,7 +105,7 @@ class AccountImmutabilityPolicyProperties(_serialization.Model):
|
|
105
105
|
Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state
|
106
106
|
can transition to a Locked state which cannot be reverted. Known values are: "Unlocked",
|
107
107
|
"Locked", and "Disabled".
|
108
|
-
:paramtype state: str or ~azure.mgmt.storage.
|
108
|
+
:paramtype state: str or ~azure.mgmt.storage.v2024_01_01.models.AccountImmutabilityPolicyState
|
109
109
|
:keyword allow_protected_append_writes: This property can only be changed for disabled and
|
110
110
|
unlocked time-based retention policies. When enabled, new blocks can be written to an append
|
111
111
|
blob while maintaining immutability protection and compliance. Only new blocks can be added and
|
@@ -118,6 +118,47 @@ class AccountImmutabilityPolicyProperties(_serialization.Model):
|
|
118
118
|
self.allow_protected_append_writes = allow_protected_append_writes
|
119
119
|
|
120
120
|
|
121
|
+
class AccountLimits(_serialization.Model):
|
122
|
+
"""Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage
|
123
|
+
account.
|
124
|
+
|
125
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
126
|
+
|
127
|
+
:ivar max_file_shares: The maximum number of file shares limit for the storage account.
|
128
|
+
:vartype max_file_shares: int
|
129
|
+
:ivar max_provisioned_storage_gi_b: The maximum provisioned storage quota limit in gibibytes
|
130
|
+
for the storage account.
|
131
|
+
:vartype max_provisioned_storage_gi_b: int
|
132
|
+
:ivar max_provisioned_iops: The maximum provisioned IOPS limit for the storage account.
|
133
|
+
:vartype max_provisioned_iops: int
|
134
|
+
:ivar max_provisioned_bandwidth_mi_b_per_sec: The maximum provisioned bandwidth limit in
|
135
|
+
mebibytes per second for the storage account.
|
136
|
+
:vartype max_provisioned_bandwidth_mi_b_per_sec: int
|
137
|
+
"""
|
138
|
+
|
139
|
+
_validation = {
|
140
|
+
"max_file_shares": {"readonly": True},
|
141
|
+
"max_provisioned_storage_gi_b": {"readonly": True},
|
142
|
+
"max_provisioned_iops": {"readonly": True},
|
143
|
+
"max_provisioned_bandwidth_mi_b_per_sec": {"readonly": True},
|
144
|
+
}
|
145
|
+
|
146
|
+
_attribute_map = {
|
147
|
+
"max_file_shares": {"key": "maxFileShares", "type": "int"},
|
148
|
+
"max_provisioned_storage_gi_b": {"key": "maxProvisionedStorageGiB", "type": "int"},
|
149
|
+
"max_provisioned_iops": {"key": "maxProvisionedIOPS", "type": "int"},
|
150
|
+
"max_provisioned_bandwidth_mi_b_per_sec": {"key": "maxProvisionedBandwidthMiBPerSec", "type": "int"},
|
151
|
+
}
|
152
|
+
|
153
|
+
def __init__(self, **kwargs: Any) -> None:
|
154
|
+
""" """
|
155
|
+
super().__init__(**kwargs)
|
156
|
+
self.max_file_shares = None
|
157
|
+
self.max_provisioned_storage_gi_b = None
|
158
|
+
self.max_provisioned_iops = None
|
159
|
+
self.max_provisioned_bandwidth_mi_b_per_sec = None
|
160
|
+
|
161
|
+
|
121
162
|
class AccountSasParameters(_serialization.Model):
|
122
163
|
"""The parameters to list SAS credentials of a storage account.
|
123
164
|
|
@@ -125,22 +166,22 @@ class AccountSasParameters(_serialization.Model):
|
|
125
166
|
|
126
167
|
:ivar services: The signed services accessible with the account SAS. Possible values include:
|
127
168
|
Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t", and "f".
|
128
|
-
:vartype services: str or ~azure.mgmt.storage.
|
169
|
+
:vartype services: str or ~azure.mgmt.storage.v2024_01_01.models.Services
|
129
170
|
:ivar resource_types: The signed resource types that are accessible with the account SAS.
|
130
171
|
Service (s): Access to service-level APIs; Container (c): Access to container-level APIs;
|
131
172
|
Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
|
132
173
|
Required. Known values are: "s", "c", and "o".
|
133
|
-
:vartype resource_types: str or ~azure.mgmt.storage.
|
174
|
+
:vartype resource_types: str or ~azure.mgmt.storage.v2024_01_01.models.SignedResourceTypes
|
134
175
|
:ivar permissions: The signed permissions for the account SAS. Possible values include: Read
|
135
176
|
(r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
|
136
177
|
Required. Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".
|
137
|
-
:vartype permissions: str or ~azure.mgmt.storage.
|
178
|
+
:vartype permissions: str or ~azure.mgmt.storage.v2024_01_01.models.Permissions
|
138
179
|
:ivar ip_address_or_range: An IP address or a range of IP addresses from which to accept
|
139
180
|
requests.
|
140
181
|
:vartype ip_address_or_range: str
|
141
182
|
:ivar protocols: The protocol permitted for a request made with the account SAS. Known values
|
142
183
|
are: "https,http" and "https".
|
143
|
-
:vartype protocols: str or ~azure.mgmt.storage.
|
184
|
+
:vartype protocols: str or ~azure.mgmt.storage.v2024_01_01.models.HttpProtocol
|
144
185
|
:ivar shared_access_start_time: The time at which the SAS becomes valid.
|
145
186
|
:vartype shared_access_start_time: ~datetime.datetime
|
146
187
|
:ivar shared_access_expiry_time: The time at which the shared access signature becomes invalid.
|
@@ -185,22 +226,22 @@ class AccountSasParameters(_serialization.Model):
|
|
185
226
|
:keyword services: The signed services accessible with the account SAS. Possible values
|
186
227
|
include: Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t",
|
187
228
|
and "f".
|
188
|
-
:paramtype services: str or ~azure.mgmt.storage.
|
229
|
+
:paramtype services: str or ~azure.mgmt.storage.v2024_01_01.models.Services
|
189
230
|
:keyword resource_types: The signed resource types that are accessible with the account SAS.
|
190
231
|
Service (s): Access to service-level APIs; Container (c): Access to container-level APIs;
|
191
232
|
Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.
|
192
233
|
Required. Known values are: "s", "c", and "o".
|
193
|
-
:paramtype resource_types: str or ~azure.mgmt.storage.
|
234
|
+
:paramtype resource_types: str or ~azure.mgmt.storage.v2024_01_01.models.SignedResourceTypes
|
194
235
|
:keyword permissions: The signed permissions for the account SAS. Possible values include: Read
|
195
236
|
(r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
|
196
237
|
Required. Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".
|
197
|
-
:paramtype permissions: str or ~azure.mgmt.storage.
|
238
|
+
:paramtype permissions: str or ~azure.mgmt.storage.v2024_01_01.models.Permissions
|
198
239
|
:keyword ip_address_or_range: An IP address or a range of IP addresses from which to accept
|
199
240
|
requests.
|
200
241
|
:paramtype ip_address_or_range: str
|
201
242
|
:keyword protocols: The protocol permitted for a request made with the account SAS. Known
|
202
243
|
values are: "https,http" and "https".
|
203
|
-
:paramtype protocols: str or ~azure.mgmt.storage.
|
244
|
+
:paramtype protocols: str or ~azure.mgmt.storage.v2024_01_01.models.HttpProtocol
|
204
245
|
:keyword shared_access_start_time: The time at which the SAS becomes valid.
|
205
246
|
:paramtype shared_access_start_time: ~datetime.datetime
|
206
247
|
:keyword shared_access_expiry_time: The time at which the shared access signature becomes
|
@@ -220,6 +261,77 @@ class AccountSasParameters(_serialization.Model):
|
|
220
261
|
self.key_to_sign = key_to_sign
|
221
262
|
|
222
263
|
|
264
|
+
class AccountUsage(_serialization.Model):
|
265
|
+
"""Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares
|
266
|
+
and soft-deleted shares in the account.
|
267
|
+
|
268
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
269
|
+
|
270
|
+
:ivar live_shares: Usage of provisioned storage, IOPS, bandwidth and number of file shares
|
271
|
+
across all live shares or soft-deleted shares in the account.
|
272
|
+
:vartype live_shares: ~azure.mgmt.storage.v2024_01_01.models.AccountUsageElements
|
273
|
+
:ivar soft_deleted_shares: Usage of provisioned storage, IOPS, bandwidth and number of file
|
274
|
+
shares across all live shares or soft-deleted shares in the account.
|
275
|
+
:vartype soft_deleted_shares: ~azure.mgmt.storage.v2024_01_01.models.AccountUsageElements
|
276
|
+
"""
|
277
|
+
|
278
|
+
_validation = {
|
279
|
+
"live_shares": {"readonly": True},
|
280
|
+
"soft_deleted_shares": {"readonly": True},
|
281
|
+
}
|
282
|
+
|
283
|
+
_attribute_map = {
|
284
|
+
"live_shares": {"key": "liveShares", "type": "AccountUsageElements"},
|
285
|
+
"soft_deleted_shares": {"key": "softDeletedShares", "type": "AccountUsageElements"},
|
286
|
+
}
|
287
|
+
|
288
|
+
def __init__(self, **kwargs: Any) -> None:
|
289
|
+
""" """
|
290
|
+
super().__init__(**kwargs)
|
291
|
+
self.live_shares = None
|
292
|
+
self.soft_deleted_shares = None
|
293
|
+
|
294
|
+
|
295
|
+
class AccountUsageElements(_serialization.Model):
|
296
|
+
"""Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares
|
297
|
+
or soft-deleted shares in the account.
|
298
|
+
|
299
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
300
|
+
|
301
|
+
:ivar file_share_count: The total number of file shares.
|
302
|
+
:vartype file_share_count: int
|
303
|
+
:ivar provisioned_storage_gi_b: The total provisioned storage quota in gibibytes.
|
304
|
+
:vartype provisioned_storage_gi_b: int
|
305
|
+
:ivar provisioned_iops: The total provisioned IOPS.
|
306
|
+
:vartype provisioned_iops: int
|
307
|
+
:ivar provisioned_bandwidth_mi_b_per_sec: The total provisioned bandwidth in mebibytes per
|
308
|
+
second.
|
309
|
+
:vartype provisioned_bandwidth_mi_b_per_sec: int
|
310
|
+
"""
|
311
|
+
|
312
|
+
_validation = {
|
313
|
+
"file_share_count": {"readonly": True},
|
314
|
+
"provisioned_storage_gi_b": {"readonly": True},
|
315
|
+
"provisioned_iops": {"readonly": True},
|
316
|
+
"provisioned_bandwidth_mi_b_per_sec": {"readonly": True},
|
317
|
+
}
|
318
|
+
|
319
|
+
_attribute_map = {
|
320
|
+
"file_share_count": {"key": "fileShareCount", "type": "int"},
|
321
|
+
"provisioned_storage_gi_b": {"key": "provisionedStorageGiB", "type": "int"},
|
322
|
+
"provisioned_iops": {"key": "provisionedIOPS", "type": "int"},
|
323
|
+
"provisioned_bandwidth_mi_b_per_sec": {"key": "provisionedBandwidthMiBPerSec", "type": "int"},
|
324
|
+
}
|
325
|
+
|
326
|
+
def __init__(self, **kwargs: Any) -> None:
|
327
|
+
""" """
|
328
|
+
super().__init__(**kwargs)
|
329
|
+
self.file_share_count = None
|
330
|
+
self.provisioned_storage_gi_b = None
|
331
|
+
self.provisioned_iops = None
|
332
|
+
self.provisioned_bandwidth_mi_b_per_sec = None
|
333
|
+
|
334
|
+
|
223
335
|
class ActiveDirectoryProperties(_serialization.Model):
|
224
336
|
"""Settings properties for Active Directory (AD).
|
225
337
|
|
@@ -242,7 +354,7 @@ class ActiveDirectoryProperties(_serialization.Model):
|
|
242
354
|
:vartype sam_account_name: str
|
243
355
|
:ivar account_type: Specifies the Active Directory account type for Azure Storage. Known values
|
244
356
|
are: "User" and "Computer".
|
245
|
-
:vartype account_type: str or ~azure.mgmt.storage.
|
357
|
+
:vartype account_type: str or ~azure.mgmt.storage.v2024_01_01.models.AccountType
|
246
358
|
"""
|
247
359
|
|
248
360
|
_validation = {
|
@@ -292,7 +404,7 @@ class ActiveDirectoryProperties(_serialization.Model):
|
|
292
404
|
:paramtype sam_account_name: str
|
293
405
|
:keyword account_type: Specifies the Active Directory account type for Azure Storage. Known
|
294
406
|
values are: "User" and "Computer".
|
295
|
-
:paramtype account_type: str or ~azure.mgmt.storage.
|
407
|
+
:paramtype account_type: str or ~azure.mgmt.storage.v2024_01_01.models.AccountType
|
296
408
|
"""
|
297
409
|
super().__init__(**kwargs)
|
298
410
|
self.domain_name = domain_name
|
@@ -385,17 +497,17 @@ class AzureFilesIdentityBasedAuthentication(_serialization.Model):
|
|
385
497
|
:ivar directory_service_options: Indicates the directory service used. Note that this enum may
|
386
498
|
be extended in the future. Required. Known values are: "None", "AADDS", "AD", and "AADKERB".
|
387
499
|
:vartype directory_service_options: str or
|
388
|
-
~azure.mgmt.storage.
|
500
|
+
~azure.mgmt.storage.v2024_01_01.models.DirectoryServiceOptions
|
389
501
|
:ivar active_directory_properties: Required if directoryServiceOptions are AD, optional if they
|
390
502
|
are AADKERB.
|
391
503
|
:vartype active_directory_properties:
|
392
|
-
~azure.mgmt.storage.
|
504
|
+
~azure.mgmt.storage.v2024_01_01.models.ActiveDirectoryProperties
|
393
505
|
:ivar default_share_permission: Default share permission for users using Kerberos
|
394
506
|
authentication if RBAC role is not assigned. Known values are: "None",
|
395
507
|
"StorageFileDataSmbShareReader", "StorageFileDataSmbShareContributor", and
|
396
508
|
"StorageFileDataSmbShareElevatedContributor".
|
397
509
|
:vartype default_share_permission: str or
|
398
|
-
~azure.mgmt.storage.
|
510
|
+
~azure.mgmt.storage.v2024_01_01.models.DefaultSharePermission
|
399
511
|
"""
|
400
512
|
|
401
513
|
_validation = {
|
@@ -421,17 +533,17 @@ class AzureFilesIdentityBasedAuthentication(_serialization.Model):
|
|
421
533
|
may be extended in the future. Required. Known values are: "None", "AADDS", "AD", and
|
422
534
|
"AADKERB".
|
423
535
|
:paramtype directory_service_options: str or
|
424
|
-
~azure.mgmt.storage.
|
536
|
+
~azure.mgmt.storage.v2024_01_01.models.DirectoryServiceOptions
|
425
537
|
:keyword active_directory_properties: Required if directoryServiceOptions are AD, optional if
|
426
538
|
they are AADKERB.
|
427
539
|
:paramtype active_directory_properties:
|
428
|
-
~azure.mgmt.storage.
|
540
|
+
~azure.mgmt.storage.v2024_01_01.models.ActiveDirectoryProperties
|
429
541
|
:keyword default_share_permission: Default share permission for users using Kerberos
|
430
542
|
authentication if RBAC role is not assigned. Known values are: "None",
|
431
543
|
"StorageFileDataSmbShareReader", "StorageFileDataSmbShareContributor", and
|
432
544
|
"StorageFileDataSmbShareElevatedContributor".
|
433
545
|
:paramtype default_share_permission: str or
|
434
|
-
~azure.mgmt.storage.
|
546
|
+
~azure.mgmt.storage.v2024_01_01.models.DefaultSharePermission
|
435
547
|
"""
|
436
548
|
super().__init__(**kwargs)
|
437
549
|
self.directory_service_options = directory_service_options
|
@@ -470,25 +582,25 @@ class BlobContainer(AzureEntityResource):
|
|
470
582
|
:vartype deny_encryption_scope_override: bool
|
471
583
|
:ivar public_access: Specifies whether data in the container may be accessed publicly and the
|
472
584
|
level of access. Known values are: "Container", "Blob", and "None".
|
473
|
-
:vartype public_access: str or ~azure.mgmt.storage.
|
585
|
+
:vartype public_access: str or ~azure.mgmt.storage.v2024_01_01.models.PublicAccess
|
474
586
|
:ivar last_modified_time: Returns the date and time the container was last modified.
|
475
587
|
:vartype last_modified_time: ~datetime.datetime
|
476
588
|
:ivar lease_status: The lease status of the container. Known values are: "Locked" and
|
477
589
|
"Unlocked".
|
478
|
-
:vartype lease_status: str or ~azure.mgmt.storage.
|
590
|
+
:vartype lease_status: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseStatus
|
479
591
|
:ivar lease_state: Lease state of the container. Known values are: "Available", "Leased",
|
480
592
|
"Expired", "Breaking", and "Broken".
|
481
|
-
:vartype lease_state: str or ~azure.mgmt.storage.
|
593
|
+
:vartype lease_state: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseState
|
482
594
|
:ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed
|
483
595
|
duration, only when the container is leased. Known values are: "Infinite" and "Fixed".
|
484
|
-
:vartype lease_duration: str or ~azure.mgmt.storage.
|
596
|
+
:vartype lease_duration: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseDuration
|
485
597
|
:ivar metadata: A name-value pair to associate with the container as metadata.
|
486
598
|
:vartype metadata: dict[str, str]
|
487
599
|
:ivar immutability_policy: The ImmutabilityPolicy property of the container.
|
488
600
|
:vartype immutability_policy:
|
489
|
-
~azure.mgmt.storage.
|
601
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutabilityPolicyProperties
|
490
602
|
:ivar legal_hold: The LegalHold property of the container.
|
491
|
-
:vartype legal_hold: ~azure.mgmt.storage.
|
603
|
+
:vartype legal_hold: ~azure.mgmt.storage.v2024_01_01.models.LegalHoldProperties
|
492
604
|
:ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
|
493
605
|
least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
|
494
606
|
legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
|
@@ -502,7 +614,7 @@ class BlobContainer(AzureEntityResource):
|
|
502
614
|
container. The property is immutable and can only be set to true at the container creation
|
503
615
|
time. Existing containers must undergo a migration process.
|
504
616
|
:vartype immutable_storage_with_versioning:
|
505
|
-
~azure.mgmt.storage.
|
617
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageWithVersioning
|
506
618
|
:ivar enable_nfs_v3_root_squash: Enable NFSv3 root squash on blob container.
|
507
619
|
:vartype enable_nfs_v3_root_squash: bool
|
508
620
|
:ivar enable_nfs_v3_all_squash: Enable NFSv3 all squash on blob container.
|
@@ -578,14 +690,14 @@ class BlobContainer(AzureEntityResource):
|
|
578
690
|
:paramtype deny_encryption_scope_override: bool
|
579
691
|
:keyword public_access: Specifies whether data in the container may be accessed publicly and
|
580
692
|
the level of access. Known values are: "Container", "Blob", and "None".
|
581
|
-
:paramtype public_access: str or ~azure.mgmt.storage.
|
693
|
+
:paramtype public_access: str or ~azure.mgmt.storage.v2024_01_01.models.PublicAccess
|
582
694
|
:keyword metadata: A name-value pair to associate with the container as metadata.
|
583
695
|
:paramtype metadata: dict[str, str]
|
584
696
|
:keyword immutable_storage_with_versioning: The object level immutability property of the
|
585
697
|
container. The property is immutable and can only be set to true at the container creation
|
586
698
|
time. Existing containers must undergo a migration process.
|
587
699
|
:paramtype immutable_storage_with_versioning:
|
588
|
-
~azure.mgmt.storage.
|
700
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageWithVersioning
|
589
701
|
:keyword enable_nfs_v3_root_squash: Enable NFSv3 root squash on blob container.
|
590
702
|
:paramtype enable_nfs_v3_root_squash: bool
|
591
703
|
:keyword enable_nfs_v3_all_squash: Enable NFSv3 all squash on blob container.
|
@@ -654,11 +766,11 @@ class BlobInventoryPolicy(Resource):
|
|
654
766
|
"Microsoft.Storage/storageAccounts".
|
655
767
|
:vartype type: str
|
656
768
|
:ivar system_data: Metadata pertaining to creation and last modification of the resource.
|
657
|
-
:vartype system_data: ~azure.mgmt.storage.
|
769
|
+
:vartype system_data: ~azure.mgmt.storage.v2024_01_01.models.SystemData
|
658
770
|
:ivar last_modified_time: Returns the last modified date and time of the blob inventory policy.
|
659
771
|
:vartype last_modified_time: ~datetime.datetime
|
660
772
|
:ivar policy: The storage account blob inventory policy object. It is composed of policy rules.
|
661
|
-
:vartype policy: ~azure.mgmt.storage.
|
773
|
+
:vartype policy: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicySchema
|
662
774
|
"""
|
663
775
|
|
664
776
|
_validation = {
|
@@ -682,7 +794,7 @@ class BlobInventoryPolicy(Resource):
|
|
682
794
|
"""
|
683
795
|
:keyword policy: The storage account blob inventory policy object. It is composed of policy
|
684
796
|
rules.
|
685
|
-
:paramtype policy: ~azure.mgmt.storage.
|
797
|
+
:paramtype policy: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicySchema
|
686
798
|
"""
|
687
799
|
super().__init__(**kwargs)
|
688
800
|
self.system_data = None
|
@@ -696,17 +808,17 @@ class BlobInventoryPolicyDefinition(_serialization.Model):
|
|
696
808
|
All required parameters must be populated in order to send to server.
|
697
809
|
|
698
810
|
:ivar filters: An object that defines the filter set.
|
699
|
-
:vartype filters: ~azure.mgmt.storage.
|
811
|
+
:vartype filters: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyFilter
|
700
812
|
:ivar format: This is a required field, it specifies the format for the inventory files.
|
701
813
|
Required. Known values are: "Csv" and "Parquet".
|
702
|
-
:vartype format: str or ~azure.mgmt.storage.
|
814
|
+
:vartype format: str or ~azure.mgmt.storage.v2024_01_01.models.Format
|
703
815
|
:ivar schedule: This is a required field. This field is used to schedule an inventory
|
704
816
|
formation. Required. Known values are: "Daily" and "Weekly".
|
705
|
-
:vartype schedule: str or ~azure.mgmt.storage.
|
817
|
+
:vartype schedule: str or ~azure.mgmt.storage.v2024_01_01.models.Schedule
|
706
818
|
:ivar object_type: This is a required field. This field specifies the scope of the inventory
|
707
819
|
created either at the blob or container level. Required. Known values are: "Blob" and
|
708
820
|
"Container".
|
709
|
-
:vartype object_type: str or ~azure.mgmt.storage.
|
821
|
+
:vartype object_type: str or ~azure.mgmt.storage.v2024_01_01.models.ObjectType
|
710
822
|
:ivar schema_fields: This is a required field. This field specifies the fields and properties
|
711
823
|
of the object to be included in the inventory. The Schema field value 'Name' is always
|
712
824
|
required. The valid values for this field for the 'Blob' definition.objectType include 'Name,
|
@@ -756,17 +868,17 @@ class BlobInventoryPolicyDefinition(_serialization.Model):
|
|
756
868
|
) -> None:
|
757
869
|
"""
|
758
870
|
:keyword filters: An object that defines the filter set.
|
759
|
-
:paramtype filters: ~azure.mgmt.storage.
|
871
|
+
:paramtype filters: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyFilter
|
760
872
|
:keyword format: This is a required field, it specifies the format for the inventory files.
|
761
873
|
Required. Known values are: "Csv" and "Parquet".
|
762
|
-
:paramtype format: str or ~azure.mgmt.storage.
|
874
|
+
:paramtype format: str or ~azure.mgmt.storage.v2024_01_01.models.Format
|
763
875
|
:keyword schedule: This is a required field. This field is used to schedule an inventory
|
764
876
|
formation. Required. Known values are: "Daily" and "Weekly".
|
765
|
-
:paramtype schedule: str or ~azure.mgmt.storage.
|
877
|
+
:paramtype schedule: str or ~azure.mgmt.storage.v2024_01_01.models.Schedule
|
766
878
|
:keyword object_type: This is a required field. This field specifies the scope of the inventory
|
767
879
|
created either at the blob or container level. Required. Known values are: "Blob" and
|
768
880
|
"Container".
|
769
|
-
:paramtype object_type: str or ~azure.mgmt.storage.
|
881
|
+
:paramtype object_type: str or ~azure.mgmt.storage.v2024_01_01.models.ObjectType
|
770
882
|
:keyword schema_fields: This is a required field. This field specifies the fields and
|
771
883
|
properties of the object to be included in the inventory. The Schema field value 'Name' is
|
772
884
|
always required. The valid values for this field for the 'Blob' definition.objectType include
|
@@ -828,7 +940,7 @@ class BlobInventoryPolicyFilter(_serialization.Model):
|
|
828
940
|
excluded.
|
829
941
|
:vartype include_deleted: bool
|
830
942
|
:ivar creation_time: This property is used to filter objects based on the object creation time.
|
831
|
-
:vartype creation_time: ~azure.mgmt.storage.
|
943
|
+
:vartype creation_time: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryCreationTime
|
832
944
|
"""
|
833
945
|
|
834
946
|
_attribute_map = {
|
@@ -881,7 +993,7 @@ class BlobInventoryPolicyFilter(_serialization.Model):
|
|
881
993
|
:paramtype include_deleted: bool
|
882
994
|
:keyword creation_time: This property is used to filter objects based on the object creation
|
883
995
|
time.
|
884
|
-
:paramtype creation_time: ~azure.mgmt.storage.
|
996
|
+
:paramtype creation_time: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryCreationTime
|
885
997
|
"""
|
886
998
|
super().__init__(**kwargs)
|
887
999
|
self.prefix_match = prefix_match
|
@@ -907,7 +1019,7 @@ class BlobInventoryPolicyRule(_serialization.Model):
|
|
907
1019
|
Required.
|
908
1020
|
:vartype destination: str
|
909
1021
|
:ivar definition: An object that defines the blob inventory policy rule. Required.
|
910
|
-
:vartype definition: ~azure.mgmt.storage.
|
1022
|
+
:vartype definition: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyDefinition
|
911
1023
|
"""
|
912
1024
|
|
913
1025
|
_validation = {
|
@@ -943,7 +1055,7 @@ class BlobInventoryPolicyRule(_serialization.Model):
|
|
943
1055
|
pre-created. Required.
|
944
1056
|
:paramtype destination: str
|
945
1057
|
:keyword definition: An object that defines the blob inventory policy rule. Required.
|
946
|
-
:paramtype definition: ~azure.mgmt.storage.
|
1058
|
+
:paramtype definition: ~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyDefinition
|
947
1059
|
"""
|
948
1060
|
super().__init__(**kwargs)
|
949
1061
|
self.enabled = enabled
|
@@ -965,10 +1077,10 @@ class BlobInventoryPolicySchema(_serialization.Model):
|
|
965
1077
|
destination container name must be specified at the rule level 'policy.rule.destination'.
|
966
1078
|
:vartype destination: str
|
967
1079
|
:ivar type: The valid value is Inventory. Required. "Inventory"
|
968
|
-
:vartype type: str or ~azure.mgmt.storage.
|
1080
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.InventoryRuleType
|
969
1081
|
:ivar rules: The storage account blob inventory policy rules. The rule is applied when it is
|
970
1082
|
enabled. Required.
|
971
|
-
:vartype rules: list[~azure.mgmt.storage.
|
1083
|
+
:vartype rules: list[~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyRule]
|
972
1084
|
"""
|
973
1085
|
|
974
1086
|
_validation = {
|
@@ -997,10 +1109,10 @@ class BlobInventoryPolicySchema(_serialization.Model):
|
|
997
1109
|
:keyword enabled: Policy is enabled if set to true. Required.
|
998
1110
|
:paramtype enabled: bool
|
999
1111
|
:keyword type: The valid value is Inventory. Required. "Inventory"
|
1000
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
1112
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.InventoryRuleType
|
1001
1113
|
:keyword rules: The storage account blob inventory policy rules. The rule is applied when it is
|
1002
1114
|
enabled. Required.
|
1003
|
-
:paramtype rules: list[~azure.mgmt.storage.
|
1115
|
+
:paramtype rules: list[~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicyRule]
|
1004
1116
|
"""
|
1005
1117
|
super().__init__(**kwargs)
|
1006
1118
|
self.enabled = enabled
|
@@ -1017,7 +1129,7 @@ class BlobRestoreParameters(_serialization.Model):
|
|
1017
1129
|
:ivar time_to_restore: Restore blob to the specified time. Required.
|
1018
1130
|
:vartype time_to_restore: ~datetime.datetime
|
1019
1131
|
:ivar blob_ranges: Blob ranges to restore. Required.
|
1020
|
-
:vartype blob_ranges: list[~azure.mgmt.storage.
|
1132
|
+
:vartype blob_ranges: list[~azure.mgmt.storage.v2024_01_01.models.BlobRestoreRange]
|
1021
1133
|
"""
|
1022
1134
|
|
1023
1135
|
_validation = {
|
@@ -1037,7 +1149,7 @@ class BlobRestoreParameters(_serialization.Model):
|
|
1037
1149
|
:keyword time_to_restore: Restore blob to the specified time. Required.
|
1038
1150
|
:paramtype time_to_restore: ~datetime.datetime
|
1039
1151
|
:keyword blob_ranges: Blob ranges to restore. Required.
|
1040
|
-
:paramtype blob_ranges: list[~azure.mgmt.storage.
|
1152
|
+
:paramtype blob_ranges: list[~azure.mgmt.storage.v2024_01_01.models.BlobRestoreRange]
|
1041
1153
|
"""
|
1042
1154
|
super().__init__(**kwargs)
|
1043
1155
|
self.time_to_restore = time_to_restore
|
@@ -1086,13 +1198,13 @@ class BlobRestoreStatus(_serialization.Model):
|
|
1086
1198
|
that blob restore is ongoing. - Complete: Indicates that blob restore has been completed
|
1087
1199
|
successfully. - Failed: Indicates that blob restore is failed. Known values are: "InProgress",
|
1088
1200
|
"Complete", and "Failed".
|
1089
|
-
:vartype status: str or ~azure.mgmt.storage.
|
1201
|
+
:vartype status: str or ~azure.mgmt.storage.v2024_01_01.models.BlobRestoreProgressStatus
|
1090
1202
|
:ivar failure_reason: Failure reason when blob restore is failed.
|
1091
1203
|
:vartype failure_reason: str
|
1092
1204
|
:ivar restore_id: Id for tracking blob restore request.
|
1093
1205
|
:vartype restore_id: str
|
1094
1206
|
:ivar parameters: Blob restore request parameters.
|
1095
|
-
:vartype parameters: ~azure.mgmt.storage.
|
1207
|
+
:vartype parameters: ~azure.mgmt.storage.v2024_01_01.models.BlobRestoreParameters
|
1096
1208
|
"""
|
1097
1209
|
|
1098
1210
|
_validation = {
|
@@ -1124,7 +1236,7 @@ class BlobServiceItems(_serialization.Model):
|
|
1124
1236
|
Variables are only populated by the server, and will be ignored when sending a request.
|
1125
1237
|
|
1126
1238
|
:ivar value: List of blob services returned.
|
1127
|
-
:vartype value: list[~azure.mgmt.storage.
|
1239
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.BlobServiceProperties]
|
1128
1240
|
"""
|
1129
1241
|
|
1130
1242
|
_validation = {
|
@@ -1155,32 +1267,32 @@ class BlobServiceProperties(Resource):
|
|
1155
1267
|
"Microsoft.Storage/storageAccounts".
|
1156
1268
|
:vartype type: str
|
1157
1269
|
:ivar sku: Sku name and tier.
|
1158
|
-
:vartype sku: ~azure.mgmt.storage.
|
1270
|
+
:vartype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
1159
1271
|
:ivar cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule
|
1160
1272
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
1161
1273
|
rules will be deleted, and CORS will be disabled for the Blob service.
|
1162
|
-
:vartype cors: ~azure.mgmt.storage.
|
1274
|
+
:vartype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
1163
1275
|
:ivar default_service_version: DefaultServiceVersion indicates the default version to use for
|
1164
1276
|
requests to the Blob service if an incoming request’s version is not specified. Possible values
|
1165
1277
|
include version 2008-10-27 and all more recent versions.
|
1166
1278
|
:vartype default_service_version: str
|
1167
1279
|
:ivar delete_retention_policy: The blob service properties for blob soft delete.
|
1168
|
-
:vartype delete_retention_policy: ~azure.mgmt.storage.
|
1280
|
+
:vartype delete_retention_policy: ~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
1169
1281
|
:ivar is_versioning_enabled: Versioning is enabled if set to true.
|
1170
1282
|
:vartype is_versioning_enabled: bool
|
1171
1283
|
:ivar automatic_snapshot_policy_enabled: Deprecated in favor of isVersioningEnabled property.
|
1172
1284
|
:vartype automatic_snapshot_policy_enabled: bool
|
1173
1285
|
:ivar change_feed: The blob service properties for change feed events.
|
1174
|
-
:vartype change_feed: ~azure.mgmt.storage.
|
1286
|
+
:vartype change_feed: ~azure.mgmt.storage.v2024_01_01.models.ChangeFeed
|
1175
1287
|
:ivar restore_policy: The blob service properties for blob restore policy.
|
1176
|
-
:vartype restore_policy: ~azure.mgmt.storage.
|
1288
|
+
:vartype restore_policy: ~azure.mgmt.storage.v2024_01_01.models.RestorePolicyProperties
|
1177
1289
|
:ivar container_delete_retention_policy: The blob service properties for container soft delete.
|
1178
1290
|
:vartype container_delete_retention_policy:
|
1179
|
-
~azure.mgmt.storage.
|
1291
|
+
~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
1180
1292
|
:ivar last_access_time_tracking_policy: The blob service property to configure last access time
|
1181
1293
|
based tracking policy.
|
1182
1294
|
:vartype last_access_time_tracking_policy:
|
1183
|
-
~azure.mgmt.storage.
|
1295
|
+
~azure.mgmt.storage.v2024_01_01.models.LastAccessTimeTrackingPolicy
|
1184
1296
|
"""
|
1185
1297
|
|
1186
1298
|
_validation = {
|
@@ -1230,31 +1342,31 @@ class BlobServiceProperties(Resource):
|
|
1230
1342
|
:keyword cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule
|
1231
1343
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
1232
1344
|
rules will be deleted, and CORS will be disabled for the Blob service.
|
1233
|
-
:paramtype cors: ~azure.mgmt.storage.
|
1345
|
+
:paramtype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
1234
1346
|
:keyword default_service_version: DefaultServiceVersion indicates the default version to use
|
1235
1347
|
for requests to the Blob service if an incoming request’s version is not specified. Possible
|
1236
1348
|
values include version 2008-10-27 and all more recent versions.
|
1237
1349
|
:paramtype default_service_version: str
|
1238
1350
|
:keyword delete_retention_policy: The blob service properties for blob soft delete.
|
1239
1351
|
:paramtype delete_retention_policy:
|
1240
|
-
~azure.mgmt.storage.
|
1352
|
+
~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
1241
1353
|
:keyword is_versioning_enabled: Versioning is enabled if set to true.
|
1242
1354
|
:paramtype is_versioning_enabled: bool
|
1243
1355
|
:keyword automatic_snapshot_policy_enabled: Deprecated in favor of isVersioningEnabled
|
1244
1356
|
property.
|
1245
1357
|
:paramtype automatic_snapshot_policy_enabled: bool
|
1246
1358
|
:keyword change_feed: The blob service properties for change feed events.
|
1247
|
-
:paramtype change_feed: ~azure.mgmt.storage.
|
1359
|
+
:paramtype change_feed: ~azure.mgmt.storage.v2024_01_01.models.ChangeFeed
|
1248
1360
|
:keyword restore_policy: The blob service properties for blob restore policy.
|
1249
|
-
:paramtype restore_policy: ~azure.mgmt.storage.
|
1361
|
+
:paramtype restore_policy: ~azure.mgmt.storage.v2024_01_01.models.RestorePolicyProperties
|
1250
1362
|
:keyword container_delete_retention_policy: The blob service properties for container soft
|
1251
1363
|
delete.
|
1252
1364
|
:paramtype container_delete_retention_policy:
|
1253
|
-
~azure.mgmt.storage.
|
1365
|
+
~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
1254
1366
|
:keyword last_access_time_tracking_policy: The blob service property to configure last access
|
1255
1367
|
time based tracking policy.
|
1256
1368
|
:paramtype last_access_time_tracking_policy:
|
1257
|
-
~azure.mgmt.storage.
|
1369
|
+
~azure.mgmt.storage.v2024_01_01.models.LastAccessTimeTrackingPolicy
|
1258
1370
|
"""
|
1259
1371
|
super().__init__(**kwargs)
|
1260
1372
|
self.sku = None
|
@@ -1269,6 +1381,42 @@ class BlobServiceProperties(Resource):
|
|
1269
1381
|
self.last_access_time_tracking_policy = last_access_time_tracking_policy
|
1270
1382
|
|
1271
1383
|
|
1384
|
+
class BurstingConstants(_serialization.Model):
|
1385
|
+
"""Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a
|
1386
|
+
file share in the storage account.
|
1387
|
+
|
1388
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
1389
|
+
|
1390
|
+
:ivar burst_floor_iops: The guaranteed floor of burst IOPS for small file shares.
|
1391
|
+
:vartype burst_floor_iops: int
|
1392
|
+
:ivar burst_io_scalar: The scalar against provisioned IOPS in the file share included burst
|
1393
|
+
IOPS formula.
|
1394
|
+
:vartype burst_io_scalar: float
|
1395
|
+
:ivar burst_timeframe_seconds: The time frame for bursting in seconds in the file share maximum
|
1396
|
+
burst credits for IOPS formula.
|
1397
|
+
:vartype burst_timeframe_seconds: int
|
1398
|
+
"""
|
1399
|
+
|
1400
|
+
_validation = {
|
1401
|
+
"burst_floor_iops": {"readonly": True},
|
1402
|
+
"burst_io_scalar": {"readonly": True},
|
1403
|
+
"burst_timeframe_seconds": {"readonly": True},
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
_attribute_map = {
|
1407
|
+
"burst_floor_iops": {"key": "burstFloorIOPS", "type": "int"},
|
1408
|
+
"burst_io_scalar": {"key": "burstIOScalar", "type": "float"},
|
1409
|
+
"burst_timeframe_seconds": {"key": "burstTimeframeSeconds", "type": "int"},
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
def __init__(self, **kwargs: Any) -> None:
|
1413
|
+
""" """
|
1414
|
+
super().__init__(**kwargs)
|
1415
|
+
self.burst_floor_iops = None
|
1416
|
+
self.burst_io_scalar = None
|
1417
|
+
self.burst_timeframe_seconds = None
|
1418
|
+
|
1419
|
+
|
1272
1420
|
class ChangeFeed(_serialization.Model):
|
1273
1421
|
"""The blob service properties for change feed events.
|
1274
1422
|
|
@@ -1317,7 +1465,7 @@ class CheckNameAvailabilityResult(_serialization.Model):
|
|
1317
1465
|
:ivar reason: Gets the reason that a storage account name could not be used. The Reason element
|
1318
1466
|
is only returned if NameAvailable is false. Known values are: "AccountNameInvalid" and
|
1319
1467
|
"AlreadyExists".
|
1320
|
-
:vartype reason: str or ~azure.mgmt.storage.
|
1468
|
+
:vartype reason: str or ~azure.mgmt.storage.v2024_01_01.models.Reason
|
1321
1469
|
:ivar message: Gets an error message explaining the Reason value in more detail.
|
1322
1470
|
:vartype message: str
|
1323
1471
|
"""
|
@@ -1355,7 +1503,7 @@ class CloudErrorBody(_serialization.Model):
|
|
1355
1503
|
error.
|
1356
1504
|
:vartype target: str
|
1357
1505
|
:ivar details: A list of additional details about the error.
|
1358
|
-
:vartype details: list[~azure.mgmt.storage.
|
1506
|
+
:vartype details: list[~azure.mgmt.storage.v2024_01_01.models.CloudErrorBody]
|
1359
1507
|
"""
|
1360
1508
|
|
1361
1509
|
_attribute_map = {
|
@@ -1385,7 +1533,7 @@ class CloudErrorBody(_serialization.Model):
|
|
1385
1533
|
error.
|
1386
1534
|
:paramtype target: str
|
1387
1535
|
:keyword details: A list of additional details about the error.
|
1388
|
-
:paramtype details: list[~azure.mgmt.storage.
|
1536
|
+
:paramtype details: list[~azure.mgmt.storage.v2024_01_01.models.CloudErrorBody]
|
1389
1537
|
"""
|
1390
1538
|
super().__init__(**kwargs)
|
1391
1539
|
self.code = code
|
@@ -1404,7 +1552,7 @@ class CorsRule(_serialization.Model):
|
|
1404
1552
|
:vartype allowed_origins: list[str]
|
1405
1553
|
:ivar allowed_methods: Required if CorsRule element is present. A list of HTTP methods that are
|
1406
1554
|
allowed to be executed by the origin. Required.
|
1407
|
-
:vartype allowed_methods: list[str or ~azure.mgmt.storage.
|
1555
|
+
:vartype allowed_methods: list[str or ~azure.mgmt.storage.v2024_01_01.models.AllowedMethods]
|
1408
1556
|
:ivar max_age_in_seconds: Required if CorsRule element is present. The number of seconds that
|
1409
1557
|
the client/browser should cache a preflight response. Required.
|
1410
1558
|
:vartype max_age_in_seconds: int
|
@@ -1448,7 +1596,7 @@ class CorsRule(_serialization.Model):
|
|
1448
1596
|
:paramtype allowed_origins: list[str]
|
1449
1597
|
:keyword allowed_methods: Required if CorsRule element is present. A list of HTTP methods that
|
1450
1598
|
are allowed to be executed by the origin. Required.
|
1451
|
-
:paramtype allowed_methods: list[str or ~azure.mgmt.storage.
|
1599
|
+
:paramtype allowed_methods: list[str or ~azure.mgmt.storage.v2024_01_01.models.AllowedMethods]
|
1452
1600
|
:keyword max_age_in_seconds: Required if CorsRule element is present. The number of seconds
|
1453
1601
|
that the client/browser should cache a preflight response. Required.
|
1454
1602
|
:paramtype max_age_in_seconds: int
|
@@ -1472,7 +1620,7 @@ class CorsRules(_serialization.Model):
|
|
1472
1620
|
|
1473
1621
|
:ivar cors_rules: The List of CORS rules. You can include up to five CorsRule elements in the
|
1474
1622
|
request.
|
1475
|
-
:vartype cors_rules: list[~azure.mgmt.storage.
|
1623
|
+
:vartype cors_rules: list[~azure.mgmt.storage.v2024_01_01.models.CorsRule]
|
1476
1624
|
"""
|
1477
1625
|
|
1478
1626
|
_attribute_map = {
|
@@ -1483,7 +1631,7 @@ class CorsRules(_serialization.Model):
|
|
1483
1631
|
"""
|
1484
1632
|
:keyword cors_rules: The List of CORS rules. You can include up to five CorsRule elements in
|
1485
1633
|
the request.
|
1486
|
-
:paramtype cors_rules: list[~azure.mgmt.storage.
|
1634
|
+
:paramtype cors_rules: list[~azure.mgmt.storage.v2024_01_01.models.CorsRule]
|
1487
1635
|
"""
|
1488
1636
|
super().__init__(**kwargs)
|
1489
1637
|
self.cors_rules = cors_rules
|
@@ -1723,7 +1871,7 @@ class DeletedAccountListResult(_serialization.Model):
|
|
1723
1871
|
Variables are only populated by the server, and will be ignored when sending a request.
|
1724
1872
|
|
1725
1873
|
:ivar value: Gets the list of deleted accounts and their properties.
|
1726
|
-
:vartype value: list[~azure.mgmt.storage.
|
1874
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.DeletedAccount]
|
1727
1875
|
:ivar next_link: Request URL that can be used to query next page of deleted accounts. Returned
|
1728
1876
|
when total number of requested deleted accounts exceed maximum page size.
|
1729
1877
|
:vartype next_link: str
|
@@ -1862,18 +2010,18 @@ class Encryption(_serialization.Model):
|
|
1862
2010
|
"""The encryption settings on the storage account.
|
1863
2011
|
|
1864
2012
|
:ivar services: List of services which support encryption.
|
1865
|
-
:vartype services: ~azure.mgmt.storage.
|
2013
|
+
:vartype services: ~azure.mgmt.storage.v2024_01_01.models.EncryptionServices
|
1866
2014
|
:ivar key_source: The encryption keySource (provider). Possible values (case-insensitive):
|
1867
2015
|
Microsoft.Storage, Microsoft.Keyvault. Known values are: "Microsoft.Storage" and
|
1868
2016
|
"Microsoft.Keyvault".
|
1869
|
-
:vartype key_source: str or ~azure.mgmt.storage.
|
2017
|
+
:vartype key_source: str or ~azure.mgmt.storage.v2024_01_01.models.KeySource
|
1870
2018
|
:ivar require_infrastructure_encryption: A boolean indicating whether or not the service
|
1871
2019
|
applies a secondary layer of encryption with platform managed keys for data at rest.
|
1872
2020
|
:vartype require_infrastructure_encryption: bool
|
1873
2021
|
:ivar key_vault_properties: Properties provided by key vault.
|
1874
|
-
:vartype key_vault_properties: ~azure.mgmt.storage.
|
2022
|
+
:vartype key_vault_properties: ~azure.mgmt.storage.v2024_01_01.models.KeyVaultProperties
|
1875
2023
|
:ivar encryption_identity: The identity to be used with service-side encryption at rest.
|
1876
|
-
:vartype encryption_identity: ~azure.mgmt.storage.
|
2024
|
+
:vartype encryption_identity: ~azure.mgmt.storage.v2024_01_01.models.EncryptionIdentity
|
1877
2025
|
"""
|
1878
2026
|
|
1879
2027
|
_attribute_map = {
|
@@ -1896,18 +2044,18 @@ class Encryption(_serialization.Model):
|
|
1896
2044
|
) -> None:
|
1897
2045
|
"""
|
1898
2046
|
:keyword services: List of services which support encryption.
|
1899
|
-
:paramtype services: ~azure.mgmt.storage.
|
2047
|
+
:paramtype services: ~azure.mgmt.storage.v2024_01_01.models.EncryptionServices
|
1900
2048
|
:keyword key_source: The encryption keySource (provider). Possible values (case-insensitive):
|
1901
2049
|
Microsoft.Storage, Microsoft.Keyvault. Known values are: "Microsoft.Storage" and
|
1902
2050
|
"Microsoft.Keyvault".
|
1903
|
-
:paramtype key_source: str or ~azure.mgmt.storage.
|
2051
|
+
:paramtype key_source: str or ~azure.mgmt.storage.v2024_01_01.models.KeySource
|
1904
2052
|
:keyword require_infrastructure_encryption: A boolean indicating whether or not the service
|
1905
2053
|
applies a secondary layer of encryption with platform managed keys for data at rest.
|
1906
2054
|
:paramtype require_infrastructure_encryption: bool
|
1907
2055
|
:keyword key_vault_properties: Properties provided by key vault.
|
1908
|
-
:paramtype key_vault_properties: ~azure.mgmt.storage.
|
2056
|
+
:paramtype key_vault_properties: ~azure.mgmt.storage.v2024_01_01.models.KeyVaultProperties
|
1909
2057
|
:keyword encryption_identity: The identity to be used with service-side encryption at rest.
|
1910
|
-
:paramtype encryption_identity: ~azure.mgmt.storage.
|
2058
|
+
:paramtype encryption_identity: ~azure.mgmt.storage.v2024_01_01.models.EncryptionIdentity
|
1911
2059
|
"""
|
1912
2060
|
super().__init__(**kwargs)
|
1913
2061
|
self.services = services
|
@@ -1971,10 +2119,10 @@ class EncryptionScope(Resource):
|
|
1971
2119
|
:ivar source: The provider for the encryption scope. Possible values (case-insensitive):
|
1972
2120
|
Microsoft.Storage, Microsoft.KeyVault. Known values are: "Microsoft.Storage" and
|
1973
2121
|
"Microsoft.KeyVault".
|
1974
|
-
:vartype source: str or ~azure.mgmt.storage.
|
2122
|
+
:vartype source: str or ~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeSource
|
1975
2123
|
:ivar state: The state of the encryption scope. Possible values (case-insensitive): Enabled,
|
1976
2124
|
Disabled. Known values are: "Enabled" and "Disabled".
|
1977
|
-
:vartype state: str or ~azure.mgmt.storage.
|
2125
|
+
:vartype state: str or ~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeState
|
1978
2126
|
:ivar creation_time: Gets the creation date and time of the encryption scope in UTC.
|
1979
2127
|
:vartype creation_time: ~datetime.datetime
|
1980
2128
|
:ivar last_modified_time: Gets the last modification date and time of the encryption scope in
|
@@ -1983,7 +2131,7 @@ class EncryptionScope(Resource):
|
|
1983
2131
|
:ivar key_vault_properties: The key vault properties for the encryption scope. This is a
|
1984
2132
|
required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
|
1985
2133
|
:vartype key_vault_properties:
|
1986
|
-
~azure.mgmt.storage.
|
2134
|
+
~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeKeyVaultProperties
|
1987
2135
|
:ivar require_infrastructure_encryption: A boolean indicating whether or not the service
|
1988
2136
|
applies a secondary layer of encryption with platform managed keys for data at rest.
|
1989
2137
|
:vartype require_infrastructure_encryption: bool
|
@@ -2022,14 +2170,14 @@ class EncryptionScope(Resource):
|
|
2022
2170
|
:keyword source: The provider for the encryption scope. Possible values (case-insensitive):
|
2023
2171
|
Microsoft.Storage, Microsoft.KeyVault. Known values are: "Microsoft.Storage" and
|
2024
2172
|
"Microsoft.KeyVault".
|
2025
|
-
:paramtype source: str or ~azure.mgmt.storage.
|
2173
|
+
:paramtype source: str or ~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeSource
|
2026
2174
|
:keyword state: The state of the encryption scope. Possible values (case-insensitive):
|
2027
2175
|
Enabled, Disabled. Known values are: "Enabled" and "Disabled".
|
2028
|
-
:paramtype state: str or ~azure.mgmt.storage.
|
2176
|
+
:paramtype state: str or ~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeState
|
2029
2177
|
:keyword key_vault_properties: The key vault properties for the encryption scope. This is a
|
2030
2178
|
required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
|
2031
2179
|
:paramtype key_vault_properties:
|
2032
|
-
~azure.mgmt.storage.
|
2180
|
+
~azure.mgmt.storage.v2024_01_01.models.EncryptionScopeKeyVaultProperties
|
2033
2181
|
:keyword require_infrastructure_encryption: A boolean indicating whether or not the service
|
2034
2182
|
applies a secondary layer of encryption with platform managed keys for data at rest.
|
2035
2183
|
:paramtype require_infrastructure_encryption: bool
|
@@ -2091,7 +2239,7 @@ class EncryptionScopeListResult(_serialization.Model):
|
|
2091
2239
|
Variables are only populated by the server, and will be ignored when sending a request.
|
2092
2240
|
|
2093
2241
|
:ivar value: List of encryption scopes requested.
|
2094
|
-
:vartype value: list[~azure.mgmt.storage.
|
2242
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.EncryptionScope]
|
2095
2243
|
:ivar next_link: Request URL that can be used to query next page of encryption scopes. Returned
|
2096
2244
|
when total number of requested encryption scopes exceeds the maximum page size.
|
2097
2245
|
:vartype next_link: str
|
@@ -2128,7 +2276,7 @@ class EncryptionService(_serialization.Model):
|
|
2128
2276
|
:ivar key_type: Encryption key type to be used for the encryption service. 'Account' key type
|
2129
2277
|
implies that an account-scoped encryption key will be used. 'Service' key type implies that a
|
2130
2278
|
default service key is used. Known values are: "Service" and "Account".
|
2131
|
-
:vartype key_type: str or ~azure.mgmt.storage.
|
2279
|
+
:vartype key_type: str or ~azure.mgmt.storage.v2024_01_01.models.KeyType
|
2132
2280
|
"""
|
2133
2281
|
|
2134
2282
|
_validation = {
|
@@ -2151,7 +2299,7 @@ class EncryptionService(_serialization.Model):
|
|
2151
2299
|
:keyword key_type: Encryption key type to be used for the encryption service. 'Account' key
|
2152
2300
|
type implies that an account-scoped encryption key will be used. 'Service' key type implies
|
2153
2301
|
that a default service key is used. Known values are: "Service" and "Account".
|
2154
|
-
:paramtype key_type: str or ~azure.mgmt.storage.
|
2302
|
+
:paramtype key_type: str or ~azure.mgmt.storage.v2024_01_01.models.KeyType
|
2155
2303
|
"""
|
2156
2304
|
super().__init__(**kwargs)
|
2157
2305
|
self.enabled = enabled
|
@@ -2163,13 +2311,13 @@ class EncryptionServices(_serialization.Model):
|
|
2163
2311
|
"""A list of services that support encryption.
|
2164
2312
|
|
2165
2313
|
:ivar blob: The encryption function of the blob storage service.
|
2166
|
-
:vartype blob: ~azure.mgmt.storage.
|
2314
|
+
:vartype blob: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2167
2315
|
:ivar file: The encryption function of the file storage service.
|
2168
|
-
:vartype file: ~azure.mgmt.storage.
|
2316
|
+
:vartype file: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2169
2317
|
:ivar table: The encryption function of the table storage service.
|
2170
|
-
:vartype table: ~azure.mgmt.storage.
|
2318
|
+
:vartype table: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2171
2319
|
:ivar queue: The encryption function of the queue storage service.
|
2172
|
-
:vartype queue: ~azure.mgmt.storage.
|
2320
|
+
:vartype queue: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2173
2321
|
"""
|
2174
2322
|
|
2175
2323
|
_attribute_map = {
|
@@ -2190,13 +2338,13 @@ class EncryptionServices(_serialization.Model):
|
|
2190
2338
|
) -> None:
|
2191
2339
|
"""
|
2192
2340
|
:keyword blob: The encryption function of the blob storage service.
|
2193
|
-
:paramtype blob: ~azure.mgmt.storage.
|
2341
|
+
:paramtype blob: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2194
2342
|
:keyword file: The encryption function of the file storage service.
|
2195
|
-
:paramtype file: ~azure.mgmt.storage.
|
2343
|
+
:paramtype file: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2196
2344
|
:keyword table: The encryption function of the table storage service.
|
2197
|
-
:paramtype table: ~azure.mgmt.storage.
|
2345
|
+
:paramtype table: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2198
2346
|
:keyword queue: The encryption function of the queue storage service.
|
2199
|
-
:paramtype queue: ~azure.mgmt.storage.
|
2347
|
+
:paramtype queue: ~azure.mgmt.storage.v2024_01_01.models.EncryptionService
|
2200
2348
|
"""
|
2201
2349
|
super().__init__(**kwargs)
|
2202
2350
|
self.blob = blob
|
@@ -2225,10 +2373,10 @@ class Endpoints(_serialization.Model):
|
|
2225
2373
|
:vartype dfs: str
|
2226
2374
|
:ivar microsoft_endpoints: Gets the microsoft routing storage endpoints.
|
2227
2375
|
:vartype microsoft_endpoints:
|
2228
|
-
~azure.mgmt.storage.
|
2376
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountMicrosoftEndpoints
|
2229
2377
|
:ivar internet_endpoints: Gets the internet routing storage endpoints.
|
2230
2378
|
:vartype internet_endpoints:
|
2231
|
-
~azure.mgmt.storage.
|
2379
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountInternetEndpoints
|
2232
2380
|
"""
|
2233
2381
|
|
2234
2382
|
_validation = {
|
@@ -2261,10 +2409,10 @@ class Endpoints(_serialization.Model):
|
|
2261
2409
|
"""
|
2262
2410
|
:keyword microsoft_endpoints: Gets the microsoft routing storage endpoints.
|
2263
2411
|
:paramtype microsoft_endpoints:
|
2264
|
-
~azure.mgmt.storage.
|
2412
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountMicrosoftEndpoints
|
2265
2413
|
:keyword internet_endpoints: Gets the internet routing storage endpoints.
|
2266
2414
|
:paramtype internet_endpoints:
|
2267
|
-
~azure.mgmt.storage.
|
2415
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountInternetEndpoints
|
2268
2416
|
"""
|
2269
2417
|
super().__init__(**kwargs)
|
2270
2418
|
self.blob = None
|
@@ -2317,9 +2465,9 @@ class ErrorDetail(_serialization.Model):
|
|
2317
2465
|
:ivar target: The error target.
|
2318
2466
|
:vartype target: str
|
2319
2467
|
:ivar details: The error details.
|
2320
|
-
:vartype details: list[~azure.mgmt.storage.
|
2468
|
+
:vartype details: list[~azure.mgmt.storage.v2024_01_01.models.ErrorDetail]
|
2321
2469
|
:ivar additional_info: The error additional info.
|
2322
|
-
:vartype additional_info: list[~azure.mgmt.storage.
|
2470
|
+
:vartype additional_info: list[~azure.mgmt.storage.v2024_01_01.models.ErrorAdditionalInfo]
|
2323
2471
|
"""
|
2324
2472
|
|
2325
2473
|
_validation = {
|
@@ -2352,7 +2500,7 @@ class ErrorResponse(_serialization.Model):
|
|
2352
2500
|
"""An error response from the storage resource provider.
|
2353
2501
|
|
2354
2502
|
:ivar error: Azure Storage Resource Provider error response body.
|
2355
|
-
:vartype error: ~azure.mgmt.storage.
|
2503
|
+
:vartype error: ~azure.mgmt.storage.v2024_01_01.models.ErrorResponseBody
|
2356
2504
|
"""
|
2357
2505
|
|
2358
2506
|
_attribute_map = {
|
@@ -2362,7 +2510,7 @@ class ErrorResponse(_serialization.Model):
|
|
2362
2510
|
def __init__(self, *, error: Optional["_models.ErrorResponseBody"] = None, **kwargs: Any) -> None:
|
2363
2511
|
"""
|
2364
2512
|
:keyword error: Azure Storage Resource Provider error response body.
|
2365
|
-
:paramtype error: ~azure.mgmt.storage.
|
2513
|
+
:paramtype error: ~azure.mgmt.storage.v2024_01_01.models.ErrorResponseBody
|
2366
2514
|
"""
|
2367
2515
|
super().__init__(**kwargs)
|
2368
2516
|
self.error = error
|
@@ -2373,7 +2521,7 @@ class ErrorResponseAutoGenerated(_serialization.Model):
|
|
2373
2521
|
operations. (This also follows the OData error response format.).
|
2374
2522
|
|
2375
2523
|
:ivar error: The error object.
|
2376
|
-
:vartype error: ~azure.mgmt.storage.
|
2524
|
+
:vartype error: ~azure.mgmt.storage.v2024_01_01.models.ErrorDetail
|
2377
2525
|
"""
|
2378
2526
|
|
2379
2527
|
_attribute_map = {
|
@@ -2383,7 +2531,7 @@ class ErrorResponseAutoGenerated(_serialization.Model):
|
|
2383
2531
|
def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None:
|
2384
2532
|
"""
|
2385
2533
|
:keyword error: The error object.
|
2386
|
-
:paramtype error: ~azure.mgmt.storage.
|
2534
|
+
:paramtype error: ~azure.mgmt.storage.v2024_01_01.models.ErrorDetail
|
2387
2535
|
"""
|
2388
2536
|
super().__init__(**kwargs)
|
2389
2537
|
self.error = error
|
@@ -2459,9 +2607,9 @@ class ExecutionTrigger(_serialization.Model):
|
|
2459
2607
|
|
2460
2608
|
:ivar type: The trigger type of the storage task assignment execution. Required. Known values
|
2461
2609
|
are: "RunOnce" and "OnSchedule".
|
2462
|
-
:vartype type: str or ~azure.mgmt.storage.
|
2610
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.TriggerType
|
2463
2611
|
:ivar parameters: The trigger parameters of the storage task assignment execution. Required.
|
2464
|
-
:vartype parameters: ~azure.mgmt.storage.
|
2612
|
+
:vartype parameters: ~azure.mgmt.storage.v2024_01_01.models.TriggerParameters
|
2465
2613
|
"""
|
2466
2614
|
|
2467
2615
|
_validation = {
|
@@ -2480,9 +2628,9 @@ class ExecutionTrigger(_serialization.Model):
|
|
2480
2628
|
"""
|
2481
2629
|
:keyword type: The trigger type of the storage task assignment execution. Required. Known
|
2482
2630
|
values are: "RunOnce" and "OnSchedule".
|
2483
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
2631
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.TriggerType
|
2484
2632
|
:keyword parameters: The trigger parameters of the storage task assignment execution. Required.
|
2485
|
-
:paramtype parameters: ~azure.mgmt.storage.
|
2633
|
+
:paramtype parameters: ~azure.mgmt.storage.v2024_01_01.models.TriggerParameters
|
2486
2634
|
"""
|
2487
2635
|
super().__init__(**kwargs)
|
2488
2636
|
self.type = type
|
@@ -2494,9 +2642,9 @@ class ExecutionTriggerUpdate(_serialization.Model):
|
|
2494
2642
|
|
2495
2643
|
:ivar type: The trigger type of the storage task assignment execution. Known values are:
|
2496
2644
|
"RunOnce" and "OnSchedule".
|
2497
|
-
:vartype type: str or ~azure.mgmt.storage.
|
2645
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.TriggerType
|
2498
2646
|
:ivar parameters: The trigger parameters of the storage task assignment execution.
|
2499
|
-
:vartype parameters: ~azure.mgmt.storage.
|
2647
|
+
:vartype parameters: ~azure.mgmt.storage.v2024_01_01.models.TriggerParametersUpdate
|
2500
2648
|
"""
|
2501
2649
|
|
2502
2650
|
_attribute_map = {
|
@@ -2514,9 +2662,9 @@ class ExecutionTriggerUpdate(_serialization.Model):
|
|
2514
2662
|
"""
|
2515
2663
|
:keyword type: The trigger type of the storage task assignment execution. Known values are:
|
2516
2664
|
"RunOnce" and "OnSchedule".
|
2517
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
2665
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.TriggerType
|
2518
2666
|
:keyword parameters: The trigger parameters of the storage task assignment execution.
|
2519
|
-
:paramtype parameters: ~azure.mgmt.storage.
|
2667
|
+
:paramtype parameters: ~azure.mgmt.storage.v2024_01_01.models.TriggerParametersUpdate
|
2520
2668
|
"""
|
2521
2669
|
super().__init__(**kwargs)
|
2522
2670
|
self.type = type
|
@@ -2529,7 +2677,7 @@ class ExtendedLocation(_serialization.Model):
|
|
2529
2677
|
:ivar name: The name of the extended location.
|
2530
2678
|
:vartype name: str
|
2531
2679
|
:ivar type: The type of the extended location. "EdgeZone"
|
2532
|
-
:vartype type: str or ~azure.mgmt.storage.
|
2680
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocationTypes
|
2533
2681
|
"""
|
2534
2682
|
|
2535
2683
|
_attribute_map = {
|
@@ -2548,7 +2696,7 @@ class ExtendedLocation(_serialization.Model):
|
|
2548
2696
|
:keyword name: The name of the extended location.
|
2549
2697
|
:paramtype name: str
|
2550
2698
|
:keyword type: The type of the extended location. "EdgeZone"
|
2551
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
2699
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocationTypes
|
2552
2700
|
"""
|
2553
2701
|
super().__init__(**kwargs)
|
2554
2702
|
self.name = name
|
@@ -2561,7 +2709,7 @@ class FileServiceItems(_serialization.Model):
|
|
2561
2709
|
Variables are only populated by the server, and will be ignored when sending a request.
|
2562
2710
|
|
2563
2711
|
:ivar value: List of file services returned.
|
2564
|
-
:vartype value: list[~azure.mgmt.storage.
|
2712
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.FileServiceProperties]
|
2565
2713
|
"""
|
2566
2714
|
|
2567
2715
|
_validation = {
|
@@ -2592,16 +2740,16 @@ class FileServiceProperties(Resource):
|
|
2592
2740
|
"Microsoft.Storage/storageAccounts".
|
2593
2741
|
:vartype type: str
|
2594
2742
|
:ivar sku: Sku name and tier.
|
2595
|
-
:vartype sku: ~azure.mgmt.storage.
|
2743
|
+
:vartype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
2596
2744
|
:ivar cors: Specifies CORS rules for the File service. You can include up to five CorsRule
|
2597
2745
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
2598
2746
|
rules will be deleted, and CORS will be disabled for the File service.
|
2599
|
-
:vartype cors: ~azure.mgmt.storage.
|
2747
|
+
:vartype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
2600
2748
|
:ivar share_delete_retention_policy: The file service properties for share soft delete.
|
2601
2749
|
:vartype share_delete_retention_policy:
|
2602
|
-
~azure.mgmt.storage.
|
2750
|
+
~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
2603
2751
|
:ivar protocol_settings: Protocol settings for file service.
|
2604
|
-
:vartype protocol_settings: ~azure.mgmt.storage.
|
2752
|
+
:vartype protocol_settings: ~azure.mgmt.storage.v2024_01_01.models.ProtocolSettings
|
2605
2753
|
"""
|
2606
2754
|
|
2607
2755
|
_validation = {
|
@@ -2636,12 +2784,12 @@ class FileServiceProperties(Resource):
|
|
2636
2784
|
:keyword cors: Specifies CORS rules for the File service. You can include up to five CorsRule
|
2637
2785
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
2638
2786
|
rules will be deleted, and CORS will be disabled for the File service.
|
2639
|
-
:paramtype cors: ~azure.mgmt.storage.
|
2787
|
+
:paramtype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
2640
2788
|
:keyword share_delete_retention_policy: The file service properties for share soft delete.
|
2641
2789
|
:paramtype share_delete_retention_policy:
|
2642
|
-
~azure.mgmt.storage.
|
2790
|
+
~azure.mgmt.storage.v2024_01_01.models.DeleteRetentionPolicy
|
2643
2791
|
:keyword protocol_settings: Protocol settings for file service.
|
2644
|
-
:paramtype protocol_settings: ~azure.mgmt.storage.
|
2792
|
+
:paramtype protocol_settings: ~azure.mgmt.storage.v2024_01_01.models.ProtocolSettings
|
2645
2793
|
"""
|
2646
2794
|
super().__init__(**kwargs)
|
2647
2795
|
self.sku = None
|
@@ -2650,6 +2798,123 @@ class FileServiceProperties(Resource):
|
|
2650
2798
|
self.protocol_settings = protocol_settings
|
2651
2799
|
|
2652
2800
|
|
2801
|
+
class FileServiceUsage(Resource):
|
2802
|
+
"""The usage of file service in storage account.
|
2803
|
+
|
2804
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
2805
|
+
|
2806
|
+
:ivar id: Fully qualified resource ID for the resource. Ex -
|
2807
|
+
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
|
2808
|
+
:vartype id: str
|
2809
|
+
:ivar name: The name of the resource.
|
2810
|
+
:vartype name: str
|
2811
|
+
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
|
2812
|
+
"Microsoft.Storage/storageAccounts".
|
2813
|
+
:vartype type: str
|
2814
|
+
:ivar properties: File service usage in storage account including account limits, file share
|
2815
|
+
limits and constants used in recommendations and bursting formula.
|
2816
|
+
:vartype properties: ~azure.mgmt.storage.v2024_01_01.models.FileServiceUsageProperties
|
2817
|
+
"""
|
2818
|
+
|
2819
|
+
_validation = {
|
2820
|
+
"id": {"readonly": True},
|
2821
|
+
"name": {"readonly": True},
|
2822
|
+
"type": {"readonly": True},
|
2823
|
+
"properties": {"readonly": True},
|
2824
|
+
}
|
2825
|
+
|
2826
|
+
_attribute_map = {
|
2827
|
+
"id": {"key": "id", "type": "str"},
|
2828
|
+
"name": {"key": "name", "type": "str"},
|
2829
|
+
"type": {"key": "type", "type": "str"},
|
2830
|
+
"properties": {"key": "properties", "type": "FileServiceUsageProperties"},
|
2831
|
+
}
|
2832
|
+
|
2833
|
+
def __init__(self, **kwargs: Any) -> None:
|
2834
|
+
""" """
|
2835
|
+
super().__init__(**kwargs)
|
2836
|
+
self.properties = None
|
2837
|
+
|
2838
|
+
|
2839
|
+
class FileServiceUsageProperties(_serialization.Model):
|
2840
|
+
"""File service usage in storage account including account limits, file share limits and constants
|
2841
|
+
used in recommendations and bursting formula.
|
2842
|
+
|
2843
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
2844
|
+
|
2845
|
+
:ivar storage_account_limits: Maximum provisioned storage, IOPS, bandwidth and number of file
|
2846
|
+
shares limits for the storage account.
|
2847
|
+
:vartype storage_account_limits: ~azure.mgmt.storage.v2024_01_01.models.AccountLimits
|
2848
|
+
:ivar file_share_limits: Minimum and maximum provisioned storage, IOPS and bandwidth limits for
|
2849
|
+
a file share in the storage account.
|
2850
|
+
:vartype file_share_limits: ~azure.mgmt.storage.v2024_01_01.models.FileShareLimits
|
2851
|
+
:ivar file_share_recommendations: Constants used for calculating recommended provisioned IOPS
|
2852
|
+
and bandwidth for a file share in the storage account.
|
2853
|
+
:vartype file_share_recommendations:
|
2854
|
+
~azure.mgmt.storage.v2024_01_01.models.FileShareRecommendations
|
2855
|
+
:ivar bursting_constants: Constants used for calculating included burst IOPS and maximum burst
|
2856
|
+
credits for IOPS for a file share in the storage account.
|
2857
|
+
:vartype bursting_constants: ~azure.mgmt.storage.v2024_01_01.models.BurstingConstants
|
2858
|
+
:ivar storage_account_usage: Usage of provisioned storage, IOPS, bandwidth and number of file
|
2859
|
+
shares across all live shares and soft-deleted shares in the account.
|
2860
|
+
:vartype storage_account_usage: ~azure.mgmt.storage.v2024_01_01.models.AccountUsage
|
2861
|
+
"""
|
2862
|
+
|
2863
|
+
_validation = {
|
2864
|
+
"storage_account_limits": {"readonly": True},
|
2865
|
+
"file_share_limits": {"readonly": True},
|
2866
|
+
"file_share_recommendations": {"readonly": True},
|
2867
|
+
"bursting_constants": {"readonly": True},
|
2868
|
+
"storage_account_usage": {"readonly": True},
|
2869
|
+
}
|
2870
|
+
|
2871
|
+
_attribute_map = {
|
2872
|
+
"storage_account_limits": {"key": "storageAccountLimits", "type": "AccountLimits"},
|
2873
|
+
"file_share_limits": {"key": "fileShareLimits", "type": "FileShareLimits"},
|
2874
|
+
"file_share_recommendations": {"key": "fileShareRecommendations", "type": "FileShareRecommendations"},
|
2875
|
+
"bursting_constants": {"key": "burstingConstants", "type": "BurstingConstants"},
|
2876
|
+
"storage_account_usage": {"key": "storageAccountUsage", "type": "AccountUsage"},
|
2877
|
+
}
|
2878
|
+
|
2879
|
+
def __init__(self, **kwargs: Any) -> None:
|
2880
|
+
""" """
|
2881
|
+
super().__init__(**kwargs)
|
2882
|
+
self.storage_account_limits = None
|
2883
|
+
self.file_share_limits = None
|
2884
|
+
self.file_share_recommendations = None
|
2885
|
+
self.bursting_constants = None
|
2886
|
+
self.storage_account_usage = None
|
2887
|
+
|
2888
|
+
|
2889
|
+
class FileServiceUsages(_serialization.Model):
|
2890
|
+
"""List file service usages schema.
|
2891
|
+
|
2892
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
2893
|
+
|
2894
|
+
:ivar value: List of file service usages returned.
|
2895
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.FileServiceUsage]
|
2896
|
+
:ivar next_link: Request URL that can be used to query next page of file service usages.
|
2897
|
+
Returned when total number of requested file service usages exceed maximum page size.
|
2898
|
+
:vartype next_link: str
|
2899
|
+
"""
|
2900
|
+
|
2901
|
+
_validation = {
|
2902
|
+
"value": {"readonly": True},
|
2903
|
+
"next_link": {"readonly": True},
|
2904
|
+
}
|
2905
|
+
|
2906
|
+
_attribute_map = {
|
2907
|
+
"value": {"key": "value", "type": "[FileServiceUsage]"},
|
2908
|
+
"next_link": {"key": "nextLink", "type": "str"},
|
2909
|
+
}
|
2910
|
+
|
2911
|
+
def __init__(self, **kwargs: Any) -> None:
|
2912
|
+
""" """
|
2913
|
+
super().__init__(**kwargs)
|
2914
|
+
self.value = None
|
2915
|
+
self.next_link = None
|
2916
|
+
|
2917
|
+
|
2653
2918
|
class FileShare(AzureEntityResource):
|
2654
2919
|
"""Properties of the file share, including Id, resource name, resource type, Etag.
|
2655
2920
|
|
@@ -2669,15 +2934,44 @@ class FileShare(AzureEntityResource):
|
|
2669
2934
|
:vartype last_modified_time: ~datetime.datetime
|
2670
2935
|
:ivar metadata: A name-value pair to associate with the share as metadata.
|
2671
2936
|
:vartype metadata: dict[str, str]
|
2672
|
-
:ivar share_quota: The
|
2673
|
-
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
|
2937
|
+
:ivar share_quota: The provisioned size of the share, in gibibytes. Must be greater than 0, and
|
2938
|
+
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file
|
2939
|
+
shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage
|
2940
|
+
API response for the minimum and maximum allowed provisioned storage size.
|
2674
2941
|
:vartype share_quota: int
|
2942
|
+
:ivar provisioned_iops: The provisioned IOPS of the share. This property is only for file
|
2943
|
+
shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage
|
2944
|
+
API response for the minimum and maximum allowed value for provisioned IOPS.
|
2945
|
+
:vartype provisioned_iops: int
|
2946
|
+
:ivar provisioned_bandwidth_mibps: The provisioned bandwidth of the share, in mebibytes per
|
2947
|
+
second. This property is only for file shares created under Files Provisioned v2 account type.
|
2948
|
+
Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value
|
2949
|
+
for provisioned bandwidth.
|
2950
|
+
:vartype provisioned_bandwidth_mibps: int
|
2951
|
+
:ivar included_burst_iops: The calculated burst IOPS of the share. This property is only for
|
2952
|
+
file shares created under Files Provisioned v2 account type.
|
2953
|
+
:vartype included_burst_iops: int
|
2954
|
+
:ivar max_burst_credits_for_iops: The calculated maximum burst credits for the share. This
|
2955
|
+
property is only for file shares created under Files Provisioned v2 account type.
|
2956
|
+
:vartype max_burst_credits_for_iops: int
|
2957
|
+
:ivar next_allowed_quota_downgrade_time: Returns the next allowed provisioned storage size
|
2958
|
+
downgrade time for the share. This property is only for file shares created under Files
|
2959
|
+
Provisioned v1 SSD and Files Provisioned v2 account type.
|
2960
|
+
:vartype next_allowed_quota_downgrade_time: ~datetime.datetime
|
2961
|
+
:ivar next_allowed_provisioned_iops_downgrade_time: Returns the next allowed provisioned IOPS
|
2962
|
+
downgrade time for the share. This property is only for file shares created under Files
|
2963
|
+
Provisioned v2 account type.
|
2964
|
+
:vartype next_allowed_provisioned_iops_downgrade_time: ~datetime.datetime
|
2965
|
+
:ivar next_allowed_provisioned_bandwidth_downgrade_time: Returns the next allowed provisioned
|
2966
|
+
bandwidth downgrade time for the share. This property is only for file shares created under
|
2967
|
+
Files Provisioned v2 account type.
|
2968
|
+
:vartype next_allowed_provisioned_bandwidth_downgrade_time: ~datetime.datetime
|
2675
2969
|
:ivar enabled_protocols: The authentication protocol that is used for the file share. Can only
|
2676
2970
|
be specified when creating a share. Known values are: "SMB" and "NFS".
|
2677
|
-
:vartype enabled_protocols: str or ~azure.mgmt.storage.
|
2971
|
+
:vartype enabled_protocols: str or ~azure.mgmt.storage.v2024_01_01.models.EnabledProtocols
|
2678
2972
|
:ivar root_squash: The property is for NFS share only. The default is NoRootSquash. Known
|
2679
2973
|
values are: "NoRootSquash", "RootSquash", and "AllSquash".
|
2680
|
-
:vartype root_squash: str or ~azure.mgmt.storage.
|
2974
|
+
:vartype root_squash: str or ~azure.mgmt.storage.v2024_01_01.models.RootSquashType
|
2681
2975
|
:ivar version: The version of the share.
|
2682
2976
|
:vartype version: str
|
2683
2977
|
:ivar deleted: Indicates whether the share was deleted.
|
@@ -2689,7 +2983,7 @@ class FileShare(AzureEntityResource):
|
|
2689
2983
|
:ivar access_tier: Access tier for specific share. GpV2 account can choose between
|
2690
2984
|
TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Known
|
2691
2985
|
values are: "TransactionOptimized", "Hot", "Cool", and "Premium".
|
2692
|
-
:vartype access_tier: str or ~azure.mgmt.storage.
|
2986
|
+
:vartype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.ShareAccessTier
|
2693
2987
|
:ivar access_tier_change_time: Indicates the last modification time for share access tier.
|
2694
2988
|
:vartype access_tier_change_time: ~datetime.datetime
|
2695
2989
|
:ivar access_tier_status: Indicates if there is a pending transition for access tier.
|
@@ -2698,18 +2992,21 @@ class FileShare(AzureEntityResource):
|
|
2698
2992
|
value may not include all recently created or recently resized files.
|
2699
2993
|
:vartype share_usage_bytes: int
|
2700
2994
|
:ivar lease_status: The lease status of the share. Known values are: "Locked" and "Unlocked".
|
2701
|
-
:vartype lease_status: str or ~azure.mgmt.storage.
|
2995
|
+
:vartype lease_status: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseStatus
|
2702
2996
|
:ivar lease_state: Lease state of the share. Known values are: "Available", "Leased",
|
2703
2997
|
"Expired", "Breaking", and "Broken".
|
2704
|
-
:vartype lease_state: str or ~azure.mgmt.storage.
|
2998
|
+
:vartype lease_state: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseState
|
2705
2999
|
:ivar lease_duration: Specifies whether the lease on a share is of infinite or fixed duration,
|
2706
3000
|
only when the share is leased. Known values are: "Infinite" and "Fixed".
|
2707
|
-
:vartype lease_duration: str or ~azure.mgmt.storage.
|
3001
|
+
:vartype lease_duration: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseDuration
|
2708
3002
|
:ivar signed_identifiers: List of stored access policies specified on the share.
|
2709
|
-
:vartype signed_identifiers: list[~azure.mgmt.storage.
|
3003
|
+
:vartype signed_identifiers: list[~azure.mgmt.storage.v2024_01_01.models.SignedIdentifier]
|
2710
3004
|
:ivar snapshot_time: Creation time of share snapshot returned in the response of list shares
|
2711
3005
|
with expand param "snapshots".
|
2712
3006
|
:vartype snapshot_time: ~datetime.datetime
|
3007
|
+
:ivar file_share_paid_bursting: File Share Paid Bursting properties.
|
3008
|
+
:vartype file_share_paid_bursting:
|
3009
|
+
~azure.mgmt.storage.v2024_01_01.models.FileSharePropertiesFileSharePaidBursting
|
2713
3010
|
"""
|
2714
3011
|
|
2715
3012
|
_validation = {
|
@@ -2718,7 +3015,11 @@ class FileShare(AzureEntityResource):
|
|
2718
3015
|
"type": {"readonly": True},
|
2719
3016
|
"etag": {"readonly": True},
|
2720
3017
|
"last_modified_time": {"readonly": True},
|
2721
|
-
"
|
3018
|
+
"included_burst_iops": {"readonly": True},
|
3019
|
+
"max_burst_credits_for_iops": {"readonly": True},
|
3020
|
+
"next_allowed_quota_downgrade_time": {"readonly": True},
|
3021
|
+
"next_allowed_provisioned_iops_downgrade_time": {"readonly": True},
|
3022
|
+
"next_allowed_provisioned_bandwidth_downgrade_time": {"readonly": True},
|
2722
3023
|
"version": {"readonly": True},
|
2723
3024
|
"deleted": {"readonly": True},
|
2724
3025
|
"deleted_time": {"readonly": True},
|
@@ -2740,6 +3041,19 @@ class FileShare(AzureEntityResource):
|
|
2740
3041
|
"last_modified_time": {"key": "properties.lastModifiedTime", "type": "iso-8601"},
|
2741
3042
|
"metadata": {"key": "properties.metadata", "type": "{str}"},
|
2742
3043
|
"share_quota": {"key": "properties.shareQuota", "type": "int"},
|
3044
|
+
"provisioned_iops": {"key": "properties.provisionedIops", "type": "int"},
|
3045
|
+
"provisioned_bandwidth_mibps": {"key": "properties.provisionedBandwidthMibps", "type": "int"},
|
3046
|
+
"included_burst_iops": {"key": "properties.includedBurstIops", "type": "int"},
|
3047
|
+
"max_burst_credits_for_iops": {"key": "properties.maxBurstCreditsForIops", "type": "int"},
|
3048
|
+
"next_allowed_quota_downgrade_time": {"key": "properties.nextAllowedQuotaDowngradeTime", "type": "iso-8601"},
|
3049
|
+
"next_allowed_provisioned_iops_downgrade_time": {
|
3050
|
+
"key": "properties.nextAllowedProvisionedIopsDowngradeTime",
|
3051
|
+
"type": "iso-8601",
|
3052
|
+
},
|
3053
|
+
"next_allowed_provisioned_bandwidth_downgrade_time": {
|
3054
|
+
"key": "properties.nextAllowedProvisionedBandwidthDowngradeTime",
|
3055
|
+
"type": "iso-8601",
|
3056
|
+
},
|
2743
3057
|
"enabled_protocols": {"key": "properties.enabledProtocols", "type": "str"},
|
2744
3058
|
"root_squash": {"key": "properties.rootSquash", "type": "str"},
|
2745
3059
|
"version": {"key": "properties.version", "type": "str"},
|
@@ -2755,42 +3069,70 @@ class FileShare(AzureEntityResource):
|
|
2755
3069
|
"lease_duration": {"key": "properties.leaseDuration", "type": "str"},
|
2756
3070
|
"signed_identifiers": {"key": "properties.signedIdentifiers", "type": "[SignedIdentifier]"},
|
2757
3071
|
"snapshot_time": {"key": "properties.snapshotTime", "type": "iso-8601"},
|
3072
|
+
"file_share_paid_bursting": {
|
3073
|
+
"key": "properties.fileSharePaidBursting",
|
3074
|
+
"type": "FileSharePropertiesFileSharePaidBursting",
|
3075
|
+
},
|
2758
3076
|
}
|
2759
3077
|
|
2760
|
-
def __init__(
|
3078
|
+
def __init__( # pylint: disable=too-many-locals
|
2761
3079
|
self,
|
2762
3080
|
*,
|
2763
3081
|
metadata: Optional[Dict[str, str]] = None,
|
2764
3082
|
share_quota: Optional[int] = None,
|
3083
|
+
provisioned_iops: Optional[int] = None,
|
3084
|
+
provisioned_bandwidth_mibps: Optional[int] = None,
|
2765
3085
|
enabled_protocols: Optional[Union[str, "_models.EnabledProtocols"]] = None,
|
2766
3086
|
root_squash: Optional[Union[str, "_models.RootSquashType"]] = None,
|
2767
3087
|
access_tier: Optional[Union[str, "_models.ShareAccessTier"]] = None,
|
2768
3088
|
signed_identifiers: Optional[List["_models.SignedIdentifier"]] = None,
|
3089
|
+
file_share_paid_bursting: Optional["_models.FileSharePropertiesFileSharePaidBursting"] = None,
|
2769
3090
|
**kwargs: Any
|
2770
3091
|
) -> None:
|
2771
3092
|
"""
|
2772
3093
|
:keyword metadata: A name-value pair to associate with the share as metadata.
|
2773
3094
|
:paramtype metadata: dict[str, str]
|
2774
|
-
:keyword share_quota: The
|
2775
|
-
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
|
3095
|
+
:keyword share_quota: The provisioned size of the share, in gibibytes. Must be greater than 0,
|
3096
|
+
and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For
|
3097
|
+
file shares created under Files Provisioned v2 account type, please refer to the
|
3098
|
+
GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size.
|
2776
3099
|
:paramtype share_quota: int
|
3100
|
+
:keyword provisioned_iops: The provisioned IOPS of the share. This property is only for file
|
3101
|
+
shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage
|
3102
|
+
API response for the minimum and maximum allowed value for provisioned IOPS.
|
3103
|
+
:paramtype provisioned_iops: int
|
3104
|
+
:keyword provisioned_bandwidth_mibps: The provisioned bandwidth of the share, in mebibytes per
|
3105
|
+
second. This property is only for file shares created under Files Provisioned v2 account type.
|
3106
|
+
Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value
|
3107
|
+
for provisioned bandwidth.
|
3108
|
+
:paramtype provisioned_bandwidth_mibps: int
|
2777
3109
|
:keyword enabled_protocols: The authentication protocol that is used for the file share. Can
|
2778
3110
|
only be specified when creating a share. Known values are: "SMB" and "NFS".
|
2779
|
-
:paramtype enabled_protocols: str or ~azure.mgmt.storage.
|
3111
|
+
:paramtype enabled_protocols: str or ~azure.mgmt.storage.v2024_01_01.models.EnabledProtocols
|
2780
3112
|
:keyword root_squash: The property is for NFS share only. The default is NoRootSquash. Known
|
2781
3113
|
values are: "NoRootSquash", "RootSquash", and "AllSquash".
|
2782
|
-
:paramtype root_squash: str or ~azure.mgmt.storage.
|
3114
|
+
:paramtype root_squash: str or ~azure.mgmt.storage.v2024_01_01.models.RootSquashType
|
2783
3115
|
:keyword access_tier: Access tier for specific share. GpV2 account can choose between
|
2784
3116
|
TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Known
|
2785
3117
|
values are: "TransactionOptimized", "Hot", "Cool", and "Premium".
|
2786
|
-
:paramtype access_tier: str or ~azure.mgmt.storage.
|
3118
|
+
:paramtype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.ShareAccessTier
|
2787
3119
|
:keyword signed_identifiers: List of stored access policies specified on the share.
|
2788
|
-
:paramtype signed_identifiers: list[~azure.mgmt.storage.
|
3120
|
+
:paramtype signed_identifiers: list[~azure.mgmt.storage.v2024_01_01.models.SignedIdentifier]
|
3121
|
+
:keyword file_share_paid_bursting: File Share Paid Bursting properties.
|
3122
|
+
:paramtype file_share_paid_bursting:
|
3123
|
+
~azure.mgmt.storage.v2024_01_01.models.FileSharePropertiesFileSharePaidBursting
|
2789
3124
|
"""
|
2790
3125
|
super().__init__(**kwargs)
|
2791
3126
|
self.last_modified_time = None
|
2792
3127
|
self.metadata = metadata
|
2793
3128
|
self.share_quota = share_quota
|
3129
|
+
self.provisioned_iops = provisioned_iops
|
3130
|
+
self.provisioned_bandwidth_mibps = provisioned_bandwidth_mibps
|
3131
|
+
self.included_burst_iops = None
|
3132
|
+
self.max_burst_credits_for_iops = None
|
3133
|
+
self.next_allowed_quota_downgrade_time = None
|
3134
|
+
self.next_allowed_provisioned_iops_downgrade_time = None
|
3135
|
+
self.next_allowed_provisioned_bandwidth_downgrade_time = None
|
2794
3136
|
self.enabled_protocols = enabled_protocols
|
2795
3137
|
self.root_squash = root_squash
|
2796
3138
|
self.version = None
|
@@ -2806,6 +3148,7 @@ class FileShare(AzureEntityResource):
|
|
2806
3148
|
self.lease_duration = None
|
2807
3149
|
self.signed_identifiers = signed_identifiers
|
2808
3150
|
self.snapshot_time = None
|
3151
|
+
self.file_share_paid_bursting = file_share_paid_bursting
|
2809
3152
|
|
2810
3153
|
|
2811
3154
|
class FileShareItem(AzureEntityResource):
|
@@ -2827,15 +3170,44 @@ class FileShareItem(AzureEntityResource):
|
|
2827
3170
|
:vartype last_modified_time: ~datetime.datetime
|
2828
3171
|
:ivar metadata: A name-value pair to associate with the share as metadata.
|
2829
3172
|
:vartype metadata: dict[str, str]
|
2830
|
-
:ivar share_quota: The
|
2831
|
-
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
|
3173
|
+
:ivar share_quota: The provisioned size of the share, in gibibytes. Must be greater than 0, and
|
3174
|
+
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file
|
3175
|
+
shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage
|
3176
|
+
API response for the minimum and maximum allowed provisioned storage size.
|
2832
3177
|
:vartype share_quota: int
|
3178
|
+
:ivar provisioned_iops: The provisioned IOPS of the share. This property is only for file
|
3179
|
+
shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage
|
3180
|
+
API response for the minimum and maximum allowed value for provisioned IOPS.
|
3181
|
+
:vartype provisioned_iops: int
|
3182
|
+
:ivar provisioned_bandwidth_mibps: The provisioned bandwidth of the share, in mebibytes per
|
3183
|
+
second. This property is only for file shares created under Files Provisioned v2 account type.
|
3184
|
+
Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value
|
3185
|
+
for provisioned bandwidth.
|
3186
|
+
:vartype provisioned_bandwidth_mibps: int
|
3187
|
+
:ivar included_burst_iops: The calculated burst IOPS of the share. This property is only for
|
3188
|
+
file shares created under Files Provisioned v2 account type.
|
3189
|
+
:vartype included_burst_iops: int
|
3190
|
+
:ivar max_burst_credits_for_iops: The calculated maximum burst credits for the share. This
|
3191
|
+
property is only for file shares created under Files Provisioned v2 account type.
|
3192
|
+
:vartype max_burst_credits_for_iops: int
|
3193
|
+
:ivar next_allowed_quota_downgrade_time: Returns the next allowed provisioned storage size
|
3194
|
+
downgrade time for the share. This property is only for file shares created under Files
|
3195
|
+
Provisioned v1 SSD and Files Provisioned v2 account type.
|
3196
|
+
:vartype next_allowed_quota_downgrade_time: ~datetime.datetime
|
3197
|
+
:ivar next_allowed_provisioned_iops_downgrade_time: Returns the next allowed provisioned IOPS
|
3198
|
+
downgrade time for the share. This property is only for file shares created under Files
|
3199
|
+
Provisioned v2 account type.
|
3200
|
+
:vartype next_allowed_provisioned_iops_downgrade_time: ~datetime.datetime
|
3201
|
+
:ivar next_allowed_provisioned_bandwidth_downgrade_time: Returns the next allowed provisioned
|
3202
|
+
bandwidth downgrade time for the share. This property is only for file shares created under
|
3203
|
+
Files Provisioned v2 account type.
|
3204
|
+
:vartype next_allowed_provisioned_bandwidth_downgrade_time: ~datetime.datetime
|
2833
3205
|
:ivar enabled_protocols: The authentication protocol that is used for the file share. Can only
|
2834
3206
|
be specified when creating a share. Known values are: "SMB" and "NFS".
|
2835
|
-
:vartype enabled_protocols: str or ~azure.mgmt.storage.
|
3207
|
+
:vartype enabled_protocols: str or ~azure.mgmt.storage.v2024_01_01.models.EnabledProtocols
|
2836
3208
|
:ivar root_squash: The property is for NFS share only. The default is NoRootSquash. Known
|
2837
3209
|
values are: "NoRootSquash", "RootSquash", and "AllSquash".
|
2838
|
-
:vartype root_squash: str or ~azure.mgmt.storage.
|
3210
|
+
:vartype root_squash: str or ~azure.mgmt.storage.v2024_01_01.models.RootSquashType
|
2839
3211
|
:ivar version: The version of the share.
|
2840
3212
|
:vartype version: str
|
2841
3213
|
:ivar deleted: Indicates whether the share was deleted.
|
@@ -2847,7 +3219,7 @@ class FileShareItem(AzureEntityResource):
|
|
2847
3219
|
:ivar access_tier: Access tier for specific share. GpV2 account can choose between
|
2848
3220
|
TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Known
|
2849
3221
|
values are: "TransactionOptimized", "Hot", "Cool", and "Premium".
|
2850
|
-
:vartype access_tier: str or ~azure.mgmt.storage.
|
3222
|
+
:vartype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.ShareAccessTier
|
2851
3223
|
:ivar access_tier_change_time: Indicates the last modification time for share access tier.
|
2852
3224
|
:vartype access_tier_change_time: ~datetime.datetime
|
2853
3225
|
:ivar access_tier_status: Indicates if there is a pending transition for access tier.
|
@@ -2856,18 +3228,21 @@ class FileShareItem(AzureEntityResource):
|
|
2856
3228
|
value may not include all recently created or recently resized files.
|
2857
3229
|
:vartype share_usage_bytes: int
|
2858
3230
|
:ivar lease_status: The lease status of the share. Known values are: "Locked" and "Unlocked".
|
2859
|
-
:vartype lease_status: str or ~azure.mgmt.storage.
|
3231
|
+
:vartype lease_status: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseStatus
|
2860
3232
|
:ivar lease_state: Lease state of the share. Known values are: "Available", "Leased",
|
2861
3233
|
"Expired", "Breaking", and "Broken".
|
2862
|
-
:vartype lease_state: str or ~azure.mgmt.storage.
|
3234
|
+
:vartype lease_state: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseState
|
2863
3235
|
:ivar lease_duration: Specifies whether the lease on a share is of infinite or fixed duration,
|
2864
3236
|
only when the share is leased. Known values are: "Infinite" and "Fixed".
|
2865
|
-
:vartype lease_duration: str or ~azure.mgmt.storage.
|
3237
|
+
:vartype lease_duration: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseDuration
|
2866
3238
|
:ivar signed_identifiers: List of stored access policies specified on the share.
|
2867
|
-
:vartype signed_identifiers: list[~azure.mgmt.storage.
|
3239
|
+
:vartype signed_identifiers: list[~azure.mgmt.storage.v2024_01_01.models.SignedIdentifier]
|
2868
3240
|
:ivar snapshot_time: Creation time of share snapshot returned in the response of list shares
|
2869
3241
|
with expand param "snapshots".
|
2870
3242
|
:vartype snapshot_time: ~datetime.datetime
|
3243
|
+
:ivar file_share_paid_bursting: File Share Paid Bursting properties.
|
3244
|
+
:vartype file_share_paid_bursting:
|
3245
|
+
~azure.mgmt.storage.v2024_01_01.models.FileSharePropertiesFileSharePaidBursting
|
2871
3246
|
"""
|
2872
3247
|
|
2873
3248
|
_validation = {
|
@@ -2876,7 +3251,11 @@ class FileShareItem(AzureEntityResource):
|
|
2876
3251
|
"type": {"readonly": True},
|
2877
3252
|
"etag": {"readonly": True},
|
2878
3253
|
"last_modified_time": {"readonly": True},
|
2879
|
-
"
|
3254
|
+
"included_burst_iops": {"readonly": True},
|
3255
|
+
"max_burst_credits_for_iops": {"readonly": True},
|
3256
|
+
"next_allowed_quota_downgrade_time": {"readonly": True},
|
3257
|
+
"next_allowed_provisioned_iops_downgrade_time": {"readonly": True},
|
3258
|
+
"next_allowed_provisioned_bandwidth_downgrade_time": {"readonly": True},
|
2880
3259
|
"version": {"readonly": True},
|
2881
3260
|
"deleted": {"readonly": True},
|
2882
3261
|
"deleted_time": {"readonly": True},
|
@@ -2898,6 +3277,19 @@ class FileShareItem(AzureEntityResource):
|
|
2898
3277
|
"last_modified_time": {"key": "properties.lastModifiedTime", "type": "iso-8601"},
|
2899
3278
|
"metadata": {"key": "properties.metadata", "type": "{str}"},
|
2900
3279
|
"share_quota": {"key": "properties.shareQuota", "type": "int"},
|
3280
|
+
"provisioned_iops": {"key": "properties.provisionedIops", "type": "int"},
|
3281
|
+
"provisioned_bandwidth_mibps": {"key": "properties.provisionedBandwidthMibps", "type": "int"},
|
3282
|
+
"included_burst_iops": {"key": "properties.includedBurstIops", "type": "int"},
|
3283
|
+
"max_burst_credits_for_iops": {"key": "properties.maxBurstCreditsForIops", "type": "int"},
|
3284
|
+
"next_allowed_quota_downgrade_time": {"key": "properties.nextAllowedQuotaDowngradeTime", "type": "iso-8601"},
|
3285
|
+
"next_allowed_provisioned_iops_downgrade_time": {
|
3286
|
+
"key": "properties.nextAllowedProvisionedIopsDowngradeTime",
|
3287
|
+
"type": "iso-8601",
|
3288
|
+
},
|
3289
|
+
"next_allowed_provisioned_bandwidth_downgrade_time": {
|
3290
|
+
"key": "properties.nextAllowedProvisionedBandwidthDowngradeTime",
|
3291
|
+
"type": "iso-8601",
|
3292
|
+
},
|
2901
3293
|
"enabled_protocols": {"key": "properties.enabledProtocols", "type": "str"},
|
2902
3294
|
"root_squash": {"key": "properties.rootSquash", "type": "str"},
|
2903
3295
|
"version": {"key": "properties.version", "type": "str"},
|
@@ -2913,42 +3305,70 @@ class FileShareItem(AzureEntityResource):
|
|
2913
3305
|
"lease_duration": {"key": "properties.leaseDuration", "type": "str"},
|
2914
3306
|
"signed_identifiers": {"key": "properties.signedIdentifiers", "type": "[SignedIdentifier]"},
|
2915
3307
|
"snapshot_time": {"key": "properties.snapshotTime", "type": "iso-8601"},
|
3308
|
+
"file_share_paid_bursting": {
|
3309
|
+
"key": "properties.fileSharePaidBursting",
|
3310
|
+
"type": "FileSharePropertiesFileSharePaidBursting",
|
3311
|
+
},
|
2916
3312
|
}
|
2917
3313
|
|
2918
|
-
def __init__(
|
3314
|
+
def __init__( # pylint: disable=too-many-locals
|
2919
3315
|
self,
|
2920
3316
|
*,
|
2921
3317
|
metadata: Optional[Dict[str, str]] = None,
|
2922
3318
|
share_quota: Optional[int] = None,
|
3319
|
+
provisioned_iops: Optional[int] = None,
|
3320
|
+
provisioned_bandwidth_mibps: Optional[int] = None,
|
2923
3321
|
enabled_protocols: Optional[Union[str, "_models.EnabledProtocols"]] = None,
|
2924
3322
|
root_squash: Optional[Union[str, "_models.RootSquashType"]] = None,
|
2925
3323
|
access_tier: Optional[Union[str, "_models.ShareAccessTier"]] = None,
|
2926
3324
|
signed_identifiers: Optional[List["_models.SignedIdentifier"]] = None,
|
3325
|
+
file_share_paid_bursting: Optional["_models.FileSharePropertiesFileSharePaidBursting"] = None,
|
2927
3326
|
**kwargs: Any
|
2928
3327
|
) -> None:
|
2929
3328
|
"""
|
2930
3329
|
:keyword metadata: A name-value pair to associate with the share as metadata.
|
2931
3330
|
:paramtype metadata: dict[str, str]
|
2932
|
-
:keyword share_quota: The
|
2933
|
-
less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
|
3331
|
+
:keyword share_quota: The provisioned size of the share, in gibibytes. Must be greater than 0,
|
3332
|
+
and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For
|
3333
|
+
file shares created under Files Provisioned v2 account type, please refer to the
|
3334
|
+
GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size.
|
2934
3335
|
:paramtype share_quota: int
|
3336
|
+
:keyword provisioned_iops: The provisioned IOPS of the share. This property is only for file
|
3337
|
+
shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage
|
3338
|
+
API response for the minimum and maximum allowed value for provisioned IOPS.
|
3339
|
+
:paramtype provisioned_iops: int
|
3340
|
+
:keyword provisioned_bandwidth_mibps: The provisioned bandwidth of the share, in mebibytes per
|
3341
|
+
second. This property is only for file shares created under Files Provisioned v2 account type.
|
3342
|
+
Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value
|
3343
|
+
for provisioned bandwidth.
|
3344
|
+
:paramtype provisioned_bandwidth_mibps: int
|
2935
3345
|
:keyword enabled_protocols: The authentication protocol that is used for the file share. Can
|
2936
3346
|
only be specified when creating a share. Known values are: "SMB" and "NFS".
|
2937
|
-
:paramtype enabled_protocols: str or ~azure.mgmt.storage.
|
3347
|
+
:paramtype enabled_protocols: str or ~azure.mgmt.storage.v2024_01_01.models.EnabledProtocols
|
2938
3348
|
:keyword root_squash: The property is for NFS share only. The default is NoRootSquash. Known
|
2939
3349
|
values are: "NoRootSquash", "RootSquash", and "AllSquash".
|
2940
|
-
:paramtype root_squash: str or ~azure.mgmt.storage.
|
3350
|
+
:paramtype root_squash: str or ~azure.mgmt.storage.v2024_01_01.models.RootSquashType
|
2941
3351
|
:keyword access_tier: Access tier for specific share. GpV2 account can choose between
|
2942
3352
|
TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Known
|
2943
3353
|
values are: "TransactionOptimized", "Hot", "Cool", and "Premium".
|
2944
|
-
:paramtype access_tier: str or ~azure.mgmt.storage.
|
3354
|
+
:paramtype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.ShareAccessTier
|
2945
3355
|
:keyword signed_identifiers: List of stored access policies specified on the share.
|
2946
|
-
:paramtype signed_identifiers: list[~azure.mgmt.storage.
|
3356
|
+
:paramtype signed_identifiers: list[~azure.mgmt.storage.v2024_01_01.models.SignedIdentifier]
|
3357
|
+
:keyword file_share_paid_bursting: File Share Paid Bursting properties.
|
3358
|
+
:paramtype file_share_paid_bursting:
|
3359
|
+
~azure.mgmt.storage.v2024_01_01.models.FileSharePropertiesFileSharePaidBursting
|
2947
3360
|
"""
|
2948
3361
|
super().__init__(**kwargs)
|
2949
3362
|
self.last_modified_time = None
|
2950
3363
|
self.metadata = metadata
|
2951
3364
|
self.share_quota = share_quota
|
3365
|
+
self.provisioned_iops = provisioned_iops
|
3366
|
+
self.provisioned_bandwidth_mibps = provisioned_bandwidth_mibps
|
3367
|
+
self.included_burst_iops = None
|
3368
|
+
self.max_burst_credits_for_iops = None
|
3369
|
+
self.next_allowed_quota_downgrade_time = None
|
3370
|
+
self.next_allowed_provisioned_iops_downgrade_time = None
|
3371
|
+
self.next_allowed_provisioned_bandwidth_downgrade_time = None
|
2952
3372
|
self.enabled_protocols = enabled_protocols
|
2953
3373
|
self.root_squash = root_squash
|
2954
3374
|
self.version = None
|
@@ -2964,6 +3384,7 @@ class FileShareItem(AzureEntityResource):
|
|
2964
3384
|
self.lease_duration = None
|
2965
3385
|
self.signed_identifiers = signed_identifiers
|
2966
3386
|
self.snapshot_time = None
|
3387
|
+
self.file_share_paid_bursting = file_share_paid_bursting
|
2967
3388
|
|
2968
3389
|
|
2969
3390
|
class FileShareItems(_serialization.Model):
|
@@ -2973,7 +3394,7 @@ class FileShareItems(_serialization.Model):
|
|
2973
3394
|
Variables are only populated by the server, and will be ignored when sending a request.
|
2974
3395
|
|
2975
3396
|
:ivar value: List of file shares returned.
|
2976
|
-
:vartype value: list[~azure.mgmt.storage.
|
3397
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.FileShareItem]
|
2977
3398
|
:ivar next_link: Request URL that can be used to query next page of shares. Returned when total
|
2978
3399
|
number of requested shares exceed maximum page size.
|
2979
3400
|
:vartype next_link: str
|
@@ -2996,6 +3417,153 @@ class FileShareItems(_serialization.Model):
|
|
2996
3417
|
self.next_link = None
|
2997
3418
|
|
2998
3419
|
|
3420
|
+
class FileShareLimits(_serialization.Model):
|
3421
|
+
"""Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the
|
3422
|
+
storage account.
|
3423
|
+
|
3424
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
3425
|
+
|
3426
|
+
:ivar min_provisioned_storage_gi_b: The minimum provisioned storage quota limit in gibibytes
|
3427
|
+
for a file share in the storage account.
|
3428
|
+
:vartype min_provisioned_storage_gi_b: int
|
3429
|
+
:ivar max_provisioned_storage_gi_b: The maximum provisioned storage quota limit in gibibytes
|
3430
|
+
for a file share in the storage account.
|
3431
|
+
:vartype max_provisioned_storage_gi_b: int
|
3432
|
+
:ivar min_provisioned_iops: The minimum provisioned IOPS limit for a file share in the storage
|
3433
|
+
account.
|
3434
|
+
:vartype min_provisioned_iops: int
|
3435
|
+
:ivar max_provisioned_iops: The maximum provisioned IOPS limit for a file share in the storage
|
3436
|
+
account.
|
3437
|
+
:vartype max_provisioned_iops: int
|
3438
|
+
:ivar min_provisioned_bandwidth_mi_b_per_sec: The minimum provisioned bandwidth limit in
|
3439
|
+
mebibytes per second for a file share in the storage account.
|
3440
|
+
:vartype min_provisioned_bandwidth_mi_b_per_sec: int
|
3441
|
+
:ivar max_provisioned_bandwidth_mi_b_per_sec: The maximum provisioned bandwidth limit in
|
3442
|
+
mebibytes per second for a file share in the storage account.
|
3443
|
+
:vartype max_provisioned_bandwidth_mi_b_per_sec: int
|
3444
|
+
"""
|
3445
|
+
|
3446
|
+
_validation = {
|
3447
|
+
"min_provisioned_storage_gi_b": {"readonly": True},
|
3448
|
+
"max_provisioned_storage_gi_b": {"readonly": True},
|
3449
|
+
"min_provisioned_iops": {"readonly": True},
|
3450
|
+
"max_provisioned_iops": {"readonly": True},
|
3451
|
+
"min_provisioned_bandwidth_mi_b_per_sec": {"readonly": True},
|
3452
|
+
"max_provisioned_bandwidth_mi_b_per_sec": {"readonly": True},
|
3453
|
+
}
|
3454
|
+
|
3455
|
+
_attribute_map = {
|
3456
|
+
"min_provisioned_storage_gi_b": {"key": "minProvisionedStorageGiB", "type": "int"},
|
3457
|
+
"max_provisioned_storage_gi_b": {"key": "maxProvisionedStorageGiB", "type": "int"},
|
3458
|
+
"min_provisioned_iops": {"key": "minProvisionedIOPS", "type": "int"},
|
3459
|
+
"max_provisioned_iops": {"key": "maxProvisionedIOPS", "type": "int"},
|
3460
|
+
"min_provisioned_bandwidth_mi_b_per_sec": {"key": "minProvisionedBandwidthMiBPerSec", "type": "int"},
|
3461
|
+
"max_provisioned_bandwidth_mi_b_per_sec": {"key": "maxProvisionedBandwidthMiBPerSec", "type": "int"},
|
3462
|
+
}
|
3463
|
+
|
3464
|
+
def __init__(self, **kwargs: Any) -> None:
|
3465
|
+
""" """
|
3466
|
+
super().__init__(**kwargs)
|
3467
|
+
self.min_provisioned_storage_gi_b = None
|
3468
|
+
self.max_provisioned_storage_gi_b = None
|
3469
|
+
self.min_provisioned_iops = None
|
3470
|
+
self.max_provisioned_iops = None
|
3471
|
+
self.min_provisioned_bandwidth_mi_b_per_sec = None
|
3472
|
+
self.max_provisioned_bandwidth_mi_b_per_sec = None
|
3473
|
+
|
3474
|
+
|
3475
|
+
class FileSharePropertiesFileSharePaidBursting(_serialization.Model):
|
3476
|
+
"""File Share Paid Bursting properties.
|
3477
|
+
|
3478
|
+
:ivar paid_bursting_enabled: Indicates whether paid bursting is enabled for the share. This
|
3479
|
+
property is only for file shares created under Files Provisioned v1 SSD account type.
|
3480
|
+
:vartype paid_bursting_enabled: bool
|
3481
|
+
:ivar paid_bursting_max_iops: The maximum paid bursting IOPS for the share. This property is
|
3482
|
+
only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed
|
3483
|
+
value is 102400 which is the maximum allowed IOPS for a share.
|
3484
|
+
:vartype paid_bursting_max_iops: int
|
3485
|
+
:ivar paid_bursting_max_bandwidth_mibps: The maximum paid bursting bandwidth for the share, in
|
3486
|
+
mebibytes per second. This property is only for file shares created under Files Provisioned v1
|
3487
|
+
SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for
|
3488
|
+
a share.
|
3489
|
+
:vartype paid_bursting_max_bandwidth_mibps: int
|
3490
|
+
"""
|
3491
|
+
|
3492
|
+
_attribute_map = {
|
3493
|
+
"paid_bursting_enabled": {"key": "paidBurstingEnabled", "type": "bool"},
|
3494
|
+
"paid_bursting_max_iops": {"key": "paidBurstingMaxIops", "type": "int"},
|
3495
|
+
"paid_bursting_max_bandwidth_mibps": {"key": "paidBurstingMaxBandwidthMibps", "type": "int"},
|
3496
|
+
}
|
3497
|
+
|
3498
|
+
def __init__(
|
3499
|
+
self,
|
3500
|
+
*,
|
3501
|
+
paid_bursting_enabled: Optional[bool] = None,
|
3502
|
+
paid_bursting_max_iops: Optional[int] = None,
|
3503
|
+
paid_bursting_max_bandwidth_mibps: Optional[int] = None,
|
3504
|
+
**kwargs: Any
|
3505
|
+
) -> None:
|
3506
|
+
"""
|
3507
|
+
:keyword paid_bursting_enabled: Indicates whether paid bursting is enabled for the share. This
|
3508
|
+
property is only for file shares created under Files Provisioned v1 SSD account type.
|
3509
|
+
:paramtype paid_bursting_enabled: bool
|
3510
|
+
:keyword paid_bursting_max_iops: The maximum paid bursting IOPS for the share. This property is
|
3511
|
+
only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed
|
3512
|
+
value is 102400 which is the maximum allowed IOPS for a share.
|
3513
|
+
:paramtype paid_bursting_max_iops: int
|
3514
|
+
:keyword paid_bursting_max_bandwidth_mibps: The maximum paid bursting bandwidth for the share,
|
3515
|
+
in mebibytes per second. This property is only for file shares created under Files Provisioned
|
3516
|
+
v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth
|
3517
|
+
for a share.
|
3518
|
+
:paramtype paid_bursting_max_bandwidth_mibps: int
|
3519
|
+
"""
|
3520
|
+
super().__init__(**kwargs)
|
3521
|
+
self.paid_bursting_enabled = paid_bursting_enabled
|
3522
|
+
self.paid_bursting_max_iops = paid_bursting_max_iops
|
3523
|
+
self.paid_bursting_max_bandwidth_mibps = paid_bursting_max_bandwidth_mibps
|
3524
|
+
|
3525
|
+
|
3526
|
+
class FileShareRecommendations(_serialization.Model):
|
3527
|
+
"""Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in
|
3528
|
+
the storage account.
|
3529
|
+
|
3530
|
+
Variables are only populated by the server, and will be ignored when sending a request.
|
3531
|
+
|
3532
|
+
:ivar base_iops: The base IOPS in the file share provisioned IOPS recommendation formula.
|
3533
|
+
:vartype base_iops: int
|
3534
|
+
:ivar io_scalar: The scalar for IO in the file share provisioned IOPS recommendation formula.
|
3535
|
+
:vartype io_scalar: float
|
3536
|
+
:ivar base_bandwidth_mi_b_per_sec: The base bandwidth in the file share provisioned bandwidth
|
3537
|
+
recommendation formula.
|
3538
|
+
:vartype base_bandwidth_mi_b_per_sec: int
|
3539
|
+
:ivar bandwidth_scalar: The scalar for bandwidth in the file share provisioned bandwidth
|
3540
|
+
recommendation formula.
|
3541
|
+
:vartype bandwidth_scalar: float
|
3542
|
+
"""
|
3543
|
+
|
3544
|
+
_validation = {
|
3545
|
+
"base_iops": {"readonly": True},
|
3546
|
+
"io_scalar": {"readonly": True},
|
3547
|
+
"base_bandwidth_mi_b_per_sec": {"readonly": True},
|
3548
|
+
"bandwidth_scalar": {"readonly": True},
|
3549
|
+
}
|
3550
|
+
|
3551
|
+
_attribute_map = {
|
3552
|
+
"base_iops": {"key": "baseIOPS", "type": "int"},
|
3553
|
+
"io_scalar": {"key": "ioScalar", "type": "float"},
|
3554
|
+
"base_bandwidth_mi_b_per_sec": {"key": "baseBandwidthMiBPerSec", "type": "int"},
|
3555
|
+
"bandwidth_scalar": {"key": "bandwidthScalar", "type": "float"},
|
3556
|
+
}
|
3557
|
+
|
3558
|
+
def __init__(self, **kwargs: Any) -> None:
|
3559
|
+
""" """
|
3560
|
+
super().__init__(**kwargs)
|
3561
|
+
self.base_iops = None
|
3562
|
+
self.io_scalar = None
|
3563
|
+
self.base_bandwidth_mi_b_per_sec = None
|
3564
|
+
self.bandwidth_scalar = None
|
3565
|
+
|
3566
|
+
|
2999
3567
|
class GeoReplicationStats(_serialization.Model):
|
3000
3568
|
"""Statistics related to replication for storage account's Blob, Table, Queue and File services.
|
3001
3569
|
It is only available when geo-redundant replication is enabled for the storage account.
|
@@ -3007,7 +3575,7 @@ class GeoReplicationStats(_serialization.Model):
|
|
3007
3575
|
synchronization from the primary location to the secondary location is in progress.This
|
3008
3576
|
typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary
|
3009
3577
|
location is temporarily unavailable. Known values are: "Live", "Bootstrap", and "Unavailable".
|
3010
|
-
:vartype status: str or ~azure.mgmt.storage.
|
3578
|
+
:vartype status: str or ~azure.mgmt.storage.v2024_01_01.models.GeoReplicationStatus
|
3011
3579
|
:ivar last_sync_time: All primary writes preceding this UTC date/time value are guaranteed to
|
3012
3580
|
be available for read operations. Primary writes following this point in time may or may not be
|
3013
3581
|
available for reads. Element may be default value if value of LastSyncTime is not available,
|
@@ -3022,12 +3590,12 @@ class GeoReplicationStats(_serialization.Model):
|
|
3022
3590
|
:ivar post_failover_redundancy: The redundancy type of the account after an account failover is
|
3023
3591
|
performed. Known values are: "Standard_LRS" and "Standard_ZRS".
|
3024
3592
|
:vartype post_failover_redundancy: str or
|
3025
|
-
~azure.mgmt.storage.
|
3593
|
+
~azure.mgmt.storage.v2024_01_01.models.PostFailoverRedundancy
|
3026
3594
|
:ivar post_planned_failover_redundancy: The redundancy type of the account after a planned
|
3027
3595
|
account failover is performed. Known values are: "Standard_GRS", "Standard_GZRS",
|
3028
3596
|
"Standard_RAGRS", and "Standard_RAGZRS".
|
3029
3597
|
:vartype post_planned_failover_redundancy: str or
|
3030
|
-
~azure.mgmt.storage.
|
3598
|
+
~azure.mgmt.storage.v2024_01_01.models.PostPlannedFailoverRedundancy
|
3031
3599
|
"""
|
3032
3600
|
|
3033
3601
|
_validation = {
|
@@ -3072,12 +3640,12 @@ class Identity(_serialization.Model):
|
|
3072
3640
|
:vartype tenant_id: str
|
3073
3641
|
:ivar type: The identity type. Required. Known values are: "None", "SystemAssigned",
|
3074
3642
|
"UserAssigned", and "SystemAssigned,UserAssigned".
|
3075
|
-
:vartype type: str or ~azure.mgmt.storage.
|
3643
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.IdentityType
|
3076
3644
|
:ivar user_assigned_identities: Gets or sets a list of key value pairs that describe the set of
|
3077
3645
|
User Assigned identities that will be used with this storage account. The key is the ARM
|
3078
3646
|
resource identifier of the identity. Only 1 User Assigned identity is permitted here.
|
3079
3647
|
:vartype user_assigned_identities: dict[str,
|
3080
|
-
~azure.mgmt.storage.
|
3648
|
+
~azure.mgmt.storage.v2024_01_01.models.UserAssignedIdentity]
|
3081
3649
|
"""
|
3082
3650
|
|
3083
3651
|
_validation = {
|
@@ -3103,12 +3671,12 @@ class Identity(_serialization.Model):
|
|
3103
3671
|
"""
|
3104
3672
|
:keyword type: The identity type. Required. Known values are: "None", "SystemAssigned",
|
3105
3673
|
"UserAssigned", and "SystemAssigned,UserAssigned".
|
3106
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
3674
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.IdentityType
|
3107
3675
|
:keyword user_assigned_identities: Gets or sets a list of key value pairs that describe the set
|
3108
3676
|
of User Assigned identities that will be used with this storage account. The key is the ARM
|
3109
3677
|
resource identifier of the identity. Only 1 User Assigned identity is permitted here.
|
3110
3678
|
:paramtype user_assigned_identities: dict[str,
|
3111
|
-
~azure.mgmt.storage.
|
3679
|
+
~azure.mgmt.storage.v2024_01_01.models.UserAssignedIdentity]
|
3112
3680
|
"""
|
3113
3681
|
super().__init__(**kwargs)
|
3114
3682
|
self.principal_id = None
|
@@ -3138,7 +3706,7 @@ class ImmutabilityPolicy(AzureEntityResource):
|
|
3138
3706
|
:vartype immutability_period_since_creation_in_days: int
|
3139
3707
|
:ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked
|
3140
3708
|
and Unlocked. Known values are: "Locked" and "Unlocked".
|
3141
|
-
:vartype state: str or ~azure.mgmt.storage.
|
3709
|
+
:vartype state: str or ~azure.mgmt.storage.v2024_01_01.models.ImmutabilityPolicyState
|
3142
3710
|
:ivar allow_protected_append_writes: This property can only be changed for unlocked time-based
|
3143
3711
|
retention policies. When enabled, new blocks can be written to an append blob while maintaining
|
3144
3712
|
immutability protection and compliance. Only new blocks can be added and any existing blocks
|
@@ -3217,13 +3785,13 @@ class ImmutabilityPolicyProperties(_serialization.Model):
|
|
3217
3785
|
:ivar etag: ImmutabilityPolicy Etag.
|
3218
3786
|
:vartype etag: str
|
3219
3787
|
:ivar update_history: The ImmutabilityPolicy update history of the blob container.
|
3220
|
-
:vartype update_history: list[~azure.mgmt.storage.
|
3788
|
+
:vartype update_history: list[~azure.mgmt.storage.v2024_01_01.models.UpdateHistoryProperty]
|
3221
3789
|
:ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the
|
3222
3790
|
container since the policy creation, in days.
|
3223
3791
|
:vartype immutability_period_since_creation_in_days: int
|
3224
3792
|
:ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked
|
3225
3793
|
and Unlocked. Known values are: "Locked" and "Unlocked".
|
3226
|
-
:vartype state: str or ~azure.mgmt.storage.
|
3794
|
+
:vartype state: str or ~azure.mgmt.storage.v2024_01_01.models.ImmutabilityPolicyState
|
3227
3795
|
:ivar allow_protected_append_writes: This property can only be changed for unlocked time-based
|
3228
3796
|
retention policies. When enabled, new blocks can be written to an append blob while maintaining
|
3229
3797
|
immutability protection and compliance. Only new blocks can be added and any existing blocks
|
@@ -3305,7 +3873,7 @@ class ImmutableStorageAccount(_serialization.Model):
|
|
3305
3873
|
container-level immutability policy, which has a higher precedence than the account-level
|
3306
3874
|
immutability policy.
|
3307
3875
|
:vartype immutability_policy:
|
3308
|
-
~azure.mgmt.storage.
|
3876
|
+
~azure.mgmt.storage.v2024_01_01.models.AccountImmutabilityPolicyProperties
|
3309
3877
|
"""
|
3310
3878
|
|
3311
3879
|
_attribute_map = {
|
@@ -3330,7 +3898,7 @@ class ImmutableStorageAccount(_serialization.Model):
|
|
3330
3898
|
container-level immutability policy, which has a higher precedence than the account-level
|
3331
3899
|
immutability policy.
|
3332
3900
|
:paramtype immutability_policy:
|
3333
|
-
~azure.mgmt.storage.
|
3901
|
+
~azure.mgmt.storage.v2024_01_01.models.AccountImmutabilityPolicyProperties
|
3334
3902
|
"""
|
3335
3903
|
super().__init__(**kwargs)
|
3336
3904
|
self.enabled = enabled
|
@@ -3349,7 +3917,7 @@ class ImmutableStorageWithVersioning(_serialization.Model):
|
|
3349
3917
|
:vartype time_stamp: ~datetime.datetime
|
3350
3918
|
:ivar migration_state: This property denotes the container level immutability to object level
|
3351
3919
|
immutability migration state. Known values are: "InProgress" and "Completed".
|
3352
|
-
:vartype migration_state: str or ~azure.mgmt.storage.
|
3920
|
+
:vartype migration_state: str or ~azure.mgmt.storage.v2024_01_01.models.MigrationState
|
3353
3921
|
"""
|
3354
3922
|
|
3355
3923
|
_validation = {
|
@@ -3536,7 +4104,7 @@ class LastAccessTimeTrackingPolicy(_serialization.Model):
|
|
3536
4104
|
:vartype enable: bool
|
3537
4105
|
:ivar name: Name of the policy. The valid value is AccessTimeTracking. This field is currently
|
3538
4106
|
read only. "AccessTimeTracking"
|
3539
|
-
:vartype name: str or ~azure.mgmt.storage.
|
4107
|
+
:vartype name: str or ~azure.mgmt.storage.v2024_01_01.models.Name
|
3540
4108
|
:ivar tracking_granularity_in_days: The field specifies blob object tracking granularity in
|
3541
4109
|
days, typically how often the blob object should be tracked.This field is currently read only
|
3542
4110
|
with value as 1.
|
@@ -3571,7 +4139,7 @@ class LastAccessTimeTrackingPolicy(_serialization.Model):
|
|
3571
4139
|
:paramtype enable: bool
|
3572
4140
|
:keyword name: Name of the policy. The valid value is AccessTimeTracking. This field is
|
3573
4141
|
currently read only. "AccessTimeTracking"
|
3574
|
-
:paramtype name: str or ~azure.mgmt.storage.
|
4142
|
+
:paramtype name: str or ~azure.mgmt.storage.v2024_01_01.models.Name
|
3575
4143
|
:keyword tracking_granularity_in_days: The field specifies blob object tracking granularity in
|
3576
4144
|
days, typically how often the blob object should be tracked.This field is currently read only
|
3577
4145
|
with value as 1.
|
@@ -3594,7 +4162,7 @@ class LeaseContainerRequest(_serialization.Model):
|
|
3594
4162
|
|
3595
4163
|
:ivar action: Specifies the lease action. Can be one of the available actions. Required. Known
|
3596
4164
|
values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".
|
3597
|
-
:vartype action: str or ~azure.mgmt.storage.
|
4165
|
+
:vartype action: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseContainerRequestEnum
|
3598
4166
|
:ivar lease_id: Identifies the lease. Can be specified in any valid GUID string format.
|
3599
4167
|
:vartype lease_id: str
|
3600
4168
|
:ivar break_period: Optional. For a break action, proposed duration the lease should continue
|
@@ -3633,7 +4201,7 @@ class LeaseContainerRequest(_serialization.Model):
|
|
3633
4201
|
"""
|
3634
4202
|
:keyword action: Specifies the lease action. Can be one of the available actions. Required.
|
3635
4203
|
Known values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".
|
3636
|
-
:paramtype action: str or ~azure.mgmt.storage.
|
4204
|
+
:paramtype action: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseContainerRequestEnum
|
3637
4205
|
:keyword lease_id: Identifies the lease. Can be specified in any valid GUID string format.
|
3638
4206
|
:paramtype lease_id: str
|
3639
4207
|
:keyword break_period: Optional. For a break action, proposed duration the lease should
|
@@ -3691,7 +4259,7 @@ class LeaseShareRequest(_serialization.Model):
|
|
3691
4259
|
|
3692
4260
|
:ivar action: Specifies the lease action. Can be one of the available actions. Required. Known
|
3693
4261
|
values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".
|
3694
|
-
:vartype action: str or ~azure.mgmt.storage.
|
4262
|
+
:vartype action: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseShareAction
|
3695
4263
|
:ivar lease_id: Identifies the lease. Can be specified in any valid GUID string format.
|
3696
4264
|
:vartype lease_id: str
|
3697
4265
|
:ivar break_period: Optional. For a break action, proposed duration the lease should continue
|
@@ -3730,7 +4298,7 @@ class LeaseShareRequest(_serialization.Model):
|
|
3730
4298
|
"""
|
3731
4299
|
:keyword action: Specifies the lease action. Can be one of the available actions. Required.
|
3732
4300
|
Known values are: "Acquire", "Renew", "Change", "Release", "Break", and "Break".
|
3733
|
-
:paramtype action: str or ~azure.mgmt.storage.
|
4301
|
+
:paramtype action: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseShareAction
|
3734
4302
|
:keyword lease_id: Identifies the lease. Can be specified in any valid GUID string format.
|
3735
4303
|
:paramtype lease_id: str
|
3736
4304
|
:keyword break_period: Optional. For a break action, proposed duration the lease should
|
@@ -3842,10 +4410,10 @@ class LegalHoldProperties(_serialization.Model):
|
|
3842
4410
|
hasLegalHold=true for a given account.
|
3843
4411
|
:vartype has_legal_hold: bool
|
3844
4412
|
:ivar tags: The list of LegalHold tags of a blob container.
|
3845
|
-
:vartype tags: list[~azure.mgmt.storage.
|
4413
|
+
:vartype tags: list[~azure.mgmt.storage.v2024_01_01.models.TagProperty]
|
3846
4414
|
:ivar protected_append_writes_history: Protected append blob writes history.
|
3847
4415
|
:vartype protected_append_writes_history:
|
3848
|
-
~azure.mgmt.storage.
|
4416
|
+
~azure.mgmt.storage.v2024_01_01.models.ProtectedAppendWritesHistory
|
3849
4417
|
"""
|
3850
4418
|
|
3851
4419
|
_validation = {
|
@@ -3870,10 +4438,10 @@ class LegalHoldProperties(_serialization.Model):
|
|
3870
4438
|
) -> None:
|
3871
4439
|
"""
|
3872
4440
|
:keyword tags: The list of LegalHold tags of a blob container.
|
3873
|
-
:paramtype tags: list[~azure.mgmt.storage.
|
4441
|
+
:paramtype tags: list[~azure.mgmt.storage.v2024_01_01.models.TagProperty]
|
3874
4442
|
:keyword protected_append_writes_history: Protected append blob writes history.
|
3875
4443
|
:paramtype protected_append_writes_history:
|
3876
|
-
~azure.mgmt.storage.
|
4444
|
+
~azure.mgmt.storage.v2024_01_01.models.ProtectedAppendWritesHistory
|
3877
4445
|
"""
|
3878
4446
|
super().__init__(**kwargs)
|
3879
4447
|
self.has_legal_hold = None
|
@@ -3910,7 +4478,7 @@ class ListBlobInventoryPolicy(_serialization.Model):
|
|
3910
4478
|
Variables are only populated by the server, and will be ignored when sending a request.
|
3911
4479
|
|
3912
4480
|
:ivar value: List of blob inventory policies.
|
3913
|
-
:vartype value: list[~azure.mgmt.storage.
|
4481
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.BlobInventoryPolicy]
|
3914
4482
|
"""
|
3915
4483
|
|
3916
4484
|
_validation = {
|
@@ -3958,25 +4526,25 @@ class ListContainerItem(AzureEntityResource):
|
|
3958
4526
|
:vartype deny_encryption_scope_override: bool
|
3959
4527
|
:ivar public_access: Specifies whether data in the container may be accessed publicly and the
|
3960
4528
|
level of access. Known values are: "Container", "Blob", and "None".
|
3961
|
-
:vartype public_access: str or ~azure.mgmt.storage.
|
4529
|
+
:vartype public_access: str or ~azure.mgmt.storage.v2024_01_01.models.PublicAccess
|
3962
4530
|
:ivar last_modified_time: Returns the date and time the container was last modified.
|
3963
4531
|
:vartype last_modified_time: ~datetime.datetime
|
3964
4532
|
:ivar lease_status: The lease status of the container. Known values are: "Locked" and
|
3965
4533
|
"Unlocked".
|
3966
|
-
:vartype lease_status: str or ~azure.mgmt.storage.
|
4534
|
+
:vartype lease_status: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseStatus
|
3967
4535
|
:ivar lease_state: Lease state of the container. Known values are: "Available", "Leased",
|
3968
4536
|
"Expired", "Breaking", and "Broken".
|
3969
|
-
:vartype lease_state: str or ~azure.mgmt.storage.
|
4537
|
+
:vartype lease_state: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseState
|
3970
4538
|
:ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed
|
3971
4539
|
duration, only when the container is leased. Known values are: "Infinite" and "Fixed".
|
3972
|
-
:vartype lease_duration: str or ~azure.mgmt.storage.
|
4540
|
+
:vartype lease_duration: str or ~azure.mgmt.storage.v2024_01_01.models.LeaseDuration
|
3973
4541
|
:ivar metadata: A name-value pair to associate with the container as metadata.
|
3974
4542
|
:vartype metadata: dict[str, str]
|
3975
4543
|
:ivar immutability_policy: The ImmutabilityPolicy property of the container.
|
3976
4544
|
:vartype immutability_policy:
|
3977
|
-
~azure.mgmt.storage.
|
4545
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutabilityPolicyProperties
|
3978
4546
|
:ivar legal_hold: The LegalHold property of the container.
|
3979
|
-
:vartype legal_hold: ~azure.mgmt.storage.
|
4547
|
+
:vartype legal_hold: ~azure.mgmt.storage.v2024_01_01.models.LegalHoldProperties
|
3980
4548
|
:ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at
|
3981
4549
|
least one existing tag. The hasLegalHold public property is set to false by SRP if all existing
|
3982
4550
|
legal hold tags are cleared out. There can be a maximum of 1000 blob containers with
|
@@ -3990,7 +4558,7 @@ class ListContainerItem(AzureEntityResource):
|
|
3990
4558
|
container. The property is immutable and can only be set to true at the container creation
|
3991
4559
|
time. Existing containers must undergo a migration process.
|
3992
4560
|
:vartype immutable_storage_with_versioning:
|
3993
|
-
~azure.mgmt.storage.
|
4561
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageWithVersioning
|
3994
4562
|
:ivar enable_nfs_v3_root_squash: Enable NFSv3 root squash on blob container.
|
3995
4563
|
:vartype enable_nfs_v3_root_squash: bool
|
3996
4564
|
:ivar enable_nfs_v3_all_squash: Enable NFSv3 all squash on blob container.
|
@@ -4066,14 +4634,14 @@ class ListContainerItem(AzureEntityResource):
|
|
4066
4634
|
:paramtype deny_encryption_scope_override: bool
|
4067
4635
|
:keyword public_access: Specifies whether data in the container may be accessed publicly and
|
4068
4636
|
the level of access. Known values are: "Container", "Blob", and "None".
|
4069
|
-
:paramtype public_access: str or ~azure.mgmt.storage.
|
4637
|
+
:paramtype public_access: str or ~azure.mgmt.storage.v2024_01_01.models.PublicAccess
|
4070
4638
|
:keyword metadata: A name-value pair to associate with the container as metadata.
|
4071
4639
|
:paramtype metadata: dict[str, str]
|
4072
4640
|
:keyword immutable_storage_with_versioning: The object level immutability property of the
|
4073
4641
|
container. The property is immutable and can only be set to true at the container creation
|
4074
4642
|
time. Existing containers must undergo a migration process.
|
4075
4643
|
:paramtype immutable_storage_with_versioning:
|
4076
|
-
~azure.mgmt.storage.
|
4644
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageWithVersioning
|
4077
4645
|
:keyword enable_nfs_v3_root_squash: Enable NFSv3 root squash on blob container.
|
4078
4646
|
:paramtype enable_nfs_v3_root_squash: bool
|
4079
4647
|
:keyword enable_nfs_v3_all_squash: Enable NFSv3 all squash on blob container.
|
@@ -4108,7 +4676,7 @@ class ListContainerItems(_serialization.Model):
|
|
4108
4676
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4109
4677
|
|
4110
4678
|
:ivar value: List of blobs containers returned.
|
4111
|
-
:vartype value: list[~azure.mgmt.storage.
|
4679
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.ListContainerItem]
|
4112
4680
|
:ivar next_link: Request URL that can be used to query next page of containers. Returned when
|
4113
4681
|
total number of requested containers exceed maximum page size.
|
4114
4682
|
:vartype next_link: str
|
@@ -4176,7 +4744,7 @@ class ListQueueResource(_serialization.Model):
|
|
4176
4744
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4177
4745
|
|
4178
4746
|
:ivar value: List of queues returned.
|
4179
|
-
:vartype value: list[~azure.mgmt.storage.
|
4747
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.ListQueue]
|
4180
4748
|
:ivar next_link: Request URL that can be used to list next page of queues.
|
4181
4749
|
:vartype next_link: str
|
4182
4750
|
"""
|
@@ -4204,7 +4772,7 @@ class ListQueueServices(_serialization.Model):
|
|
4204
4772
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4205
4773
|
|
4206
4774
|
:ivar value: List of queue services returned.
|
4207
|
-
:vartype value: list[~azure.mgmt.storage.
|
4775
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties]
|
4208
4776
|
"""
|
4209
4777
|
|
4210
4778
|
_validation = {
|
@@ -4250,7 +4818,7 @@ class ListTableResource(_serialization.Model):
|
|
4250
4818
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4251
4819
|
|
4252
4820
|
:ivar value: List of tables returned.
|
4253
|
-
:vartype value: list[~azure.mgmt.storage.
|
4821
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.Table]
|
4254
4822
|
:ivar next_link: Request URL that can be used to query next page of tables.
|
4255
4823
|
:vartype next_link: str
|
4256
4824
|
"""
|
@@ -4278,7 +4846,7 @@ class ListTableServices(_serialization.Model):
|
|
4278
4846
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4279
4847
|
|
4280
4848
|
:ivar value: List of table services returned.
|
4281
|
-
:vartype value: list[~azure.mgmt.storage.
|
4849
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.TableServiceProperties]
|
4282
4850
|
"""
|
4283
4851
|
|
4284
4852
|
_validation = {
|
@@ -4309,13 +4877,13 @@ class LocalUser(Resource):
|
|
4309
4877
|
"Microsoft.Storage/storageAccounts".
|
4310
4878
|
:vartype type: str
|
4311
4879
|
:ivar system_data: Metadata pertaining to creation and last modification of the resource.
|
4312
|
-
:vartype system_data: ~azure.mgmt.storage.
|
4880
|
+
:vartype system_data: ~azure.mgmt.storage.v2024_01_01.models.SystemData
|
4313
4881
|
:ivar permission_scopes: The permission scopes of the local user.
|
4314
|
-
:vartype permission_scopes: list[~azure.mgmt.storage.
|
4882
|
+
:vartype permission_scopes: list[~azure.mgmt.storage.v2024_01_01.models.PermissionScope]
|
4315
4883
|
:ivar home_directory: Optional, local user home directory.
|
4316
4884
|
:vartype home_directory: str
|
4317
4885
|
:ivar ssh_authorized_keys: Optional, local user ssh authorized keys for SFTP.
|
4318
|
-
:vartype ssh_authorized_keys: list[~azure.mgmt.storage.
|
4886
|
+
:vartype ssh_authorized_keys: list[~azure.mgmt.storage.v2024_01_01.models.SshPublicKey]
|
4319
4887
|
:ivar sid: A unique Security Identifier that is generated by the server.
|
4320
4888
|
:vartype sid: str
|
4321
4889
|
:ivar has_shared_key: Indicates whether shared key exists. Set it to false to remove existing
|
@@ -4386,11 +4954,11 @@ class LocalUser(Resource):
|
|
4386
4954
|
) -> None:
|
4387
4955
|
"""
|
4388
4956
|
:keyword permission_scopes: The permission scopes of the local user.
|
4389
|
-
:paramtype permission_scopes: list[~azure.mgmt.storage.
|
4957
|
+
:paramtype permission_scopes: list[~azure.mgmt.storage.v2024_01_01.models.PermissionScope]
|
4390
4958
|
:keyword home_directory: Optional, local user home directory.
|
4391
4959
|
:paramtype home_directory: str
|
4392
4960
|
:keyword ssh_authorized_keys: Optional, local user ssh authorized keys for SFTP.
|
4393
|
-
:paramtype ssh_authorized_keys: list[~azure.mgmt.storage.
|
4961
|
+
:paramtype ssh_authorized_keys: list[~azure.mgmt.storage.v2024_01_01.models.SshPublicKey]
|
4394
4962
|
:keyword has_shared_key: Indicates whether shared key exists. Set it to false to remove
|
4395
4963
|
existing shared key.
|
4396
4964
|
:paramtype has_shared_key: bool
|
@@ -4434,7 +5002,7 @@ class LocalUserKeys(_serialization.Model):
|
|
4434
5002
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4435
5003
|
|
4436
5004
|
:ivar ssh_authorized_keys: Optional, local user ssh authorized keys for SFTP.
|
4437
|
-
:vartype ssh_authorized_keys: list[~azure.mgmt.storage.
|
5005
|
+
:vartype ssh_authorized_keys: list[~azure.mgmt.storage.v2024_01_01.models.SshPublicKey]
|
4438
5006
|
:ivar shared_key: Auto generated by the server for SMB authentication.
|
4439
5007
|
:vartype shared_key: str
|
4440
5008
|
"""
|
@@ -4451,7 +5019,7 @@ class LocalUserKeys(_serialization.Model):
|
|
4451
5019
|
def __init__(self, *, ssh_authorized_keys: Optional[List["_models.SshPublicKey"]] = None, **kwargs: Any) -> None:
|
4452
5020
|
"""
|
4453
5021
|
:keyword ssh_authorized_keys: Optional, local user ssh authorized keys for SFTP.
|
4454
|
-
:paramtype ssh_authorized_keys: list[~azure.mgmt.storage.
|
5022
|
+
:paramtype ssh_authorized_keys: list[~azure.mgmt.storage.v2024_01_01.models.SshPublicKey]
|
4455
5023
|
"""
|
4456
5024
|
super().__init__(**kwargs)
|
4457
5025
|
self.ssh_authorized_keys = ssh_authorized_keys
|
@@ -4489,7 +5057,7 @@ class LocalUsers(_serialization.Model):
|
|
4489
5057
|
Variables are only populated by the server, and will be ignored when sending a request.
|
4490
5058
|
|
4491
5059
|
:ivar value: The list of local users associated with the storage account.
|
4492
|
-
:vartype value: list[~azure.mgmt.storage.
|
5060
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.LocalUser]
|
4493
5061
|
:ivar next_link: Request URL that can be used to query next page of local users. Returned when
|
4494
5062
|
total number of requested local users exceeds the maximum page size.
|
4495
5063
|
:vartype next_link: str
|
@@ -4507,7 +5075,7 @@ class LocalUsers(_serialization.Model):
|
|
4507
5075
|
def __init__(self, *, value: Optional[List["_models.LocalUser"]] = None, **kwargs: Any) -> None:
|
4508
5076
|
"""
|
4509
5077
|
:keyword value: The list of local users associated with the storage account.
|
4510
|
-
:paramtype value: list[~azure.mgmt.storage.
|
5078
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.LocalUser]
|
4511
5079
|
"""
|
4512
5080
|
super().__init__(**kwargs)
|
4513
5081
|
self.value = value
|
@@ -4531,7 +5099,7 @@ class ManagementPolicy(Resource):
|
|
4531
5099
|
:vartype last_modified_time: ~datetime.datetime
|
4532
5100
|
:ivar policy: The Storage Account ManagementPolicy, in JSON format. See more details in:
|
4533
5101
|
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
4534
|
-
:vartype policy: ~azure.mgmt.storage.
|
5102
|
+
:vartype policy: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySchema
|
4535
5103
|
"""
|
4536
5104
|
|
4537
5105
|
_validation = {
|
@@ -4553,7 +5121,7 @@ class ManagementPolicy(Resource):
|
|
4553
5121
|
"""
|
4554
5122
|
:keyword policy: The Storage Account ManagementPolicy, in JSON format. See more details in:
|
4555
5123
|
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
4556
|
-
:paramtype policy: ~azure.mgmt.storage.
|
5124
|
+
:paramtype policy: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySchema
|
4557
5125
|
"""
|
4558
5126
|
super().__init__(**kwargs)
|
4559
5127
|
self.last_modified_time = None
|
@@ -4564,11 +5132,11 @@ class ManagementPolicyAction(_serialization.Model):
|
|
4564
5132
|
"""Actions are applied to the filtered blobs when the execution condition is met.
|
4565
5133
|
|
4566
5134
|
:ivar base_blob: The management policy action for base blob.
|
4567
|
-
:vartype base_blob: ~azure.mgmt.storage.
|
5135
|
+
:vartype base_blob: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyBaseBlob
|
4568
5136
|
:ivar snapshot: The management policy action for snapshot.
|
4569
|
-
:vartype snapshot: ~azure.mgmt.storage.
|
5137
|
+
:vartype snapshot: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySnapShot
|
4570
5138
|
:ivar version: The management policy action for version.
|
4571
|
-
:vartype version: ~azure.mgmt.storage.
|
5139
|
+
:vartype version: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyVersion
|
4572
5140
|
"""
|
4573
5141
|
|
4574
5142
|
_attribute_map = {
|
@@ -4587,11 +5155,11 @@ class ManagementPolicyAction(_serialization.Model):
|
|
4587
5155
|
) -> None:
|
4588
5156
|
"""
|
4589
5157
|
:keyword base_blob: The management policy action for base blob.
|
4590
|
-
:paramtype base_blob: ~azure.mgmt.storage.
|
5158
|
+
:paramtype base_blob: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyBaseBlob
|
4591
5159
|
:keyword snapshot: The management policy action for snapshot.
|
4592
|
-
:paramtype snapshot: ~azure.mgmt.storage.
|
5160
|
+
:paramtype snapshot: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicySnapShot
|
4593
5161
|
:keyword version: The management policy action for version.
|
4594
|
-
:paramtype version: ~azure.mgmt.storage.
|
5162
|
+
:paramtype version: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyVersion
|
4595
5163
|
"""
|
4596
5164
|
super().__init__(**kwargs)
|
4597
5165
|
self.base_blob = base_blob
|
@@ -4603,16 +5171,16 @@ class ManagementPolicyBaseBlob(_serialization.Model):
|
|
4603
5171
|
"""Management policy action for base blob.
|
4604
5172
|
|
4605
5173
|
:ivar tier_to_cool: The function to tier blobs to cool storage.
|
4606
|
-
:vartype tier_to_cool: ~azure.mgmt.storage.
|
5174
|
+
:vartype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4607
5175
|
:ivar tier_to_archive: The function to tier blobs to archive storage.
|
4608
|
-
:vartype tier_to_archive: ~azure.mgmt.storage.
|
5176
|
+
:vartype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4609
5177
|
:ivar tier_to_cold: The function to tier blobs to cold storage.
|
4610
|
-
:vartype tier_to_cold: ~azure.mgmt.storage.
|
5178
|
+
:vartype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4611
5179
|
:ivar tier_to_hot: The function to tier blobs to hot storage. This action can only be used with
|
4612
5180
|
Premium Block Blob Storage Accounts.
|
4613
|
-
:vartype tier_to_hot: ~azure.mgmt.storage.
|
5181
|
+
:vartype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4614
5182
|
:ivar delete: The function to delete the blob.
|
4615
|
-
:vartype delete: ~azure.mgmt.storage.
|
5183
|
+
:vartype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4616
5184
|
:ivar enable_auto_tier_to_hot_from_cool: This property enables auto tiering of a blob from cool
|
4617
5185
|
to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
|
4618
5186
|
:vartype enable_auto_tier_to_hot_from_cool: bool
|
@@ -4640,16 +5208,16 @@ class ManagementPolicyBaseBlob(_serialization.Model):
|
|
4640
5208
|
) -> None:
|
4641
5209
|
"""
|
4642
5210
|
:keyword tier_to_cool: The function to tier blobs to cool storage.
|
4643
|
-
:paramtype tier_to_cool: ~azure.mgmt.storage.
|
5211
|
+
:paramtype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4644
5212
|
:keyword tier_to_archive: The function to tier blobs to archive storage.
|
4645
|
-
:paramtype tier_to_archive: ~azure.mgmt.storage.
|
5213
|
+
:paramtype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4646
5214
|
:keyword tier_to_cold: The function to tier blobs to cold storage.
|
4647
|
-
:paramtype tier_to_cold: ~azure.mgmt.storage.
|
5215
|
+
:paramtype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4648
5216
|
:keyword tier_to_hot: The function to tier blobs to hot storage. This action can only be used
|
4649
5217
|
with Premium Block Blob Storage Accounts.
|
4650
|
-
:paramtype tier_to_hot: ~azure.mgmt.storage.
|
5218
|
+
:paramtype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4651
5219
|
:keyword delete: The function to delete the blob.
|
4652
|
-
:paramtype delete: ~azure.mgmt.storage.
|
5220
|
+
:paramtype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterModification
|
4653
5221
|
:keyword enable_auto_tier_to_hot_from_cool: This property enables auto tiering of a blob from
|
4654
5222
|
cool to hot on a blob access. This property requires
|
4655
5223
|
tierToCool.daysAfterLastAccessTimeGreaterThan.
|
@@ -4671,9 +5239,9 @@ class ManagementPolicyDefinition(_serialization.Model):
|
|
4671
5239
|
All required parameters must be populated in order to send to server.
|
4672
5240
|
|
4673
5241
|
:ivar actions: An object that defines the action set. Required.
|
4674
|
-
:vartype actions: ~azure.mgmt.storage.
|
5242
|
+
:vartype actions: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyAction
|
4675
5243
|
:ivar filters: An object that defines the filter set.
|
4676
|
-
:vartype filters: ~azure.mgmt.storage.
|
5244
|
+
:vartype filters: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyFilter
|
4677
5245
|
"""
|
4678
5246
|
|
4679
5247
|
_validation = {
|
@@ -4694,9 +5262,9 @@ class ManagementPolicyDefinition(_serialization.Model):
|
|
4694
5262
|
) -> None:
|
4695
5263
|
"""
|
4696
5264
|
:keyword actions: An object that defines the action set. Required.
|
4697
|
-
:paramtype actions: ~azure.mgmt.storage.
|
5265
|
+
:paramtype actions: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyAction
|
4698
5266
|
:keyword filters: An object that defines the filter set.
|
4699
|
-
:paramtype filters: ~azure.mgmt.storage.
|
5267
|
+
:paramtype filters: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyFilter
|
4700
5268
|
"""
|
4701
5269
|
super().__init__(**kwargs)
|
4702
5270
|
self.actions = actions
|
@@ -4716,7 +5284,7 @@ class ManagementPolicyFilter(_serialization.Model):
|
|
4716
5284
|
:vartype blob_types: list[str]
|
4717
5285
|
:ivar blob_index_match: An array of blob index tag based filters, there can be at most 10 tag
|
4718
5286
|
filters.
|
4719
|
-
:vartype blob_index_match: list[~azure.mgmt.storage.
|
5287
|
+
:vartype blob_index_match: list[~azure.mgmt.storage.v2024_01_01.models.TagFilter]
|
4720
5288
|
"""
|
4721
5289
|
|
4722
5290
|
_validation = {
|
@@ -4745,7 +5313,7 @@ class ManagementPolicyFilter(_serialization.Model):
|
|
4745
5313
|
:paramtype blob_types: list[str]
|
4746
5314
|
:keyword blob_index_match: An array of blob index tag based filters, there can be at most 10
|
4747
5315
|
tag filters.
|
4748
|
-
:paramtype blob_index_match: list[~azure.mgmt.storage.
|
5316
|
+
:paramtype blob_index_match: list[~azure.mgmt.storage.v2024_01_01.models.TagFilter]
|
4749
5317
|
"""
|
4750
5318
|
super().__init__(**kwargs)
|
4751
5319
|
self.prefix_match = prefix_match
|
@@ -4764,9 +5332,9 @@ class ManagementPolicyRule(_serialization.Model):
|
|
4764
5332
|
case-sensitive. It must be unique within a policy. Required.
|
4765
5333
|
:vartype name: str
|
4766
5334
|
:ivar type: The valid value is Lifecycle. Required. "Lifecycle"
|
4767
|
-
:vartype type: str or ~azure.mgmt.storage.
|
5335
|
+
:vartype type: str or ~azure.mgmt.storage.v2024_01_01.models.RuleType
|
4768
5336
|
:ivar definition: An object that defines the Lifecycle rule. Required.
|
4769
|
-
:vartype definition: ~azure.mgmt.storage.
|
5337
|
+
:vartype definition: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyDefinition
|
4770
5338
|
"""
|
4771
5339
|
|
4772
5340
|
_validation = {
|
@@ -4798,9 +5366,9 @@ class ManagementPolicyRule(_serialization.Model):
|
|
4798
5366
|
is case-sensitive. It must be unique within a policy. Required.
|
4799
5367
|
:paramtype name: str
|
4800
5368
|
:keyword type: The valid value is Lifecycle. Required. "Lifecycle"
|
4801
|
-
:paramtype type: str or ~azure.mgmt.storage.
|
5369
|
+
:paramtype type: str or ~azure.mgmt.storage.v2024_01_01.models.RuleType
|
4802
5370
|
:keyword definition: An object that defines the Lifecycle rule. Required.
|
4803
|
-
:paramtype definition: ~azure.mgmt.storage.
|
5371
|
+
:paramtype definition: ~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyDefinition
|
4804
5372
|
"""
|
4805
5373
|
super().__init__(**kwargs)
|
4806
5374
|
self.enabled = enabled
|
@@ -4818,7 +5386,7 @@ class ManagementPolicySchema(_serialization.Model):
|
|
4818
5386
|
:ivar rules: The Storage Account ManagementPolicies Rules. See more details in:
|
4819
5387
|
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
4820
5388
|
Required.
|
4821
|
-
:vartype rules: list[~azure.mgmt.storage.
|
5389
|
+
:vartype rules: list[~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyRule]
|
4822
5390
|
"""
|
4823
5391
|
|
4824
5392
|
_validation = {
|
@@ -4834,7 +5402,7 @@ class ManagementPolicySchema(_serialization.Model):
|
|
4834
5402
|
:keyword rules: The Storage Account ManagementPolicies Rules. See more details in:
|
4835
5403
|
https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
4836
5404
|
Required.
|
4837
|
-
:paramtype rules: list[~azure.mgmt.storage.
|
5405
|
+
:paramtype rules: list[~azure.mgmt.storage.v2024_01_01.models.ManagementPolicyRule]
|
4838
5406
|
"""
|
4839
5407
|
super().__init__(**kwargs)
|
4840
5408
|
self.rules = rules
|
@@ -4844,16 +5412,16 @@ class ManagementPolicySnapShot(_serialization.Model):
|
|
4844
5412
|
"""Management policy action for snapshot.
|
4845
5413
|
|
4846
5414
|
:ivar tier_to_cool: The function to tier blob snapshot to cool storage.
|
4847
|
-
:vartype tier_to_cool: ~azure.mgmt.storage.
|
5415
|
+
:vartype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4848
5416
|
:ivar tier_to_archive: The function to tier blob snapshot to archive storage.
|
4849
|
-
:vartype tier_to_archive: ~azure.mgmt.storage.
|
5417
|
+
:vartype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4850
5418
|
:ivar tier_to_cold: The function to tier blobs to cold storage.
|
4851
|
-
:vartype tier_to_cold: ~azure.mgmt.storage.
|
5419
|
+
:vartype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4852
5420
|
:ivar tier_to_hot: The function to tier blobs to hot storage. This action can only be used with
|
4853
5421
|
Premium Block Blob Storage Accounts.
|
4854
|
-
:vartype tier_to_hot: ~azure.mgmt.storage.
|
5422
|
+
:vartype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4855
5423
|
:ivar delete: The function to delete the blob snapshot.
|
4856
|
-
:vartype delete: ~azure.mgmt.storage.
|
5424
|
+
:vartype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4857
5425
|
"""
|
4858
5426
|
|
4859
5427
|
_attribute_map = {
|
@@ -4876,16 +5444,16 @@ class ManagementPolicySnapShot(_serialization.Model):
|
|
4876
5444
|
) -> None:
|
4877
5445
|
"""
|
4878
5446
|
:keyword tier_to_cool: The function to tier blob snapshot to cool storage.
|
4879
|
-
:paramtype tier_to_cool: ~azure.mgmt.storage.
|
5447
|
+
:paramtype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4880
5448
|
:keyword tier_to_archive: The function to tier blob snapshot to archive storage.
|
4881
|
-
:paramtype tier_to_archive: ~azure.mgmt.storage.
|
5449
|
+
:paramtype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4882
5450
|
:keyword tier_to_cold: The function to tier blobs to cold storage.
|
4883
|
-
:paramtype tier_to_cold: ~azure.mgmt.storage.
|
5451
|
+
:paramtype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4884
5452
|
:keyword tier_to_hot: The function to tier blobs to hot storage. This action can only be used
|
4885
5453
|
with Premium Block Blob Storage Accounts.
|
4886
|
-
:paramtype tier_to_hot: ~azure.mgmt.storage.
|
5454
|
+
:paramtype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4887
5455
|
:keyword delete: The function to delete the blob snapshot.
|
4888
|
-
:paramtype delete: ~azure.mgmt.storage.
|
5456
|
+
:paramtype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4889
5457
|
"""
|
4890
5458
|
super().__init__(**kwargs)
|
4891
5459
|
self.tier_to_cool = tier_to_cool
|
@@ -4899,16 +5467,16 @@ class ManagementPolicyVersion(_serialization.Model):
|
|
4899
5467
|
"""Management policy action for blob version.
|
4900
5468
|
|
4901
5469
|
:ivar tier_to_cool: The function to tier blob version to cool storage.
|
4902
|
-
:vartype tier_to_cool: ~azure.mgmt.storage.
|
5470
|
+
:vartype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4903
5471
|
:ivar tier_to_archive: The function to tier blob version to archive storage.
|
4904
|
-
:vartype tier_to_archive: ~azure.mgmt.storage.
|
5472
|
+
:vartype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4905
5473
|
:ivar tier_to_cold: The function to tier blobs to cold storage.
|
4906
|
-
:vartype tier_to_cold: ~azure.mgmt.storage.
|
5474
|
+
:vartype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4907
5475
|
:ivar tier_to_hot: The function to tier blobs to hot storage. This action can only be used with
|
4908
5476
|
Premium Block Blob Storage Accounts.
|
4909
|
-
:vartype tier_to_hot: ~azure.mgmt.storage.
|
5477
|
+
:vartype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4910
5478
|
:ivar delete: The function to delete the blob version.
|
4911
|
-
:vartype delete: ~azure.mgmt.storage.
|
5479
|
+
:vartype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4912
5480
|
"""
|
4913
5481
|
|
4914
5482
|
_attribute_map = {
|
@@ -4931,16 +5499,16 @@ class ManagementPolicyVersion(_serialization.Model):
|
|
4931
5499
|
) -> None:
|
4932
5500
|
"""
|
4933
5501
|
:keyword tier_to_cool: The function to tier blob version to cool storage.
|
4934
|
-
:paramtype tier_to_cool: ~azure.mgmt.storage.
|
5502
|
+
:paramtype tier_to_cool: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4935
5503
|
:keyword tier_to_archive: The function to tier blob version to archive storage.
|
4936
|
-
:paramtype tier_to_archive: ~azure.mgmt.storage.
|
5504
|
+
:paramtype tier_to_archive: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4937
5505
|
:keyword tier_to_cold: The function to tier blobs to cold storage.
|
4938
|
-
:paramtype tier_to_cold: ~azure.mgmt.storage.
|
5506
|
+
:paramtype tier_to_cold: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4939
5507
|
:keyword tier_to_hot: The function to tier blobs to hot storage. This action can only be used
|
4940
5508
|
with Premium Block Blob Storage Accounts.
|
4941
|
-
:paramtype tier_to_hot: ~azure.mgmt.storage.
|
5509
|
+
:paramtype tier_to_hot: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4942
5510
|
:keyword delete: The function to delete the blob version.
|
4943
|
-
:paramtype delete: ~azure.mgmt.storage.
|
5511
|
+
:paramtype delete: ~azure.mgmt.storage.v2024_01_01.models.DateAfterCreation
|
4944
5512
|
"""
|
4945
5513
|
super().__init__(**kwargs)
|
4946
5514
|
self.tier_to_cool = tier_to_cool
|
@@ -4962,7 +5530,7 @@ class MetricSpecification(_serialization.Model):
|
|
4962
5530
|
:ivar unit: Unit could be Bytes or Count.
|
4963
5531
|
:vartype unit: str
|
4964
5532
|
:ivar dimensions: Dimensions of blobs, including blob type and access tier.
|
4965
|
-
:vartype dimensions: list[~azure.mgmt.storage.
|
5533
|
+
:vartype dimensions: list[~azure.mgmt.storage.v2024_01_01.models.Dimension]
|
4966
5534
|
:ivar aggregation_type: Aggregation type could be Average.
|
4967
5535
|
:vartype aggregation_type: str
|
4968
5536
|
:ivar fill_gap_with_zero: The property to decide fill gap with zero or not.
|
@@ -5009,7 +5577,7 @@ class MetricSpecification(_serialization.Model):
|
|
5009
5577
|
:keyword unit: Unit could be Bytes or Count.
|
5010
5578
|
:paramtype unit: str
|
5011
5579
|
:keyword dimensions: Dimensions of blobs, including blob type and access tier.
|
5012
|
-
:paramtype dimensions: list[~azure.mgmt.storage.
|
5580
|
+
:paramtype dimensions: list[~azure.mgmt.storage.v2024_01_01.models.Dimension]
|
5013
5581
|
:keyword aggregation_type: Aggregation type could be Average.
|
5014
5582
|
:paramtype aggregation_type: str
|
5015
5583
|
:keyword fill_gap_with_zero: The property to decide fill gap with zero or not.
|
@@ -5060,16 +5628,16 @@ class NetworkRuleSet(_serialization.Model):
|
|
5060
5628
|
values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"),
|
5061
5629
|
or None to bypass none of those traffics. Known values are: "None", "Logging", "Metrics", and
|
5062
5630
|
"AzureServices".
|
5063
|
-
:vartype bypass: str or ~azure.mgmt.storage.
|
5631
|
+
:vartype bypass: str or ~azure.mgmt.storage.v2024_01_01.models.Bypass
|
5064
5632
|
:ivar resource_access_rules: Sets the resource access rules.
|
5065
|
-
:vartype resource_access_rules: list[~azure.mgmt.storage.
|
5633
|
+
:vartype resource_access_rules: list[~azure.mgmt.storage.v2024_01_01.models.ResourceAccessRule]
|
5066
5634
|
:ivar virtual_network_rules: Sets the virtual network rules.
|
5067
|
-
:vartype virtual_network_rules: list[~azure.mgmt.storage.
|
5635
|
+
:vartype virtual_network_rules: list[~azure.mgmt.storage.v2024_01_01.models.VirtualNetworkRule]
|
5068
5636
|
:ivar ip_rules: Sets the IP ACL rules.
|
5069
|
-
:vartype ip_rules: list[~azure.mgmt.storage.
|
5637
|
+
:vartype ip_rules: list[~azure.mgmt.storage.v2024_01_01.models.IPRule]
|
5070
5638
|
:ivar default_action: Specifies the default action of allow or deny when no other rules match.
|
5071
5639
|
Known values are: "Allow" and "Deny".
|
5072
|
-
:vartype default_action: str or ~azure.mgmt.storage.
|
5640
|
+
:vartype default_action: str or ~azure.mgmt.storage.v2024_01_01.models.DefaultAction
|
5073
5641
|
"""
|
5074
5642
|
|
5075
5643
|
_validation = {
|
@@ -5099,18 +5667,18 @@ class NetworkRuleSet(_serialization.Model):
|
|
5099
5667
|
Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging,
|
5100
5668
|
Metrics"), or None to bypass none of those traffics. Known values are: "None", "Logging",
|
5101
5669
|
"Metrics", and "AzureServices".
|
5102
|
-
:paramtype bypass: str or ~azure.mgmt.storage.
|
5670
|
+
:paramtype bypass: str or ~azure.mgmt.storage.v2024_01_01.models.Bypass
|
5103
5671
|
:keyword resource_access_rules: Sets the resource access rules.
|
5104
5672
|
:paramtype resource_access_rules:
|
5105
|
-
list[~azure.mgmt.storage.
|
5673
|
+
list[~azure.mgmt.storage.v2024_01_01.models.ResourceAccessRule]
|
5106
5674
|
:keyword virtual_network_rules: Sets the virtual network rules.
|
5107
5675
|
:paramtype virtual_network_rules:
|
5108
|
-
list[~azure.mgmt.storage.
|
5676
|
+
list[~azure.mgmt.storage.v2024_01_01.models.VirtualNetworkRule]
|
5109
5677
|
:keyword ip_rules: Sets the IP ACL rules.
|
5110
|
-
:paramtype ip_rules: list[~azure.mgmt.storage.
|
5678
|
+
:paramtype ip_rules: list[~azure.mgmt.storage.v2024_01_01.models.IPRule]
|
5111
5679
|
:keyword default_action: Specifies the default action of allow or deny when no other rules
|
5112
5680
|
match. Known values are: "Allow" and "Deny".
|
5113
|
-
:paramtype default_action: str or ~azure.mgmt.storage.
|
5681
|
+
:paramtype default_action: str or ~azure.mgmt.storage.v2024_01_01.models.DefaultAction
|
5114
5682
|
"""
|
5115
5683
|
super().__init__(**kwargs)
|
5116
5684
|
self.bypass = bypass
|
@@ -5174,7 +5742,7 @@ class ResourceAutoGenerated(_serialization.Model):
|
|
5174
5742
|
:vartype type: str
|
5175
5743
|
:ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy
|
5176
5744
|
information.
|
5177
|
-
:vartype system_data: ~azure.mgmt.storage.
|
5745
|
+
:vartype system_data: ~azure.mgmt.storage.v2024_01_01.models.SystemData
|
5178
5746
|
"""
|
5179
5747
|
|
5180
5748
|
_validation = {
|
@@ -5216,7 +5784,7 @@ class ProxyResourceAutoGenerated(ResourceAutoGenerated):
|
|
5216
5784
|
:vartype type: str
|
5217
5785
|
:ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy
|
5218
5786
|
information.
|
5219
|
-
:vartype system_data: ~azure.mgmt.storage.
|
5787
|
+
:vartype system_data: ~azure.mgmt.storage.v2024_01_01.models.SystemData
|
5220
5788
|
"""
|
5221
5789
|
|
5222
5790
|
|
@@ -5235,22 +5803,22 @@ class NetworkSecurityPerimeterConfiguration(ProxyResourceAutoGenerated):
|
|
5235
5803
|
:vartype type: str
|
5236
5804
|
:ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy
|
5237
5805
|
information.
|
5238
|
-
:vartype system_data: ~azure.mgmt.storage.
|
5806
|
+
:vartype system_data: ~azure.mgmt.storage.v2024_01_01.models.SystemData
|
5239
5807
|
:ivar provisioning_state: Provisioning state of Network Security Perimeter configuration
|
5240
5808
|
propagation. Known values are: "Accepted", "Succeeded", "Failed", "Deleting", and "Canceled".
|
5241
5809
|
:vartype provisioning_state: str or
|
5242
|
-
~azure.mgmt.storage.
|
5810
|
+
~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeterConfigurationProvisioningState
|
5243
5811
|
:ivar provisioning_issues: List of Provisioning Issues if any.
|
5244
|
-
:vartype provisioning_issues: list[~azure.mgmt.storage.
|
5812
|
+
:vartype provisioning_issues: list[~azure.mgmt.storage.v2024_01_01.models.ProvisioningIssue]
|
5245
5813
|
:ivar network_security_perimeter: NetworkSecurityPerimeter related information.
|
5246
5814
|
:vartype network_security_perimeter:
|
5247
|
-
~azure.mgmt.storage.
|
5815
|
+
~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeter
|
5248
5816
|
:ivar resource_association: Information about resource association.
|
5249
5817
|
:vartype resource_association:
|
5250
|
-
~azure.mgmt.storage.
|
5818
|
+
~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
|
5251
5819
|
:ivar profile: Network Security Perimeter profile.
|
5252
5820
|
:vartype profile:
|
5253
|
-
~azure.mgmt.storage.
|
5821
|
+
~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeterConfigurationPropertiesProfile
|
5254
5822
|
"""
|
5255
5823
|
|
5256
5824
|
_validation = {
|
@@ -5300,7 +5868,7 @@ class NetworkSecurityPerimeterConfigurationList(_serialization.Model): # pylint
|
|
5300
5868
|
|
5301
5869
|
:ivar value: A collection of Network Security Perimeter configurations.
|
5302
5870
|
:vartype value:
|
5303
|
-
list[~azure.mgmt.storage.
|
5871
|
+
list[~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeterConfiguration]
|
5304
5872
|
:ivar next_link: The URI that can be used to request the next set of paged results.
|
5305
5873
|
:vartype next_link: str
|
5306
5874
|
"""
|
@@ -5332,7 +5900,7 @@ class NetworkSecurityPerimeterConfigurationPropertiesProfile(_serialization.Mode
|
|
5332
5900
|
:ivar access_rules_version: Current access rules version.
|
5333
5901
|
:vartype access_rules_version: float
|
5334
5902
|
:ivar access_rules: List of Access Rules.
|
5335
|
-
:vartype access_rules: list[~azure.mgmt.storage.
|
5903
|
+
:vartype access_rules: list[~azure.mgmt.storage.v2024_01_01.models.NspAccessRule]
|
5336
5904
|
:ivar diagnostic_settings_version: Diagnostic settings version.
|
5337
5905
|
:vartype diagnostic_settings_version: float
|
5338
5906
|
:ivar enabled_log_categories: Enabled logging categories.
|
@@ -5363,7 +5931,7 @@ class NetworkSecurityPerimeterConfigurationPropertiesProfile(_serialization.Mode
|
|
5363
5931
|
:keyword access_rules_version: Current access rules version.
|
5364
5932
|
:paramtype access_rules_version: float
|
5365
5933
|
:keyword access_rules: List of Access Rules.
|
5366
|
-
:paramtype access_rules: list[~azure.mgmt.storage.
|
5934
|
+
:paramtype access_rules: list[~azure.mgmt.storage.v2024_01_01.models.NspAccessRule]
|
5367
5935
|
:keyword diagnostic_settings_version: Diagnostic settings version.
|
5368
5936
|
:paramtype diagnostic_settings_version: float
|
5369
5937
|
:keyword enabled_log_categories: Enabled logging categories.
|
@@ -5387,7 +5955,7 @@ class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(
|
|
5387
5955
|
:ivar access_mode: Access Mode of the resource association. Known values are: "Enforced",
|
5388
5956
|
"Learning", and "Audit".
|
5389
5957
|
:vartype access_mode: str or
|
5390
|
-
~azure.mgmt.storage.
|
5958
|
+
~azure.mgmt.storage.v2024_01_01.models.ResourceAssociationAccessMode
|
5391
5959
|
"""
|
5392
5960
|
|
5393
5961
|
_attribute_map = {
|
@@ -5408,7 +5976,7 @@ class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation(
|
|
5408
5976
|
:keyword access_mode: Access Mode of the resource association. Known values are: "Enforced",
|
5409
5977
|
"Learning", and "Audit".
|
5410
5978
|
:paramtype access_mode: str or
|
5411
|
-
~azure.mgmt.storage.
|
5979
|
+
~azure.mgmt.storage.v2024_01_01.models.ResourceAssociationAccessMode
|
5412
5980
|
"""
|
5413
5981
|
super().__init__(**kwargs)
|
5414
5982
|
self.name = name
|
@@ -5423,7 +5991,7 @@ class NspAccessRule(_serialization.Model):
|
|
5423
5991
|
:ivar name: Name of the resource.
|
5424
5992
|
:vartype name: str
|
5425
5993
|
:ivar properties: Properties of Access Rule.
|
5426
|
-
:vartype properties: ~azure.mgmt.storage.
|
5994
|
+
:vartype properties: ~azure.mgmt.storage.v2024_01_01.models.NspAccessRuleProperties
|
5427
5995
|
"""
|
5428
5996
|
|
5429
5997
|
_validation = {
|
@@ -5451,15 +6019,15 @@ class NspAccessRuleProperties(_serialization.Model):
|
|
5451
6019
|
Variables are only populated by the server, and will be ignored when sending a request.
|
5452
6020
|
|
5453
6021
|
:ivar direction: Direction of Access Rule. Known values are: "Inbound" and "Outbound".
|
5454
|
-
:vartype direction: str or ~azure.mgmt.storage.
|
6022
|
+
:vartype direction: str or ~azure.mgmt.storage.v2024_01_01.models.NspAccessRuleDirection
|
5455
6023
|
:ivar address_prefixes: Address prefixes in the CIDR format for inbound rules.
|
5456
6024
|
:vartype address_prefixes: list[str]
|
5457
6025
|
:ivar subscriptions: Subscriptions for inbound rules.
|
5458
6026
|
:vartype subscriptions:
|
5459
|
-
list[~azure.mgmt.storage.
|
6027
|
+
list[~azure.mgmt.storage.v2024_01_01.models.NspAccessRulePropertiesSubscriptionsItem]
|
5460
6028
|
:ivar network_security_perimeters: NetworkSecurityPerimeters for inbound rules.
|
5461
6029
|
:vartype network_security_perimeters:
|
5462
|
-
list[~azure.mgmt.storage.
|
6030
|
+
list[~azure.mgmt.storage.v2024_01_01.models.NetworkSecurityPerimeter]
|
5463
6031
|
:ivar fully_qualified_domain_names: FQDN for outbound rules.
|
5464
6032
|
:vartype fully_qualified_domain_names: list[str]
|
5465
6033
|
"""
|
@@ -5487,12 +6055,12 @@ class NspAccessRuleProperties(_serialization.Model):
|
|
5487
6055
|
) -> None:
|
5488
6056
|
"""
|
5489
6057
|
:keyword direction: Direction of Access Rule. Known values are: "Inbound" and "Outbound".
|
5490
|
-
:paramtype direction: str or ~azure.mgmt.storage.
|
6058
|
+
:paramtype direction: str or ~azure.mgmt.storage.v2024_01_01.models.NspAccessRuleDirection
|
5491
6059
|
:keyword address_prefixes: Address prefixes in the CIDR format for inbound rules.
|
5492
6060
|
:paramtype address_prefixes: list[str]
|
5493
6061
|
:keyword subscriptions: Subscriptions for inbound rules.
|
5494
6062
|
:paramtype subscriptions:
|
5495
|
-
list[~azure.mgmt.storage.
|
6063
|
+
list[~azure.mgmt.storage.v2024_01_01.models.NspAccessRulePropertiesSubscriptionsItem]
|
5496
6064
|
"""
|
5497
6065
|
super().__init__(**kwargs)
|
5498
6066
|
self.direction = direction
|
@@ -5526,7 +6094,7 @@ class ObjectReplicationPolicies(_serialization.Model):
|
|
5526
6094
|
"""List storage account object replication policies.
|
5527
6095
|
|
5528
6096
|
:ivar value: The replication policy between two storage accounts.
|
5529
|
-
:vartype value: list[~azure.mgmt.storage.
|
6097
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicy]
|
5530
6098
|
"""
|
5531
6099
|
|
5532
6100
|
_attribute_map = {
|
@@ -5536,7 +6104,7 @@ class ObjectReplicationPolicies(_serialization.Model):
|
|
5536
6104
|
def __init__(self, *, value: Optional[List["_models.ObjectReplicationPolicy"]] = None, **kwargs: Any) -> None:
|
5537
6105
|
"""
|
5538
6106
|
:keyword value: The replication policy between two storage accounts.
|
5539
|
-
:paramtype value: list[~azure.mgmt.storage.
|
6107
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicy]
|
5540
6108
|
"""
|
5541
6109
|
super().__init__(**kwargs)
|
5542
6110
|
self.value = value
|
@@ -5567,7 +6135,10 @@ class ObjectReplicationPolicy(Resource):
|
|
5567
6135
|
allowCrossTenantReplication set to false.
|
5568
6136
|
:vartype destination_account: str
|
5569
6137
|
:ivar rules: The storage account object replication rules.
|
5570
|
-
:vartype rules: list[~azure.mgmt.storage.
|
6138
|
+
:vartype rules: list[~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyRule]
|
6139
|
+
:ivar metrics: Optional. The object replication policy metrics feature options.
|
6140
|
+
:vartype metrics:
|
6141
|
+
~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyPropertiesMetrics
|
5571
6142
|
"""
|
5572
6143
|
|
5573
6144
|
_validation = {
|
@@ -5587,6 +6158,7 @@ class ObjectReplicationPolicy(Resource):
|
|
5587
6158
|
"source_account": {"key": "properties.sourceAccount", "type": "str"},
|
5588
6159
|
"destination_account": {"key": "properties.destinationAccount", "type": "str"},
|
5589
6160
|
"rules": {"key": "properties.rules", "type": "[ObjectReplicationPolicyRule]"},
|
6161
|
+
"metrics": {"key": "properties.metrics", "type": "ObjectReplicationPolicyPropertiesMetrics"},
|
5590
6162
|
}
|
5591
6163
|
|
5592
6164
|
def __init__(
|
@@ -5595,6 +6167,7 @@ class ObjectReplicationPolicy(Resource):
|
|
5595
6167
|
source_account: Optional[str] = None,
|
5596
6168
|
destination_account: Optional[str] = None,
|
5597
6169
|
rules: Optional[List["_models.ObjectReplicationPolicyRule"]] = None,
|
6170
|
+
metrics: Optional["_models.ObjectReplicationPolicyPropertiesMetrics"] = None,
|
5598
6171
|
**kwargs: Any
|
5599
6172
|
) -> None:
|
5600
6173
|
"""
|
@@ -5605,7 +6178,10 @@ class ObjectReplicationPolicy(Resource):
|
|
5605
6178
|
if allowCrossTenantReplication set to false.
|
5606
6179
|
:paramtype destination_account: str
|
5607
6180
|
:keyword rules: The storage account object replication rules.
|
5608
|
-
:paramtype rules: list[~azure.mgmt.storage.
|
6181
|
+
:paramtype rules: list[~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyRule]
|
6182
|
+
:keyword metrics: Optional. The object replication policy metrics feature options.
|
6183
|
+
:paramtype metrics:
|
6184
|
+
~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyPropertiesMetrics
|
5609
6185
|
"""
|
5610
6186
|
super().__init__(**kwargs)
|
5611
6187
|
self.policy_id = None
|
@@ -5613,6 +6189,7 @@ class ObjectReplicationPolicy(Resource):
|
|
5613
6189
|
self.source_account = source_account
|
5614
6190
|
self.destination_account = destination_account
|
5615
6191
|
self.rules = rules
|
6192
|
+
self.metrics = metrics
|
5616
6193
|
|
5617
6194
|
|
5618
6195
|
class ObjectReplicationPolicyFilter(_serialization.Model):
|
@@ -5649,6 +6226,27 @@ class ObjectReplicationPolicyFilter(_serialization.Model):
|
|
5649
6226
|
self.min_creation_time = min_creation_time
|
5650
6227
|
|
5651
6228
|
|
6229
|
+
class ObjectReplicationPolicyPropertiesMetrics(_serialization.Model):
|
6230
|
+
"""Optional. The object replication policy metrics feature options.
|
6231
|
+
|
6232
|
+
:ivar enabled: Indicates whether object replication metrics feature is enabled for the policy.
|
6233
|
+
:vartype enabled: bool
|
6234
|
+
"""
|
6235
|
+
|
6236
|
+
_attribute_map = {
|
6237
|
+
"enabled": {"key": "enabled", "type": "bool"},
|
6238
|
+
}
|
6239
|
+
|
6240
|
+
def __init__(self, *, enabled: Optional[bool] = None, **kwargs: Any) -> None:
|
6241
|
+
"""
|
6242
|
+
:keyword enabled: Indicates whether object replication metrics feature is enabled for the
|
6243
|
+
policy.
|
6244
|
+
:paramtype enabled: bool
|
6245
|
+
"""
|
6246
|
+
super().__init__(**kwargs)
|
6247
|
+
self.enabled = enabled
|
6248
|
+
|
6249
|
+
|
5652
6250
|
class ObjectReplicationPolicyRule(_serialization.Model):
|
5653
6251
|
"""The replication policy rule between two containers.
|
5654
6252
|
|
@@ -5662,7 +6260,7 @@ class ObjectReplicationPolicyRule(_serialization.Model):
|
|
5662
6260
|
:ivar destination_container: Required. Destination container name. Required.
|
5663
6261
|
:vartype destination_container: str
|
5664
6262
|
:ivar filters: Optional. An object that defines the filter set.
|
5665
|
-
:vartype filters: ~azure.mgmt.storage.
|
6263
|
+
:vartype filters: ~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyFilter
|
5666
6264
|
"""
|
5667
6265
|
|
5668
6266
|
_validation = {
|
@@ -5695,7 +6293,7 @@ class ObjectReplicationPolicyRule(_serialization.Model):
|
|
5695
6293
|
:keyword destination_container: Required. Destination container name. Required.
|
5696
6294
|
:paramtype destination_container: str
|
5697
6295
|
:keyword filters: Optional. An object that defines the filter set.
|
5698
|
-
:paramtype filters: ~azure.mgmt.storage.
|
6296
|
+
:paramtype filters: ~azure.mgmt.storage.v2024_01_01.models.ObjectReplicationPolicyFilter
|
5699
6297
|
"""
|
5700
6298
|
super().__init__(**kwargs)
|
5701
6299
|
self.rule_id = rule_id
|
@@ -5710,11 +6308,11 @@ class Operation(_serialization.Model):
|
|
5710
6308
|
:ivar name: Operation name: {provider}/{resource}/{operation}.
|
5711
6309
|
:vartype name: str
|
5712
6310
|
:ivar display: Display metadata associated with the operation.
|
5713
|
-
:vartype display: ~azure.mgmt.storage.
|
6311
|
+
:vartype display: ~azure.mgmt.storage.v2024_01_01.models.OperationDisplay
|
5714
6312
|
:ivar origin: The origin of operations.
|
5715
6313
|
:vartype origin: str
|
5716
6314
|
:ivar service_specification: One property of operation, include metric specifications.
|
5717
|
-
:vartype service_specification: ~azure.mgmt.storage.
|
6315
|
+
:vartype service_specification: ~azure.mgmt.storage.v2024_01_01.models.ServiceSpecification
|
5718
6316
|
"""
|
5719
6317
|
|
5720
6318
|
_attribute_map = {
|
@@ -5737,11 +6335,11 @@ class Operation(_serialization.Model):
|
|
5737
6335
|
:keyword name: Operation name: {provider}/{resource}/{operation}.
|
5738
6336
|
:paramtype name: str
|
5739
6337
|
:keyword display: Display metadata associated with the operation.
|
5740
|
-
:paramtype display: ~azure.mgmt.storage.
|
6338
|
+
:paramtype display: ~azure.mgmt.storage.v2024_01_01.models.OperationDisplay
|
5741
6339
|
:keyword origin: The origin of operations.
|
5742
6340
|
:paramtype origin: str
|
5743
6341
|
:keyword service_specification: One property of operation, include metric specifications.
|
5744
|
-
:paramtype service_specification: ~azure.mgmt.storage.
|
6342
|
+
:paramtype service_specification: ~azure.mgmt.storage.v2024_01_01.models.ServiceSpecification
|
5745
6343
|
"""
|
5746
6344
|
super().__init__(**kwargs)
|
5747
6345
|
self.name = name
|
@@ -5801,7 +6399,7 @@ class OperationListResult(_serialization.Model):
|
|
5801
6399
|
link to get the next set of results.
|
5802
6400
|
|
5803
6401
|
:ivar value: List of Storage operations supported by the Storage resource provider.
|
5804
|
-
:vartype value: list[~azure.mgmt.storage.
|
6402
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.Operation]
|
5805
6403
|
"""
|
5806
6404
|
|
5807
6405
|
_attribute_map = {
|
@@ -5811,7 +6409,7 @@ class OperationListResult(_serialization.Model):
|
|
5811
6409
|
def __init__(self, *, value: Optional[List["_models.Operation"]] = None, **kwargs: Any) -> None:
|
5812
6410
|
"""
|
5813
6411
|
:keyword value: List of Storage operations supported by the Storage resource provider.
|
5814
|
-
:paramtype value: list[~azure.mgmt.storage.
|
6412
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.Operation]
|
5815
6413
|
"""
|
5816
6414
|
super().__init__(**kwargs)
|
5817
6415
|
self.value = value
|
@@ -5900,15 +6498,15 @@ class PrivateEndpointConnection(Resource):
|
|
5900
6498
|
"Microsoft.Storage/storageAccounts".
|
5901
6499
|
:vartype type: str
|
5902
6500
|
:ivar private_endpoint: The resource of private end point.
|
5903
|
-
:vartype private_endpoint: ~azure.mgmt.storage.
|
6501
|
+
:vartype private_endpoint: ~azure.mgmt.storage.v2024_01_01.models.PrivateEndpoint
|
5904
6502
|
:ivar private_link_service_connection_state: A collection of information about the state of the
|
5905
6503
|
connection between service consumer and provider.
|
5906
6504
|
:vartype private_link_service_connection_state:
|
5907
|
-
~azure.mgmt.storage.
|
6505
|
+
~azure.mgmt.storage.v2024_01_01.models.PrivateLinkServiceConnectionState
|
5908
6506
|
:ivar provisioning_state: The provisioning state of the private endpoint connection resource.
|
5909
6507
|
Known values are: "Succeeded", "Creating", "Deleting", and "Failed".
|
5910
6508
|
:vartype provisioning_state: str or
|
5911
|
-
~azure.mgmt.storage.
|
6509
|
+
~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointConnectionProvisioningState
|
5912
6510
|
"""
|
5913
6511
|
|
5914
6512
|
_validation = {
|
@@ -5939,11 +6537,11 @@ class PrivateEndpointConnection(Resource):
|
|
5939
6537
|
) -> None:
|
5940
6538
|
"""
|
5941
6539
|
:keyword private_endpoint: The resource of private end point.
|
5942
|
-
:paramtype private_endpoint: ~azure.mgmt.storage.
|
6540
|
+
:paramtype private_endpoint: ~azure.mgmt.storage.v2024_01_01.models.PrivateEndpoint
|
5943
6541
|
:keyword private_link_service_connection_state: A collection of information about the state of
|
5944
6542
|
the connection between service consumer and provider.
|
5945
6543
|
:paramtype private_link_service_connection_state:
|
5946
|
-
~azure.mgmt.storage.
|
6544
|
+
~azure.mgmt.storage.v2024_01_01.models.PrivateLinkServiceConnectionState
|
5947
6545
|
"""
|
5948
6546
|
super().__init__(**kwargs)
|
5949
6547
|
self.private_endpoint = private_endpoint
|
@@ -5955,7 +6553,7 @@ class PrivateEndpointConnectionListResult(_serialization.Model):
|
|
5955
6553
|
"""List of private endpoint connection associated with the specified storage account.
|
5956
6554
|
|
5957
6555
|
:ivar value: Array of private endpoint connections.
|
5958
|
-
:vartype value: list[~azure.mgmt.storage.
|
6556
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointConnection]
|
5959
6557
|
"""
|
5960
6558
|
|
5961
6559
|
_attribute_map = {
|
@@ -5965,7 +6563,7 @@ class PrivateEndpointConnectionListResult(_serialization.Model):
|
|
5965
6563
|
def __init__(self, *, value: Optional[List["_models.PrivateEndpointConnection"]] = None, **kwargs: Any) -> None:
|
5966
6564
|
"""
|
5967
6565
|
:keyword value: Array of private endpoint connections.
|
5968
|
-
:paramtype value: list[~azure.mgmt.storage.
|
6566
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointConnection]
|
5969
6567
|
"""
|
5970
6568
|
super().__init__(**kwargs)
|
5971
6569
|
self.value = value
|
@@ -6024,7 +6622,7 @@ class PrivateLinkResourceListResult(_serialization.Model):
|
|
6024
6622
|
"""A list of private link resources.
|
6025
6623
|
|
6026
6624
|
:ivar value: Array of private link resources.
|
6027
|
-
:vartype value: list[~azure.mgmt.storage.
|
6625
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.PrivateLinkResource]
|
6028
6626
|
"""
|
6029
6627
|
|
6030
6628
|
_attribute_map = {
|
@@ -6034,7 +6632,7 @@ class PrivateLinkResourceListResult(_serialization.Model):
|
|
6034
6632
|
def __init__(self, *, value: Optional[List["_models.PrivateLinkResource"]] = None, **kwargs: Any) -> None:
|
6035
6633
|
"""
|
6036
6634
|
:keyword value: Array of private link resources.
|
6037
|
-
:paramtype value: list[~azure.mgmt.storage.
|
6635
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.PrivateLinkResource]
|
6038
6636
|
"""
|
6039
6637
|
super().__init__(**kwargs)
|
6040
6638
|
self.value = value
|
@@ -6047,7 +6645,7 @@ class PrivateLinkServiceConnectionState(_serialization.Model):
|
|
6047
6645
|
:ivar status: Indicates whether the connection has been Approved/Rejected/Removed by the owner
|
6048
6646
|
of the service. Known values are: "Pending", "Approved", and "Rejected".
|
6049
6647
|
:vartype status: str or
|
6050
|
-
~azure.mgmt.storage.
|
6648
|
+
~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointServiceConnectionStatus
|
6051
6649
|
:ivar description: The reason for approval/rejection of the connection.
|
6052
6650
|
:vartype description: str
|
6053
6651
|
:ivar action_required: A message indicating if changes on the service provider require any
|
@@ -6073,7 +6671,7 @@ class PrivateLinkServiceConnectionState(_serialization.Model):
|
|
6073
6671
|
:keyword status: Indicates whether the connection has been Approved/Rejected/Removed by the
|
6074
6672
|
owner of the service. Known values are: "Pending", "Approved", and "Rejected".
|
6075
6673
|
:paramtype status: str or
|
6076
|
-
~azure.mgmt.storage.
|
6674
|
+
~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointServiceConnectionStatus
|
6077
6675
|
:keyword description: The reason for approval/rejection of the connection.
|
6078
6676
|
:paramtype description: str
|
6079
6677
|
:keyword action_required: A message indicating if changes on the service provider require any
|
@@ -6124,7 +6722,7 @@ class ProtocolSettings(_serialization.Model):
|
|
6124
6722
|
"""Protocol settings for file service.
|
6125
6723
|
|
6126
6724
|
:ivar smb: Setting for SMB protocol.
|
6127
|
-
:vartype smb: ~azure.mgmt.storage.
|
6725
|
+
:vartype smb: ~azure.mgmt.storage.v2024_01_01.models.SmbSetting
|
6128
6726
|
"""
|
6129
6727
|
|
6130
6728
|
_attribute_map = {
|
@@ -6134,7 +6732,7 @@ class ProtocolSettings(_serialization.Model):
|
|
6134
6732
|
def __init__(self, *, smb: Optional["_models.SmbSetting"] = None, **kwargs: Any) -> None:
|
6135
6733
|
"""
|
6136
6734
|
:keyword smb: Setting for SMB protocol.
|
6137
|
-
:paramtype smb: ~azure.mgmt.storage.
|
6735
|
+
:paramtype smb: ~azure.mgmt.storage.v2024_01_01.models.SmbSetting
|
6138
6736
|
"""
|
6139
6737
|
super().__init__(**kwargs)
|
6140
6738
|
self.smb = smb
|
@@ -6148,7 +6746,7 @@ class ProvisioningIssue(_serialization.Model):
|
|
6148
6746
|
:ivar name: Name of the issue.
|
6149
6747
|
:vartype name: str
|
6150
6748
|
:ivar properties: Properties of provisioning issue.
|
6151
|
-
:vartype properties: ~azure.mgmt.storage.
|
6749
|
+
:vartype properties: ~azure.mgmt.storage.v2024_01_01.models.ProvisioningIssueProperties
|
6152
6750
|
"""
|
6153
6751
|
|
6154
6752
|
_validation = {
|
@@ -6175,9 +6773,9 @@ class ProvisioningIssueProperties(_serialization.Model):
|
|
6175
6773
|
|
6176
6774
|
:ivar issue_type: Type of issue. Known values are: "Unknown" and
|
6177
6775
|
"ConfigurationPropagationFailure".
|
6178
|
-
:vartype issue_type: str or ~azure.mgmt.storage.
|
6776
|
+
:vartype issue_type: str or ~azure.mgmt.storage.v2024_01_01.models.IssueType
|
6179
6777
|
:ivar severity: Severity of the issue. Known values are: "Warning" and "Error".
|
6180
|
-
:vartype severity: str or ~azure.mgmt.storage.
|
6778
|
+
:vartype severity: str or ~azure.mgmt.storage.v2024_01_01.models.Severity
|
6181
6779
|
:ivar description: Description of the issue.
|
6182
6780
|
:vartype description: str
|
6183
6781
|
"""
|
@@ -6199,9 +6797,9 @@ class ProvisioningIssueProperties(_serialization.Model):
|
|
6199
6797
|
"""
|
6200
6798
|
:keyword issue_type: Type of issue. Known values are: "Unknown" and
|
6201
6799
|
"ConfigurationPropagationFailure".
|
6202
|
-
:paramtype issue_type: str or ~azure.mgmt.storage.
|
6800
|
+
:paramtype issue_type: str or ~azure.mgmt.storage.v2024_01_01.models.IssueType
|
6203
6801
|
:keyword severity: Severity of the issue. Known values are: "Warning" and "Error".
|
6204
|
-
:paramtype severity: str or ~azure.mgmt.storage.
|
6802
|
+
:paramtype severity: str or ~azure.mgmt.storage.v2024_01_01.models.Severity
|
6205
6803
|
:keyword description: Description of the issue.
|
6206
6804
|
:paramtype description: str
|
6207
6805
|
"""
|
@@ -6227,7 +6825,7 @@ class QueueServiceProperties(Resource):
|
|
6227
6825
|
:ivar cors: Specifies CORS rules for the Queue service. You can include up to five CorsRule
|
6228
6826
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
6229
6827
|
rules will be deleted, and CORS will be disabled for the Queue service.
|
6230
|
-
:vartype cors: ~azure.mgmt.storage.
|
6828
|
+
:vartype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
6231
6829
|
"""
|
6232
6830
|
|
6233
6831
|
_validation = {
|
@@ -6248,7 +6846,7 @@ class QueueServiceProperties(Resource):
|
|
6248
6846
|
:keyword cors: Specifies CORS rules for the Queue service. You can include up to five CorsRule
|
6249
6847
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
6250
6848
|
rules will be deleted, and CORS will be disabled for the Queue service.
|
6251
|
-
:paramtype cors: ~azure.mgmt.storage.
|
6849
|
+
:paramtype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
6252
6850
|
"""
|
6253
6851
|
super().__init__(**kwargs)
|
6254
6852
|
self.cors = cors
|
@@ -6341,7 +6939,7 @@ class Restriction(_serialization.Model):
|
|
6341
6939
|
"NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the
|
6342
6940
|
subscription does not belong to that quota. The "NotAvailableForSubscription" is related to
|
6343
6941
|
capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".
|
6344
|
-
:vartype reason_code: str or ~azure.mgmt.storage.
|
6942
|
+
:vartype reason_code: str or ~azure.mgmt.storage.v2024_01_01.models.ReasonCode
|
6345
6943
|
"""
|
6346
6944
|
|
6347
6945
|
_validation = {
|
@@ -6361,7 +6959,7 @@ class Restriction(_serialization.Model):
|
|
6361
6959
|
"NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the
|
6362
6960
|
subscription does not belong to that quota. The "NotAvailableForSubscription" is related to
|
6363
6961
|
capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".
|
6364
|
-
:paramtype reason_code: str or ~azure.mgmt.storage.
|
6962
|
+
:paramtype reason_code: str or ~azure.mgmt.storage.v2024_01_01.models.ReasonCode
|
6365
6963
|
"""
|
6366
6964
|
super().__init__(**kwargs)
|
6367
6965
|
self.type = None
|
@@ -6375,7 +6973,7 @@ class RoutingPreference(_serialization.Model):
|
|
6375
6973
|
|
6376
6974
|
:ivar routing_choice: Routing Choice defines the kind of network routing opted by the user.
|
6377
6975
|
Known values are: "MicrosoftRouting" and "InternetRouting".
|
6378
|
-
:vartype routing_choice: str or ~azure.mgmt.storage.
|
6976
|
+
:vartype routing_choice: str or ~azure.mgmt.storage.v2024_01_01.models.RoutingChoice
|
6379
6977
|
:ivar publish_microsoft_endpoints: A boolean flag which indicates whether microsoft routing
|
6380
6978
|
storage endpoints are to be published.
|
6381
6979
|
:vartype publish_microsoft_endpoints: bool
|
@@ -6401,7 +6999,7 @@ class RoutingPreference(_serialization.Model):
|
|
6401
6999
|
"""
|
6402
7000
|
:keyword routing_choice: Routing Choice defines the kind of network routing opted by the user.
|
6403
7001
|
Known values are: "MicrosoftRouting" and "InternetRouting".
|
6404
|
-
:paramtype routing_choice: str or ~azure.mgmt.storage.
|
7002
|
+
:paramtype routing_choice: str or ~azure.mgmt.storage.v2024_01_01.models.RoutingChoice
|
6405
7003
|
:keyword publish_microsoft_endpoints: A boolean flag which indicates whether microsoft routing
|
6406
7004
|
storage endpoints are to be published.
|
6407
7005
|
:paramtype publish_microsoft_endpoints: bool
|
@@ -6426,7 +7024,7 @@ class SasPolicy(_serialization.Model):
|
|
6426
7024
|
sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and
|
6427
7025
|
the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to
|
6428
7026
|
the sas policy expiration period. Known values are: "Log" and "Block".
|
6429
|
-
:vartype expiration_action: str or ~azure.mgmt.storage.
|
7027
|
+
:vartype expiration_action: str or ~azure.mgmt.storage.v2024_01_01.models.ExpirationAction
|
6430
7028
|
"""
|
6431
7029
|
|
6432
7030
|
_validation = {
|
@@ -6453,7 +7051,7 @@ class SasPolicy(_serialization.Model):
|
|
6453
7051
|
sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and
|
6454
7052
|
the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to
|
6455
7053
|
the sas policy expiration period. Known values are: "Log" and "Block".
|
6456
|
-
:paramtype expiration_action: str or ~azure.mgmt.storage.
|
7054
|
+
:paramtype expiration_action: str or ~azure.mgmt.storage.v2024_01_01.models.ExpirationAction
|
6457
7055
|
"""
|
6458
7056
|
super().__init__(**kwargs)
|
6459
7057
|
self.sas_expiration_period = sas_expiration_period
|
@@ -6469,17 +7067,17 @@ class ServiceSasParameters(_serialization.Model):
|
|
6469
7067
|
:vartype canonicalized_resource: str
|
6470
7068
|
:ivar resource: The signed services accessible with the service SAS. Possible values include:
|
6471
7069
|
Blob (b), Container (c), File (f), Share (s). Known values are: "b", "c", "f", and "s".
|
6472
|
-
:vartype resource: str or ~azure.mgmt.storage.
|
7070
|
+
:vartype resource: str or ~azure.mgmt.storage.v2024_01_01.models.SignedResource
|
6473
7071
|
:ivar permissions: The signed permissions for the service SAS. Possible values include: Read
|
6474
7072
|
(r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Known
|
6475
7073
|
values are: "r", "d", "w", "l", "a", "c", "u", and "p".
|
6476
|
-
:vartype permissions: str or ~azure.mgmt.storage.
|
7074
|
+
:vartype permissions: str or ~azure.mgmt.storage.v2024_01_01.models.Permissions
|
6477
7075
|
:ivar ip_address_or_range: An IP address or a range of IP addresses from which to accept
|
6478
7076
|
requests.
|
6479
7077
|
:vartype ip_address_or_range: str
|
6480
7078
|
:ivar protocols: The protocol permitted for a request made with the account SAS. Known values
|
6481
7079
|
are: "https,http" and "https".
|
6482
|
-
:vartype protocols: str or ~azure.mgmt.storage.
|
7080
|
+
:vartype protocols: str or ~azure.mgmt.storage.v2024_01_01.models.HttpProtocol
|
6483
7081
|
:ivar shared_access_start_time: The time at which the SAS becomes valid.
|
6484
7082
|
:vartype shared_access_start_time: ~datetime.datetime
|
6485
7083
|
:ivar shared_access_expiry_time: The time at which the shared access signature becomes invalid.
|
@@ -6564,17 +7162,17 @@ class ServiceSasParameters(_serialization.Model):
|
|
6564
7162
|
:keyword resource: The signed services accessible with the service SAS. Possible values
|
6565
7163
|
include: Blob (b), Container (c), File (f), Share (s). Known values are: "b", "c", "f", and
|
6566
7164
|
"s".
|
6567
|
-
:paramtype resource: str or ~azure.mgmt.storage.
|
7165
|
+
:paramtype resource: str or ~azure.mgmt.storage.v2024_01_01.models.SignedResource
|
6568
7166
|
:keyword permissions: The signed permissions for the service SAS. Possible values include: Read
|
6569
7167
|
(r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Known
|
6570
7168
|
values are: "r", "d", "w", "l", "a", "c", "u", and "p".
|
6571
|
-
:paramtype permissions: str or ~azure.mgmt.storage.
|
7169
|
+
:paramtype permissions: str or ~azure.mgmt.storage.v2024_01_01.models.Permissions
|
6572
7170
|
:keyword ip_address_or_range: An IP address or a range of IP addresses from which to accept
|
6573
7171
|
requests.
|
6574
7172
|
:paramtype ip_address_or_range: str
|
6575
7173
|
:keyword protocols: The protocol permitted for a request made with the account SAS. Known
|
6576
7174
|
values are: "https,http" and "https".
|
6577
|
-
:paramtype protocols: str or ~azure.mgmt.storage.
|
7175
|
+
:paramtype protocols: str or ~azure.mgmt.storage.v2024_01_01.models.HttpProtocol
|
6578
7176
|
:keyword shared_access_start_time: The time at which the SAS becomes valid.
|
6579
7177
|
:paramtype shared_access_start_time: ~datetime.datetime
|
6580
7178
|
:keyword shared_access_expiry_time: The time at which the shared access signature becomes
|
@@ -6630,7 +7228,7 @@ class ServiceSpecification(_serialization.Model):
|
|
6630
7228
|
|
6631
7229
|
:ivar metric_specifications: Metric specifications of operation.
|
6632
7230
|
:vartype metric_specifications:
|
6633
|
-
list[~azure.mgmt.storage.
|
7231
|
+
list[~azure.mgmt.storage.v2024_01_01.models.MetricSpecification]
|
6634
7232
|
"""
|
6635
7233
|
|
6636
7234
|
_attribute_map = {
|
@@ -6643,7 +7241,7 @@ class ServiceSpecification(_serialization.Model):
|
|
6643
7241
|
"""
|
6644
7242
|
:keyword metric_specifications: Metric specifications of operation.
|
6645
7243
|
:paramtype metric_specifications:
|
6646
|
-
list[~azure.mgmt.storage.
|
7244
|
+
list[~azure.mgmt.storage.v2024_01_01.models.MetricSpecification]
|
6647
7245
|
"""
|
6648
7246
|
super().__init__(**kwargs)
|
6649
7247
|
self.metric_specifications = metric_specifications
|
@@ -6655,7 +7253,7 @@ class SignedIdentifier(_serialization.Model):
|
|
6655
7253
|
:ivar id: An unique identifier of the stored access policy.
|
6656
7254
|
:vartype id: str
|
6657
7255
|
:ivar access_policy: Access policy.
|
6658
|
-
:vartype access_policy: ~azure.mgmt.storage.
|
7256
|
+
:vartype access_policy: ~azure.mgmt.storage.v2024_01_01.models.AccessPolicy
|
6659
7257
|
"""
|
6660
7258
|
|
6661
7259
|
_attribute_map = {
|
@@ -6674,7 +7272,7 @@ class SignedIdentifier(_serialization.Model):
|
|
6674
7272
|
:keyword id: An unique identifier of the stored access policy.
|
6675
7273
|
:paramtype id: str
|
6676
7274
|
:keyword access_policy: Access policy.
|
6677
|
-
:paramtype access_policy: ~azure.mgmt.storage.
|
7275
|
+
:paramtype access_policy: ~azure.mgmt.storage.v2024_01_01.models.AccessPolicy
|
6678
7276
|
"""
|
6679
7277
|
super().__init__(**kwargs)
|
6680
7278
|
self.id = id
|
@@ -6691,11 +7289,12 @@ class Sku(_serialization.Model):
|
|
6691
7289
|
:ivar name: The SKU name. Required for account creation; optional for update. Note that in
|
6692
7290
|
older versions, SKU name was called accountType. Required. Known values are: "Standard_LRS",
|
6693
7291
|
"Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
6694
|
-
"Standard_GZRS",
|
6695
|
-
|
7292
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
7293
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
7294
|
+
:vartype name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
6696
7295
|
:ivar tier: The SKU tier. This is based on the SKU name. Known values are: "Standard" and
|
6697
7296
|
"Premium".
|
6698
|
-
:vartype tier: str or ~azure.mgmt.storage.
|
7297
|
+
:vartype tier: str or ~azure.mgmt.storage.v2024_01_01.models.SkuTier
|
6699
7298
|
"""
|
6700
7299
|
|
6701
7300
|
_validation = {
|
@@ -6713,8 +7312,9 @@ class Sku(_serialization.Model):
|
|
6713
7312
|
:keyword name: The SKU name. Required for account creation; optional for update. Note that in
|
6714
7313
|
older versions, SKU name was called accountType. Required. Known values are: "Standard_LRS",
|
6715
7314
|
"Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
6716
|
-
"Standard_GZRS",
|
6717
|
-
|
7315
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
7316
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
7317
|
+
:paramtype name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
6718
7318
|
"""
|
6719
7319
|
super().__init__(**kwargs)
|
6720
7320
|
self.name = name
|
@@ -6761,25 +7361,26 @@ class SkuInformation(_serialization.Model):
|
|
6761
7361
|
:ivar name: The SKU name. Required for account creation; optional for update. Note that in
|
6762
7362
|
older versions, SKU name was called accountType. Required. Known values are: "Standard_LRS",
|
6763
7363
|
"Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
6764
|
-
"Standard_GZRS",
|
6765
|
-
|
7364
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
7365
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
7366
|
+
:vartype name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
6766
7367
|
:ivar tier: The SKU tier. This is based on the SKU name. Known values are: "Standard" and
|
6767
7368
|
"Premium".
|
6768
|
-
:vartype tier: str or ~azure.mgmt.storage.
|
7369
|
+
:vartype tier: str or ~azure.mgmt.storage.v2024_01_01.models.SkuTier
|
6769
7370
|
:ivar resource_type: The type of the resource, usually it is 'storageAccounts'.
|
6770
7371
|
:vartype resource_type: str
|
6771
7372
|
:ivar kind: Indicates the type of storage account. Known values are: "Storage", "StorageV2",
|
6772
7373
|
"BlobStorage", "FileStorage", and "BlockBlobStorage".
|
6773
|
-
:vartype kind: str or ~azure.mgmt.storage.
|
7374
|
+
:vartype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
6774
7375
|
:ivar locations: The set of locations that the SKU is available. This will be supported and
|
6775
7376
|
registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
|
6776
7377
|
:vartype locations: list[str]
|
6777
7378
|
:ivar capabilities: The capability information in the specified SKU, including file encryption,
|
6778
7379
|
network ACLs, change notification, etc.
|
6779
|
-
:vartype capabilities: list[~azure.mgmt.storage.
|
7380
|
+
:vartype capabilities: list[~azure.mgmt.storage.v2024_01_01.models.SKUCapability]
|
6780
7381
|
:ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if
|
6781
7382
|
there are no restrictions.
|
6782
|
-
:vartype restrictions: list[~azure.mgmt.storage.
|
7383
|
+
:vartype restrictions: list[~azure.mgmt.storage.v2024_01_01.models.Restriction]
|
6783
7384
|
"""
|
6784
7385
|
|
6785
7386
|
_validation = {
|
@@ -6812,11 +7413,12 @@ class SkuInformation(_serialization.Model):
|
|
6812
7413
|
:keyword name: The SKU name. Required for account creation; optional for update. Note that in
|
6813
7414
|
older versions, SKU name was called accountType. Required. Known values are: "Standard_LRS",
|
6814
7415
|
"Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
6815
|
-
"Standard_GZRS",
|
6816
|
-
|
7416
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
7417
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
7418
|
+
:paramtype name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
6817
7419
|
:keyword restrictions: The restrictions because of which SKU cannot be used. This is empty if
|
6818
7420
|
there are no restrictions.
|
6819
|
-
:paramtype restrictions: list[~azure.mgmt.storage.
|
7421
|
+
:paramtype restrictions: list[~azure.mgmt.storage.v2024_01_01.models.Restriction]
|
6820
7422
|
"""
|
6821
7423
|
super().__init__(**kwargs)
|
6822
7424
|
self.name = name
|
@@ -6832,7 +7434,7 @@ class SmbSetting(_serialization.Model):
|
|
6832
7434
|
"""Setting for SMB protocol.
|
6833
7435
|
|
6834
7436
|
:ivar multichannel: Multichannel setting. Applies to Premium FileStorage only.
|
6835
|
-
:vartype multichannel: ~azure.mgmt.storage.
|
7437
|
+
:vartype multichannel: ~azure.mgmt.storage.v2024_01_01.models.Multichannel
|
6836
7438
|
:ivar versions: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0,
|
6837
7439
|
SMB3.1.1. Should be passed as a string with delimiter ';'.
|
6838
7440
|
:vartype versions: str
|
@@ -6867,7 +7469,7 @@ class SmbSetting(_serialization.Model):
|
|
6867
7469
|
) -> None:
|
6868
7470
|
"""
|
6869
7471
|
:keyword multichannel: Multichannel setting. Applies to Premium FileStorage only.
|
6870
|
-
:paramtype multichannel: ~azure.mgmt.storage.
|
7472
|
+
:paramtype multichannel: ~azure.mgmt.storage.v2024_01_01.models.Multichannel
|
6871
7473
|
:keyword versions: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0,
|
6872
7474
|
SMB3.1.1. Should be passed as a string with delimiter ';'.
|
6873
7475
|
:paramtype versions: str
|
@@ -6986,28 +7588,28 @@ class StorageAccount(TrackedResource):
|
|
6986
7588
|
:ivar location: The geo-location where the resource lives. Required.
|
6987
7589
|
:vartype location: str
|
6988
7590
|
:ivar sku: Gets the SKU.
|
6989
|
-
:vartype sku: ~azure.mgmt.storage.
|
7591
|
+
:vartype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
6990
7592
|
:ivar kind: Gets the Kind. Known values are: "Storage", "StorageV2", "BlobStorage",
|
6991
7593
|
"FileStorage", and "BlockBlobStorage".
|
6992
|
-
:vartype kind: str or ~azure.mgmt.storage.
|
7594
|
+
:vartype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
6993
7595
|
:ivar identity: The identity of the resource.
|
6994
|
-
:vartype identity: ~azure.mgmt.storage.
|
7596
|
+
:vartype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
6995
7597
|
:ivar extended_location: The extendedLocation of the resource.
|
6996
|
-
:vartype extended_location: ~azure.mgmt.storage.
|
7598
|
+
:vartype extended_location: ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocation
|
6997
7599
|
:ivar provisioning_state: Gets the status of the storage account at the time the operation was
|
6998
7600
|
called. Known values are: "Creating", "ResolvingDNS", "Succeeded",
|
6999
7601
|
"ValidateSubscriptionQuotaBegin", "ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and
|
7000
7602
|
"Failed".
|
7001
|
-
:vartype provisioning_state: str or ~azure.mgmt.storage.
|
7603
|
+
:vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState
|
7002
7604
|
:ivar primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob,
|
7003
7605
|
queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob
|
7004
7606
|
endpoint.
|
7005
|
-
:vartype primary_endpoints: ~azure.mgmt.storage.
|
7607
|
+
:vartype primary_endpoints: ~azure.mgmt.storage.v2024_01_01.models.Endpoints
|
7006
7608
|
:ivar primary_location: Gets the location of the primary data center for the storage account.
|
7007
7609
|
:vartype primary_location: str
|
7008
7610
|
:ivar status_of_primary: Gets the status indicating whether the primary location of the storage
|
7009
7611
|
account is available or unavailable. Known values are: "available" and "unavailable".
|
7010
|
-
:vartype status_of_primary: str or ~azure.mgmt.storage.
|
7612
|
+
:vartype status_of_primary: str or ~azure.mgmt.storage.v2024_01_01.models.AccountStatus
|
7011
7613
|
:ivar last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to
|
7012
7614
|
the secondary location. Only the most recent timestamp is retained. This element is not
|
7013
7615
|
returned if there has never been a failover instance. Only available if the accountType is
|
@@ -7019,37 +7621,37 @@ class StorageAccount(TrackedResource):
|
|
7019
7621
|
:ivar status_of_secondary: Gets the status indicating whether the secondary location of the
|
7020
7622
|
storage account is available or unavailable. Only available if the SKU name is Standard_GRS or
|
7021
7623
|
Standard_RAGRS. Known values are: "available" and "unavailable".
|
7022
|
-
:vartype status_of_secondary: str or ~azure.mgmt.storage.
|
7624
|
+
:vartype status_of_secondary: str or ~azure.mgmt.storage.v2024_01_01.models.AccountStatus
|
7023
7625
|
:ivar creation_time: Gets the creation date and time of the storage account in UTC.
|
7024
7626
|
:vartype creation_time: ~datetime.datetime
|
7025
7627
|
:ivar custom_domain: Gets the custom domain the user assigned to this storage account.
|
7026
|
-
:vartype custom_domain: ~azure.mgmt.storage.
|
7628
|
+
:vartype custom_domain: ~azure.mgmt.storage.v2024_01_01.models.CustomDomain
|
7027
7629
|
:ivar sas_policy: SasPolicy assigned to the storage account.
|
7028
|
-
:vartype sas_policy: ~azure.mgmt.storage.
|
7630
|
+
:vartype sas_policy: ~azure.mgmt.storage.v2024_01_01.models.SasPolicy
|
7029
7631
|
:ivar key_policy: KeyPolicy assigned to the storage account.
|
7030
|
-
:vartype key_policy: ~azure.mgmt.storage.
|
7632
|
+
:vartype key_policy: ~azure.mgmt.storage.v2024_01_01.models.KeyPolicy
|
7031
7633
|
:ivar key_creation_time: Storage account keys creation time.
|
7032
|
-
:vartype key_creation_time: ~azure.mgmt.storage.
|
7634
|
+
:vartype key_creation_time: ~azure.mgmt.storage.v2024_01_01.models.KeyCreationTime
|
7033
7635
|
:ivar secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob,
|
7034
7636
|
queue, or table object from the secondary location of the storage account. Only available if
|
7035
7637
|
the SKU name is Standard_RAGRS.
|
7036
|
-
:vartype secondary_endpoints: ~azure.mgmt.storage.
|
7638
|
+
:vartype secondary_endpoints: ~azure.mgmt.storage.v2024_01_01.models.Endpoints
|
7037
7639
|
:ivar encryption: Encryption settings to be used for server-side encryption for the storage
|
7038
7640
|
account.
|
7039
|
-
:vartype encryption: ~azure.mgmt.storage.
|
7641
|
+
:vartype encryption: ~azure.mgmt.storage.v2024_01_01.models.Encryption
|
7040
7642
|
:ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier is
|
7041
7643
|
used for billing. The 'Premium' access tier is the default value for premium block blobs
|
7042
7644
|
storage account type and it cannot be changed for the premium block blobs storage account type.
|
7043
7645
|
Known values are: "Hot", "Cool", "Premium", and "Cold".
|
7044
|
-
:vartype access_tier: str or ~azure.mgmt.storage.
|
7646
|
+
:vartype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.AccessTier
|
7045
7647
|
:ivar azure_files_identity_based_authentication: Provides the identity based authentication
|
7046
7648
|
settings for Azure Files.
|
7047
7649
|
:vartype azure_files_identity_based_authentication:
|
7048
|
-
~azure.mgmt.storage.
|
7650
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
7049
7651
|
:ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
|
7050
7652
|
:vartype enable_https_traffic_only: bool
|
7051
7653
|
:ivar network_rule_set: Network rule set.
|
7052
|
-
:vartype network_rule_set: ~azure.mgmt.storage.
|
7654
|
+
:vartype network_rule_set: ~azure.mgmt.storage.v2024_01_01.models.NetworkRuleSet
|
7053
7655
|
:ivar is_sftp_enabled: Enables Secure File Transfer Protocol, if set to true.
|
7054
7656
|
:vartype is_sftp_enabled: bool
|
7055
7657
|
:ivar is_local_user_enabled: Enables local users feature, if set to true.
|
@@ -7060,30 +7662,30 @@ class StorageAccount(TrackedResource):
|
|
7060
7662
|
:ivar is_hns_enabled: Account HierarchicalNamespace enabled if sets to true.
|
7061
7663
|
:vartype is_hns_enabled: bool
|
7062
7664
|
:ivar geo_replication_stats: Geo Replication Stats.
|
7063
|
-
:vartype geo_replication_stats: ~azure.mgmt.storage.
|
7665
|
+
:vartype geo_replication_stats: ~azure.mgmt.storage.v2024_01_01.models.GeoReplicationStats
|
7064
7666
|
:ivar failover_in_progress: If the failover is in progress, the value will be true, otherwise,
|
7065
7667
|
it will be null.
|
7066
7668
|
:vartype failover_in_progress: bool
|
7067
7669
|
:ivar large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
7068
7670
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
7069
7671
|
:vartype large_file_shares_state: str or
|
7070
|
-
~azure.mgmt.storage.
|
7672
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
7071
7673
|
:ivar private_endpoint_connections: List of private endpoint connection associated with the
|
7072
7674
|
specified storage account.
|
7073
7675
|
:vartype private_endpoint_connections:
|
7074
|
-
list[~azure.mgmt.storage.
|
7676
|
+
list[~azure.mgmt.storage.v2024_01_01.models.PrivateEndpointConnection]
|
7075
7677
|
:ivar routing_preference: Maintains information about the network routing choice opted by the
|
7076
7678
|
user for data transfer.
|
7077
|
-
:vartype routing_preference: ~azure.mgmt.storage.
|
7679
|
+
:vartype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
7078
7680
|
:ivar blob_restore_status: Blob restore status.
|
7079
|
-
:vartype blob_restore_status: ~azure.mgmt.storage.
|
7681
|
+
:vartype blob_restore_status: ~azure.mgmt.storage.v2024_01_01.models.BlobRestoreStatus
|
7080
7682
|
:ivar allow_blob_public_access: Allow or disallow public access to all blobs or containers in
|
7081
7683
|
the storage account. The default interpretation is false for this property.
|
7082
7684
|
:vartype allow_blob_public_access: bool
|
7083
7685
|
:ivar minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage.
|
7084
7686
|
The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0", "TLS1_1",
|
7085
7687
|
"TLS1_2", and "TLS1_3".
|
7086
|
-
:vartype minimum_tls_version: str or ~azure.mgmt.storage.
|
7688
|
+
:vartype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
7087
7689
|
:ivar allow_shared_key_access: Indicates whether the storage account permits requests to be
|
7088
7690
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
7089
7691
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -7103,24 +7705,24 @@ class StorageAccount(TrackedResource):
|
|
7103
7705
|
to evaluate public network access to Storage Account. Known values are: "Enabled", "Disabled",
|
7104
7706
|
and "SecuredByPerimeter".
|
7105
7707
|
:vartype public_network_access: str or
|
7106
|
-
~azure.mgmt.storage.
|
7708
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
7107
7709
|
:ivar immutable_storage_with_versioning: The property is immutable and can only be set to true
|
7108
7710
|
at the account creation time. When set to true, it enables object level immutability for all
|
7109
7711
|
the containers in the account by default.
|
7110
7712
|
:vartype immutable_storage_with_versioning:
|
7111
|
-
~azure.mgmt.storage.
|
7713
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
7112
7714
|
:ivar allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
7113
7715
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
7114
|
-
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.
|
7716
|
+
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
7115
7717
|
:ivar storage_account_sku_conversion_status: This property is readOnly and is set by server
|
7116
7718
|
during asynchronous storage account sku conversion operations.
|
7117
7719
|
:vartype storage_account_sku_conversion_status:
|
7118
|
-
~azure.mgmt.storage.
|
7720
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountSkuConversionStatus
|
7119
7721
|
:ivar dns_endpoint_type: Allows you to specify the type of endpoint. Set this to AzureDNSZone
|
7120
7722
|
to create a large number of accounts in a single subscription, which creates accounts in an
|
7121
7723
|
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Known values
|
7122
7724
|
are: "Standard" and "AzureDnsZone".
|
7123
|
-
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.
|
7725
|
+
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
7124
7726
|
:ivar is_sku_conversion_blocked: This property will be set to true or false on an event of
|
7125
7727
|
ongoing migration. Default value is null.
|
7126
7728
|
:vartype is_sku_conversion_blocked: bool
|
@@ -7259,13 +7861,13 @@ class StorageAccount(TrackedResource):
|
|
7259
7861
|
:keyword location: The geo-location where the resource lives. Required.
|
7260
7862
|
:paramtype location: str
|
7261
7863
|
:keyword identity: The identity of the resource.
|
7262
|
-
:paramtype identity: ~azure.mgmt.storage.
|
7864
|
+
:paramtype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
7263
7865
|
:keyword extended_location: The extendedLocation of the resource.
|
7264
|
-
:paramtype extended_location: ~azure.mgmt.storage.
|
7866
|
+
:paramtype extended_location: ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocation
|
7265
7867
|
:keyword azure_files_identity_based_authentication: Provides the identity based authentication
|
7266
7868
|
settings for Azure Files.
|
7267
7869
|
:paramtype azure_files_identity_based_authentication:
|
7268
|
-
~azure.mgmt.storage.
|
7870
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
7269
7871
|
:keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
|
7270
7872
|
true.
|
7271
7873
|
:paramtype enable_https_traffic_only: bool
|
@@ -7281,17 +7883,17 @@ class StorageAccount(TrackedResource):
|
|
7281
7883
|
:keyword large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
7282
7884
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
7283
7885
|
:paramtype large_file_shares_state: str or
|
7284
|
-
~azure.mgmt.storage.
|
7886
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
7285
7887
|
:keyword routing_preference: Maintains information about the network routing choice opted by
|
7286
7888
|
the user for data transfer.
|
7287
|
-
:paramtype routing_preference: ~azure.mgmt.storage.
|
7889
|
+
:paramtype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
7288
7890
|
:keyword allow_blob_public_access: Allow or disallow public access to all blobs or containers
|
7289
7891
|
in the storage account. The default interpretation is false for this property.
|
7290
7892
|
:paramtype allow_blob_public_access: bool
|
7291
7893
|
:keyword minimum_tls_version: Set the minimum TLS version to be permitted on requests to
|
7292
7894
|
storage. The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0",
|
7293
7895
|
"TLS1_1", "TLS1_2", and "TLS1_3".
|
7294
|
-
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.
|
7896
|
+
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
7295
7897
|
:keyword allow_shared_key_access: Indicates whether the storage account permits requests to be
|
7296
7898
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
7297
7899
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -7311,24 +7913,24 @@ class StorageAccount(TrackedResource):
|
|
7311
7913
|
configuration to evaluate public network access to Storage Account. Known values are:
|
7312
7914
|
"Enabled", "Disabled", and "SecuredByPerimeter".
|
7313
7915
|
:paramtype public_network_access: str or
|
7314
|
-
~azure.mgmt.storage.
|
7916
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
7315
7917
|
:keyword immutable_storage_with_versioning: The property is immutable and can only be set to
|
7316
7918
|
true at the account creation time. When set to true, it enables object level immutability for
|
7317
7919
|
all the containers in the account by default.
|
7318
7920
|
:paramtype immutable_storage_with_versioning:
|
7319
|
-
~azure.mgmt.storage.
|
7921
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
7320
7922
|
:keyword allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
7321
7923
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
7322
|
-
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.
|
7924
|
+
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
7323
7925
|
:keyword storage_account_sku_conversion_status: This property is readOnly and is set by server
|
7324
7926
|
during asynchronous storage account sku conversion operations.
|
7325
7927
|
:paramtype storage_account_sku_conversion_status:
|
7326
|
-
~azure.mgmt.storage.
|
7928
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageAccountSkuConversionStatus
|
7327
7929
|
:keyword dns_endpoint_type: Allows you to specify the type of endpoint. Set this to
|
7328
7930
|
AzureDNSZone to create a large number of accounts in a single subscription, which creates
|
7329
7931
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
7330
7932
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
7331
|
-
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.
|
7933
|
+
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
7332
7934
|
"""
|
7333
7935
|
super().__init__(tags=tags, location=location, **kwargs)
|
7334
7936
|
self.sku = None
|
@@ -7419,10 +8021,10 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7419
8021
|
All required parameters must be populated in order to send to server.
|
7420
8022
|
|
7421
8023
|
:ivar sku: Required. Gets or sets the SKU name. Required.
|
7422
|
-
:vartype sku: ~azure.mgmt.storage.
|
8024
|
+
:vartype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
7423
8025
|
:ivar kind: Required. Indicates the type of storage account. Required. Known values are:
|
7424
8026
|
"Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".
|
7425
|
-
:vartype kind: str or ~azure.mgmt.storage.
|
8027
|
+
:vartype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
7426
8028
|
:ivar location: Required. Gets or sets the location of the resource. This will be one of the
|
7427
8029
|
supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The
|
7428
8030
|
geo region of a resource cannot be changed once it is created, but if an identical geo region
|
@@ -7431,45 +8033,45 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7431
8033
|
:ivar extended_location: Optional. Set the extended location of the resource. If not set, the
|
7432
8034
|
storage account will be created in Azure main region. Otherwise it will be created in the
|
7433
8035
|
specified extended location.
|
7434
|
-
:vartype extended_location: ~azure.mgmt.storage.
|
8036
|
+
:vartype extended_location: ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocation
|
7435
8037
|
:ivar tags: Gets or sets a list of key value pairs that describe the resource. These tags can
|
7436
8038
|
be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags
|
7437
8039
|
can be provided for a resource. Each tag must have a key with a length no greater than 128
|
7438
8040
|
characters and a value with a length no greater than 256 characters.
|
7439
8041
|
:vartype tags: dict[str, str]
|
7440
8042
|
:ivar identity: The identity of the resource.
|
7441
|
-
:vartype identity: ~azure.mgmt.storage.
|
8043
|
+
:vartype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
7442
8044
|
:ivar allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
7443
8045
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
7444
|
-
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.
|
8046
|
+
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
7445
8047
|
:ivar public_network_access: Allow, disallow, or let Network Security Perimeter configuration
|
7446
8048
|
to evaluate public network access to Storage Account. Value is optional but if passed in, must
|
7447
8049
|
be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. Known values are: "Enabled", "Disabled", and
|
7448
8050
|
"SecuredByPerimeter".
|
7449
8051
|
:vartype public_network_access: str or
|
7450
|
-
~azure.mgmt.storage.
|
8052
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
7451
8053
|
:ivar sas_policy: SasPolicy assigned to the storage account.
|
7452
|
-
:vartype sas_policy: ~azure.mgmt.storage.
|
8054
|
+
:vartype sas_policy: ~azure.mgmt.storage.v2024_01_01.models.SasPolicy
|
7453
8055
|
:ivar key_policy: KeyPolicy assigned to the storage account.
|
7454
|
-
:vartype key_policy: ~azure.mgmt.storage.
|
8056
|
+
:vartype key_policy: ~azure.mgmt.storage.v2024_01_01.models.KeyPolicy
|
7455
8057
|
:ivar custom_domain: User domain assigned to the storage account. Name is the CNAME source.
|
7456
8058
|
Only one custom domain is supported per storage account at this time. To clear the existing
|
7457
8059
|
custom domain, use an empty string for the custom domain name property.
|
7458
|
-
:vartype custom_domain: ~azure.mgmt.storage.
|
8060
|
+
:vartype custom_domain: ~azure.mgmt.storage.v2024_01_01.models.CustomDomain
|
7459
8061
|
:ivar encryption: Encryption settings to be used for server-side encryption for the storage
|
7460
8062
|
account.
|
7461
|
-
:vartype encryption: ~azure.mgmt.storage.
|
8063
|
+
:vartype encryption: ~azure.mgmt.storage.v2024_01_01.models.Encryption
|
7462
8064
|
:ivar network_rule_set: Network rule set.
|
7463
|
-
:vartype network_rule_set: ~azure.mgmt.storage.
|
8065
|
+
:vartype network_rule_set: ~azure.mgmt.storage.v2024_01_01.models.NetworkRuleSet
|
7464
8066
|
:ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier is
|
7465
8067
|
used for billing. The 'Premium' access tier is the default value for premium block blobs
|
7466
8068
|
storage account type and it cannot be changed for the premium block blobs storage account type.
|
7467
8069
|
Known values are: "Hot", "Cool", "Premium", and "Cold".
|
7468
|
-
:vartype access_tier: str or ~azure.mgmt.storage.
|
8070
|
+
:vartype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.AccessTier
|
7469
8071
|
:ivar azure_files_identity_based_authentication: Provides the identity based authentication
|
7470
8072
|
settings for Azure Files.
|
7471
8073
|
:vartype azure_files_identity_based_authentication:
|
7472
|
-
~azure.mgmt.storage.
|
8074
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
7473
8075
|
:ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
|
7474
8076
|
The default value is true since API version 2019-04-01.
|
7475
8077
|
:vartype enable_https_traffic_only: bool
|
@@ -7485,17 +8087,17 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7485
8087
|
:ivar large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
7486
8088
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
7487
8089
|
:vartype large_file_shares_state: str or
|
7488
|
-
~azure.mgmt.storage.
|
8090
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
7489
8091
|
:ivar routing_preference: Maintains information about the network routing choice opted by the
|
7490
8092
|
user for data transfer.
|
7491
|
-
:vartype routing_preference: ~azure.mgmt.storage.
|
8093
|
+
:vartype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
7492
8094
|
:ivar allow_blob_public_access: Allow or disallow public access to all blobs or containers in
|
7493
8095
|
the storage account. The default interpretation is false for this property.
|
7494
8096
|
:vartype allow_blob_public_access: bool
|
7495
8097
|
:ivar minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage.
|
7496
8098
|
The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0", "TLS1_1",
|
7497
8099
|
"TLS1_2", and "TLS1_3".
|
7498
|
-
:vartype minimum_tls_version: str or ~azure.mgmt.storage.
|
8100
|
+
:vartype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
7499
8101
|
:ivar allow_shared_key_access: Indicates whether the storage account permits requests to be
|
7500
8102
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
7501
8103
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -7515,12 +8117,12 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7515
8117
|
at the account creation time. When set to true, it enables object level immutability for all
|
7516
8118
|
the new containers in the account by default.
|
7517
8119
|
:vartype immutable_storage_with_versioning:
|
7518
|
-
~azure.mgmt.storage.
|
8120
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
7519
8121
|
:ivar dns_endpoint_type: Allows you to specify the type of endpoint. Set this to AzureDNSZone
|
7520
8122
|
to create a large number of accounts in a single subscription, which creates accounts in an
|
7521
8123
|
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Known values
|
7522
8124
|
are: "Standard" and "AzureDnsZone".
|
7523
|
-
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.
|
8125
|
+
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
7524
8126
|
"""
|
7525
8127
|
|
7526
8128
|
_validation = {
|
@@ -7605,10 +8207,10 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7605
8207
|
) -> None:
|
7606
8208
|
"""
|
7607
8209
|
:keyword sku: Required. Gets or sets the SKU name. Required.
|
7608
|
-
:paramtype sku: ~azure.mgmt.storage.
|
8210
|
+
:paramtype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
7609
8211
|
:keyword kind: Required. Indicates the type of storage account. Required. Known values are:
|
7610
8212
|
"Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".
|
7611
|
-
:paramtype kind: str or ~azure.mgmt.storage.
|
8213
|
+
:paramtype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
7612
8214
|
:keyword location: Required. Gets or sets the location of the resource. This will be one of the
|
7613
8215
|
supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The
|
7614
8216
|
geo region of a resource cannot be changed once it is created, but if an identical geo region
|
@@ -7617,45 +8219,45 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7617
8219
|
:keyword extended_location: Optional. Set the extended location of the resource. If not set,
|
7618
8220
|
the storage account will be created in Azure main region. Otherwise it will be created in the
|
7619
8221
|
specified extended location.
|
7620
|
-
:paramtype extended_location: ~azure.mgmt.storage.
|
8222
|
+
:paramtype extended_location: ~azure.mgmt.storage.v2024_01_01.models.ExtendedLocation
|
7621
8223
|
:keyword tags: Gets or sets a list of key value pairs that describe the resource. These tags
|
7622
8224
|
can be used for viewing and grouping this resource (across resource groups). A maximum of 15
|
7623
8225
|
tags can be provided for a resource. Each tag must have a key with a length no greater than 128
|
7624
8226
|
characters and a value with a length no greater than 256 characters.
|
7625
8227
|
:paramtype tags: dict[str, str]
|
7626
8228
|
:keyword identity: The identity of the resource.
|
7627
|
-
:paramtype identity: ~azure.mgmt.storage.
|
8229
|
+
:paramtype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
7628
8230
|
:keyword allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
7629
8231
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
7630
|
-
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.
|
8232
|
+
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
7631
8233
|
:keyword public_network_access: Allow, disallow, or let Network Security Perimeter
|
7632
8234
|
configuration to evaluate public network access to Storage Account. Value is optional but if
|
7633
8235
|
passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. Known values are: "Enabled",
|
7634
8236
|
"Disabled", and "SecuredByPerimeter".
|
7635
8237
|
:paramtype public_network_access: str or
|
7636
|
-
~azure.mgmt.storage.
|
8238
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
7637
8239
|
:keyword sas_policy: SasPolicy assigned to the storage account.
|
7638
|
-
:paramtype sas_policy: ~azure.mgmt.storage.
|
8240
|
+
:paramtype sas_policy: ~azure.mgmt.storage.v2024_01_01.models.SasPolicy
|
7639
8241
|
:keyword key_policy: KeyPolicy assigned to the storage account.
|
7640
|
-
:paramtype key_policy: ~azure.mgmt.storage.
|
8242
|
+
:paramtype key_policy: ~azure.mgmt.storage.v2024_01_01.models.KeyPolicy
|
7641
8243
|
:keyword custom_domain: User domain assigned to the storage account. Name is the CNAME source.
|
7642
8244
|
Only one custom domain is supported per storage account at this time. To clear the existing
|
7643
8245
|
custom domain, use an empty string for the custom domain name property.
|
7644
|
-
:paramtype custom_domain: ~azure.mgmt.storage.
|
8246
|
+
:paramtype custom_domain: ~azure.mgmt.storage.v2024_01_01.models.CustomDomain
|
7645
8247
|
:keyword encryption: Encryption settings to be used for server-side encryption for the storage
|
7646
8248
|
account.
|
7647
|
-
:paramtype encryption: ~azure.mgmt.storage.
|
8249
|
+
:paramtype encryption: ~azure.mgmt.storage.v2024_01_01.models.Encryption
|
7648
8250
|
:keyword network_rule_set: Network rule set.
|
7649
|
-
:paramtype network_rule_set: ~azure.mgmt.storage.
|
8251
|
+
:paramtype network_rule_set: ~azure.mgmt.storage.v2024_01_01.models.NetworkRuleSet
|
7650
8252
|
:keyword access_tier: Required for storage accounts where kind = BlobStorage. The access tier
|
7651
8253
|
is used for billing. The 'Premium' access tier is the default value for premium block blobs
|
7652
8254
|
storage account type and it cannot be changed for the premium block blobs storage account type.
|
7653
8255
|
Known values are: "Hot", "Cool", "Premium", and "Cold".
|
7654
|
-
:paramtype access_tier: str or ~azure.mgmt.storage.
|
8256
|
+
:paramtype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.AccessTier
|
7655
8257
|
:keyword azure_files_identity_based_authentication: Provides the identity based authentication
|
7656
8258
|
settings for Azure Files.
|
7657
8259
|
:paramtype azure_files_identity_based_authentication:
|
7658
|
-
~azure.mgmt.storage.
|
8260
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
7659
8261
|
:keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
|
7660
8262
|
true. The default value is true since API version 2019-04-01.
|
7661
8263
|
:paramtype enable_https_traffic_only: bool
|
@@ -7671,17 +8273,17 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7671
8273
|
:keyword large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
7672
8274
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
7673
8275
|
:paramtype large_file_shares_state: str or
|
7674
|
-
~azure.mgmt.storage.
|
8276
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
7675
8277
|
:keyword routing_preference: Maintains information about the network routing choice opted by
|
7676
8278
|
the user for data transfer.
|
7677
|
-
:paramtype routing_preference: ~azure.mgmt.storage.
|
8279
|
+
:paramtype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
7678
8280
|
:keyword allow_blob_public_access: Allow or disallow public access to all blobs or containers
|
7679
8281
|
in the storage account. The default interpretation is false for this property.
|
7680
8282
|
:paramtype allow_blob_public_access: bool
|
7681
8283
|
:keyword minimum_tls_version: Set the minimum TLS version to be permitted on requests to
|
7682
8284
|
storage. The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0",
|
7683
8285
|
"TLS1_1", "TLS1_2", and "TLS1_3".
|
7684
|
-
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.
|
8286
|
+
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
7685
8287
|
:keyword allow_shared_key_access: Indicates whether the storage account permits requests to be
|
7686
8288
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
7687
8289
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -7701,12 +8303,12 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
7701
8303
|
true at the account creation time. When set to true, it enables object level immutability for
|
7702
8304
|
all the new containers in the account by default.
|
7703
8305
|
:paramtype immutable_storage_with_versioning:
|
7704
|
-
~azure.mgmt.storage.
|
8306
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
7705
8307
|
:keyword dns_endpoint_type: Allows you to specify the type of endpoint. Set this to
|
7706
8308
|
AzureDNSZone to create a large number of accounts in a single subscription, which creates
|
7707
8309
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
7708
8310
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
7709
|
-
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.
|
8311
|
+
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
7710
8312
|
"""
|
7711
8313
|
super().__init__(**kwargs)
|
7712
8314
|
self.sku = sku
|
@@ -7791,7 +8393,7 @@ class StorageAccountKey(_serialization.Model):
|
|
7791
8393
|
:vartype value: str
|
7792
8394
|
:ivar permissions: Permissions for the key -- read-only or full permissions. Known values are:
|
7793
8395
|
"Read" and "Full".
|
7794
|
-
:vartype permissions: str or ~azure.mgmt.storage.
|
8396
|
+
:vartype permissions: str or ~azure.mgmt.storage.v2024_01_01.models.KeyPermission
|
7795
8397
|
:ivar creation_time: Creation time of the key, in round trip date format.
|
7796
8398
|
:vartype creation_time: ~datetime.datetime
|
7797
8399
|
"""
|
@@ -7826,7 +8428,7 @@ class StorageAccountListKeysResult(_serialization.Model):
|
|
7826
8428
|
|
7827
8429
|
:ivar keys: Gets the list of storage account keys and their properties for the specified
|
7828
8430
|
storage account.
|
7829
|
-
:vartype keys: list[~azure.mgmt.storage.
|
8431
|
+
:vartype keys: list[~azure.mgmt.storage.v2024_01_01.models.StorageAccountKey]
|
7830
8432
|
"""
|
7831
8433
|
|
7832
8434
|
_validation = {
|
@@ -7849,7 +8451,7 @@ class StorageAccountListResult(_serialization.Model):
|
|
7849
8451
|
Variables are only populated by the server, and will be ignored when sending a request.
|
7850
8452
|
|
7851
8453
|
:ivar value: Gets the list of storage accounts and their properties.
|
7852
|
-
:vartype value: list[~azure.mgmt.storage.
|
8454
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
|
7853
8455
|
:ivar next_link: Request URL that can be used to query next page of storage accounts. Returned
|
7854
8456
|
when total number of requested storage accounts exceed maximum page size.
|
7855
8457
|
:vartype next_link: str
|
@@ -7937,11 +8539,12 @@ class StorageAccountMigration(_serialization.Model):
|
|
7937
8539
|
:vartype type: str
|
7938
8540
|
:ivar target_sku_name: Target sku name for the account. Required. Known values are:
|
7939
8541
|
"Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
7940
|
-
"Standard_GZRS",
|
7941
|
-
|
8542
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
8543
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
8544
|
+
:vartype target_sku_name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
7942
8545
|
:ivar migration_status: Current status of migration. Known values are: "Invalid",
|
7943
8546
|
"SubmittedForConversion", "InProgress", "Complete", and "Failed".
|
7944
|
-
:vartype migration_status: str or ~azure.mgmt.storage.
|
8547
|
+
:vartype migration_status: str or ~azure.mgmt.storage.v2024_01_01.models.MigrationStatus
|
7945
8548
|
:ivar migration_failed_reason: Error code for migration failure.
|
7946
8549
|
:vartype migration_failed_reason: str
|
7947
8550
|
:ivar migration_failed_detailed_reason: Reason for migration failure.
|
@@ -7981,8 +8584,9 @@ class StorageAccountMigration(_serialization.Model):
|
|
7981
8584
|
:paramtype type: str
|
7982
8585
|
:keyword target_sku_name: Target sku name for the account. Required. Known values are:
|
7983
8586
|
"Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS",
|
7984
|
-
"Standard_GZRS",
|
7985
|
-
|
8587
|
+
"Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS",
|
8588
|
+
"StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".
|
8589
|
+
:paramtype target_sku_name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
7986
8590
|
"""
|
7987
8591
|
super().__init__(**kwargs)
|
7988
8592
|
self.id = None
|
@@ -8030,12 +8634,13 @@ class StorageAccountSkuConversionStatus(_serialization.Model):
|
|
8030
8634
|
:ivar sku_conversion_status: This property indicates the current sku conversion status. Known
|
8031
8635
|
values are: "InProgress", "Succeeded", and "Failed".
|
8032
8636
|
:vartype sku_conversion_status: str or
|
8033
|
-
~azure.mgmt.storage.
|
8637
|
+
~azure.mgmt.storage.v2024_01_01.models.SkuConversionStatus
|
8034
8638
|
:ivar target_sku_name: This property represents the target sku name to which the account sku is
|
8035
8639
|
being converted asynchronously. Known values are: "Standard_LRS", "Standard_GRS",
|
8036
|
-
"Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS",
|
8037
|
-
"Standard_RAGZRS"
|
8038
|
-
|
8640
|
+
"Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS",
|
8641
|
+
"Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS", "StandardV2_GZRS",
|
8642
|
+
"PremiumV2_LRS", and "PremiumV2_ZRS".
|
8643
|
+
:vartype target_sku_name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
8039
8644
|
:ivar start_time: This property represents the sku conversion start time.
|
8040
8645
|
:vartype start_time: str
|
8041
8646
|
:ivar end_time: This property represents the sku conversion end time.
|
@@ -8059,9 +8664,10 @@ class StorageAccountSkuConversionStatus(_serialization.Model):
|
|
8059
8664
|
"""
|
8060
8665
|
:keyword target_sku_name: This property represents the target sku name to which the account sku
|
8061
8666
|
is being converted asynchronously. Known values are: "Standard_LRS", "Standard_GRS",
|
8062
|
-
"Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS",
|
8063
|
-
"Standard_RAGZRS"
|
8064
|
-
|
8667
|
+
"Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS",
|
8668
|
+
"Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS", "StandardV2_GZRS",
|
8669
|
+
"PremiumV2_LRS", and "PremiumV2_ZRS".
|
8670
|
+
:paramtype target_sku_name: str or ~azure.mgmt.storage.v2024_01_01.models.SkuName
|
8065
8671
|
"""
|
8066
8672
|
super().__init__(**kwargs)
|
8067
8673
|
self.sku_conversion_status = None
|
@@ -8075,38 +8681,38 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8075
8681
|
|
8076
8682
|
:ivar sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS,
|
8077
8683
|
Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
|
8078
|
-
:vartype sku: ~azure.mgmt.storage.
|
8684
|
+
:vartype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
8079
8685
|
:ivar tags: Gets or sets a list of key value pairs that describe the resource. These tags can
|
8080
8686
|
be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags
|
8081
8687
|
can be provided for a resource. Each tag must have a key no greater in length than 128
|
8082
8688
|
characters and a value no greater in length than 256 characters.
|
8083
8689
|
:vartype tags: dict[str, str]
|
8084
8690
|
:ivar identity: The identity of the resource.
|
8085
|
-
:vartype identity: ~azure.mgmt.storage.
|
8691
|
+
:vartype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
8086
8692
|
:ivar kind: Optional. Indicates the type of storage account. Currently only StorageV2 value
|
8087
8693
|
supported by server. Known values are: "Storage", "StorageV2", "BlobStorage", "FileStorage",
|
8088
8694
|
and "BlockBlobStorage".
|
8089
|
-
:vartype kind: str or ~azure.mgmt.storage.
|
8695
|
+
:vartype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
8090
8696
|
:ivar custom_domain: Custom domain assigned to the storage account by the user. Name is the
|
8091
8697
|
CNAME source. Only one custom domain is supported per storage account at this time. To clear
|
8092
8698
|
the existing custom domain, use an empty string for the custom domain name property.
|
8093
|
-
:vartype custom_domain: ~azure.mgmt.storage.
|
8699
|
+
:vartype custom_domain: ~azure.mgmt.storage.v2024_01_01.models.CustomDomain
|
8094
8700
|
:ivar encryption: Not applicable. Azure Storage encryption at rest is enabled by default for
|
8095
8701
|
all storage accounts and cannot be disabled.
|
8096
|
-
:vartype encryption: ~azure.mgmt.storage.
|
8702
|
+
:vartype encryption: ~azure.mgmt.storage.v2024_01_01.models.Encryption
|
8097
8703
|
:ivar sas_policy: SasPolicy assigned to the storage account.
|
8098
|
-
:vartype sas_policy: ~azure.mgmt.storage.
|
8704
|
+
:vartype sas_policy: ~azure.mgmt.storage.v2024_01_01.models.SasPolicy
|
8099
8705
|
:ivar key_policy: KeyPolicy assigned to the storage account.
|
8100
|
-
:vartype key_policy: ~azure.mgmt.storage.
|
8706
|
+
:vartype key_policy: ~azure.mgmt.storage.v2024_01_01.models.KeyPolicy
|
8101
8707
|
:ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier is
|
8102
8708
|
used for billing. The 'Premium' access tier is the default value for premium block blobs
|
8103
8709
|
storage account type and it cannot be changed for the premium block blobs storage account type.
|
8104
8710
|
Known values are: "Hot", "Cool", "Premium", and "Cold".
|
8105
|
-
:vartype access_tier: str or ~azure.mgmt.storage.
|
8711
|
+
:vartype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.AccessTier
|
8106
8712
|
:ivar azure_files_identity_based_authentication: Provides the identity based authentication
|
8107
8713
|
settings for Azure Files.
|
8108
8714
|
:vartype azure_files_identity_based_authentication:
|
8109
|
-
~azure.mgmt.storage.
|
8715
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
8110
8716
|
:ivar enable_https_traffic_only: Allows https traffic only to storage service if sets to true.
|
8111
8717
|
:vartype enable_https_traffic_only: bool
|
8112
8718
|
:ivar is_sftp_enabled: Enables Secure File Transfer Protocol, if set to true.
|
@@ -8117,21 +8723,21 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8117
8723
|
to true.
|
8118
8724
|
:vartype enable_extended_groups: bool
|
8119
8725
|
:ivar network_rule_set: Network rule set.
|
8120
|
-
:vartype network_rule_set: ~azure.mgmt.storage.
|
8726
|
+
:vartype network_rule_set: ~azure.mgmt.storage.v2024_01_01.models.NetworkRuleSet
|
8121
8727
|
:ivar large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
8122
8728
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
8123
8729
|
:vartype large_file_shares_state: str or
|
8124
|
-
~azure.mgmt.storage.
|
8730
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
8125
8731
|
:ivar routing_preference: Maintains information about the network routing choice opted by the
|
8126
8732
|
user for data transfer.
|
8127
|
-
:vartype routing_preference: ~azure.mgmt.storage.
|
8733
|
+
:vartype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
8128
8734
|
:ivar allow_blob_public_access: Allow or disallow public access to all blobs or containers in
|
8129
8735
|
the storage account. The default interpretation is false for this property.
|
8130
8736
|
:vartype allow_blob_public_access: bool
|
8131
8737
|
:ivar minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage.
|
8132
8738
|
The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0", "TLS1_1",
|
8133
8739
|
"TLS1_2", and "TLS1_3".
|
8134
|
-
:vartype minimum_tls_version: str or ~azure.mgmt.storage.
|
8740
|
+
:vartype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
8135
8741
|
:ivar allow_shared_key_access: Indicates whether the storage account permits requests to be
|
8136
8742
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
8137
8743
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -8150,20 +8756,20 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8150
8756
|
be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. Known values are: "Enabled", "Disabled", and
|
8151
8757
|
"SecuredByPerimeter".
|
8152
8758
|
:vartype public_network_access: str or
|
8153
|
-
~azure.mgmt.storage.
|
8759
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
8154
8760
|
:ivar immutable_storage_with_versioning: The property is immutable and can only be set to true
|
8155
8761
|
at the account creation time. When set to true, it enables object level immutability for all
|
8156
8762
|
the containers in the account by default.
|
8157
8763
|
:vartype immutable_storage_with_versioning:
|
8158
|
-
~azure.mgmt.storage.
|
8764
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
8159
8765
|
:ivar allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
8160
8766
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
8161
|
-
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.
|
8767
|
+
:vartype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
8162
8768
|
:ivar dns_endpoint_type: Allows you to specify the type of endpoint. Set this to AzureDNSZone
|
8163
8769
|
to create a large number of accounts in a single subscription, which creates accounts in an
|
8164
8770
|
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Known values
|
8165
8771
|
are: "Standard" and "AzureDnsZone".
|
8166
|
-
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.
|
8772
|
+
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
8167
8773
|
"""
|
8168
8774
|
|
8169
8775
|
_attribute_map = {
|
@@ -8236,38 +8842,38 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8236
8842
|
:keyword sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to
|
8237
8843
|
Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any
|
8238
8844
|
other value.
|
8239
|
-
:paramtype sku: ~azure.mgmt.storage.
|
8845
|
+
:paramtype sku: ~azure.mgmt.storage.v2024_01_01.models.Sku
|
8240
8846
|
:keyword tags: Gets or sets a list of key value pairs that describe the resource. These tags
|
8241
8847
|
can be used in viewing and grouping this resource (across resource groups). A maximum of 15
|
8242
8848
|
tags can be provided for a resource. Each tag must have a key no greater in length than 128
|
8243
8849
|
characters and a value no greater in length than 256 characters.
|
8244
8850
|
:paramtype tags: dict[str, str]
|
8245
8851
|
:keyword identity: The identity of the resource.
|
8246
|
-
:paramtype identity: ~azure.mgmt.storage.
|
8852
|
+
:paramtype identity: ~azure.mgmt.storage.v2024_01_01.models.Identity
|
8247
8853
|
:keyword kind: Optional. Indicates the type of storage account. Currently only StorageV2 value
|
8248
8854
|
supported by server. Known values are: "Storage", "StorageV2", "BlobStorage", "FileStorage",
|
8249
8855
|
and "BlockBlobStorage".
|
8250
|
-
:paramtype kind: str or ~azure.mgmt.storage.
|
8856
|
+
:paramtype kind: str or ~azure.mgmt.storage.v2024_01_01.models.Kind
|
8251
8857
|
:keyword custom_domain: Custom domain assigned to the storage account by the user. Name is the
|
8252
8858
|
CNAME source. Only one custom domain is supported per storage account at this time. To clear
|
8253
8859
|
the existing custom domain, use an empty string for the custom domain name property.
|
8254
|
-
:paramtype custom_domain: ~azure.mgmt.storage.
|
8860
|
+
:paramtype custom_domain: ~azure.mgmt.storage.v2024_01_01.models.CustomDomain
|
8255
8861
|
:keyword encryption: Not applicable. Azure Storage encryption at rest is enabled by default for
|
8256
8862
|
all storage accounts and cannot be disabled.
|
8257
|
-
:paramtype encryption: ~azure.mgmt.storage.
|
8863
|
+
:paramtype encryption: ~azure.mgmt.storage.v2024_01_01.models.Encryption
|
8258
8864
|
:keyword sas_policy: SasPolicy assigned to the storage account.
|
8259
|
-
:paramtype sas_policy: ~azure.mgmt.storage.
|
8865
|
+
:paramtype sas_policy: ~azure.mgmt.storage.v2024_01_01.models.SasPolicy
|
8260
8866
|
:keyword key_policy: KeyPolicy assigned to the storage account.
|
8261
|
-
:paramtype key_policy: ~azure.mgmt.storage.
|
8867
|
+
:paramtype key_policy: ~azure.mgmt.storage.v2024_01_01.models.KeyPolicy
|
8262
8868
|
:keyword access_tier: Required for storage accounts where kind = BlobStorage. The access tier
|
8263
8869
|
is used for billing. The 'Premium' access tier is the default value for premium block blobs
|
8264
8870
|
storage account type and it cannot be changed for the premium block blobs storage account type.
|
8265
8871
|
Known values are: "Hot", "Cool", "Premium", and "Cold".
|
8266
|
-
:paramtype access_tier: str or ~azure.mgmt.storage.
|
8872
|
+
:paramtype access_tier: str or ~azure.mgmt.storage.v2024_01_01.models.AccessTier
|
8267
8873
|
:keyword azure_files_identity_based_authentication: Provides the identity based authentication
|
8268
8874
|
settings for Azure Files.
|
8269
8875
|
:paramtype azure_files_identity_based_authentication:
|
8270
|
-
~azure.mgmt.storage.
|
8876
|
+
~azure.mgmt.storage.v2024_01_01.models.AzureFilesIdentityBasedAuthentication
|
8271
8877
|
:keyword enable_https_traffic_only: Allows https traffic only to storage service if sets to
|
8272
8878
|
true.
|
8273
8879
|
:paramtype enable_https_traffic_only: bool
|
@@ -8279,21 +8885,21 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8279
8885
|
set to true.
|
8280
8886
|
:paramtype enable_extended_groups: bool
|
8281
8887
|
:keyword network_rule_set: Network rule set.
|
8282
|
-
:paramtype network_rule_set: ~azure.mgmt.storage.
|
8888
|
+
:paramtype network_rule_set: ~azure.mgmt.storage.v2024_01_01.models.NetworkRuleSet
|
8283
8889
|
:keyword large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be
|
8284
8890
|
disabled once it is enabled. Known values are: "Disabled" and "Enabled".
|
8285
8891
|
:paramtype large_file_shares_state: str or
|
8286
|
-
~azure.mgmt.storage.
|
8892
|
+
~azure.mgmt.storage.v2024_01_01.models.LargeFileSharesState
|
8287
8893
|
:keyword routing_preference: Maintains information about the network routing choice opted by
|
8288
8894
|
the user for data transfer.
|
8289
|
-
:paramtype routing_preference: ~azure.mgmt.storage.
|
8895
|
+
:paramtype routing_preference: ~azure.mgmt.storage.v2024_01_01.models.RoutingPreference
|
8290
8896
|
:keyword allow_blob_public_access: Allow or disallow public access to all blobs or containers
|
8291
8897
|
in the storage account. The default interpretation is false for this property.
|
8292
8898
|
:paramtype allow_blob_public_access: bool
|
8293
8899
|
:keyword minimum_tls_version: Set the minimum TLS version to be permitted on requests to
|
8294
8900
|
storage. The default interpretation is TLS 1.0 for this property. Known values are: "TLS1_0",
|
8295
8901
|
"TLS1_1", "TLS1_2", and "TLS1_3".
|
8296
|
-
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.
|
8902
|
+
:paramtype minimum_tls_version: str or ~azure.mgmt.storage.v2024_01_01.models.MinimumTlsVersion
|
8297
8903
|
:keyword allow_shared_key_access: Indicates whether the storage account permits requests to be
|
8298
8904
|
authorized with the account access key via Shared Key. If false, then all requests, including
|
8299
8905
|
shared access signatures, must be authorized with Azure Active Directory (Azure AD). The
|
@@ -8312,20 +8918,20 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
8312
8918
|
passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. Known values are: "Enabled",
|
8313
8919
|
"Disabled", and "SecuredByPerimeter".
|
8314
8920
|
:paramtype public_network_access: str or
|
8315
|
-
~azure.mgmt.storage.
|
8921
|
+
~azure.mgmt.storage.v2024_01_01.models.PublicNetworkAccess
|
8316
8922
|
:keyword immutable_storage_with_versioning: The property is immutable and can only be set to
|
8317
8923
|
true at the account creation time. When set to true, it enables object level immutability for
|
8318
8924
|
all the containers in the account by default.
|
8319
8925
|
:paramtype immutable_storage_with_versioning:
|
8320
|
-
~azure.mgmt.storage.
|
8926
|
+
~azure.mgmt.storage.v2024_01_01.models.ImmutableStorageAccount
|
8321
8927
|
:keyword allowed_copy_scope: Restrict copy to and from Storage Accounts within an AAD tenant or
|
8322
8928
|
with Private Links to the same VNet. Known values are: "PrivateLink" and "AAD".
|
8323
|
-
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.
|
8929
|
+
:paramtype allowed_copy_scope: str or ~azure.mgmt.storage.v2024_01_01.models.AllowedCopyScope
|
8324
8930
|
:keyword dns_endpoint_type: Allows you to specify the type of endpoint. Set this to
|
8325
8931
|
AzureDNSZone to create a large number of accounts in a single subscription, which creates
|
8326
8932
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
8327
8933
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
8328
|
-
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.
|
8934
|
+
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.v2024_01_01.models.DnsEndpointType
|
8329
8935
|
"""
|
8330
8936
|
super().__init__(**kwargs)
|
8331
8937
|
self.sku = sku
|
@@ -8408,7 +9014,7 @@ class StorageSkuListResult(_serialization.Model):
|
|
8408
9014
|
Variables are only populated by the server, and will be ignored when sending a request.
|
8409
9015
|
|
8410
9016
|
:ivar value: Get the list result of storage SKUs and their properties.
|
8411
|
-
:vartype value: list[~azure.mgmt.storage.
|
9017
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.SkuInformation]
|
8412
9018
|
"""
|
8413
9019
|
|
8414
9020
|
_validation = {
|
@@ -8441,7 +9047,7 @@ class StorageTaskAssignment(Resource):
|
|
8441
9047
|
"Microsoft.Storage/storageAccounts".
|
8442
9048
|
:vartype type: str
|
8443
9049
|
:ivar properties: Properties of the storage task assignment. Required.
|
8444
|
-
:vartype properties: ~azure.mgmt.storage.
|
9050
|
+
:vartype properties: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentProperties
|
8445
9051
|
"""
|
8446
9052
|
|
8447
9053
|
_validation = {
|
@@ -8461,7 +9067,7 @@ class StorageTaskAssignment(Resource):
|
|
8461
9067
|
def __init__(self, *, properties: "_models.StorageTaskAssignmentProperties", **kwargs: Any) -> None:
|
8462
9068
|
"""
|
8463
9069
|
:keyword properties: Properties of the storage task assignment. Required.
|
8464
|
-
:paramtype properties: ~azure.mgmt.storage.
|
9070
|
+
:paramtype properties: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentProperties
|
8465
9071
|
"""
|
8466
9072
|
super().__init__(**kwargs)
|
8467
9073
|
self.properties = properties
|
@@ -8473,9 +9079,9 @@ class StorageTaskAssignmentExecutionContext(_serialization.Model):
|
|
8473
9079
|
All required parameters must be populated in order to send to server.
|
8474
9080
|
|
8475
9081
|
:ivar target: Execution target of the storage task assignment.
|
8476
|
-
:vartype target: ~azure.mgmt.storage.
|
9082
|
+
:vartype target: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTarget
|
8477
9083
|
:ivar trigger: Execution trigger of the storage task assignment. Required.
|
8478
|
-
:vartype trigger: ~azure.mgmt.storage.
|
9084
|
+
:vartype trigger: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTrigger
|
8479
9085
|
"""
|
8480
9086
|
|
8481
9087
|
_validation = {
|
@@ -8492,9 +9098,9 @@ class StorageTaskAssignmentExecutionContext(_serialization.Model):
|
|
8492
9098
|
) -> None:
|
8493
9099
|
"""
|
8494
9100
|
:keyword target: Execution target of the storage task assignment.
|
8495
|
-
:paramtype target: ~azure.mgmt.storage.
|
9101
|
+
:paramtype target: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTarget
|
8496
9102
|
:keyword trigger: Execution trigger of the storage task assignment. Required.
|
8497
|
-
:paramtype trigger: ~azure.mgmt.storage.
|
9103
|
+
:paramtype trigger: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTrigger
|
8498
9104
|
"""
|
8499
9105
|
super().__init__(**kwargs)
|
8500
9106
|
self.target = target
|
@@ -8516,15 +9122,15 @@ class StorageTaskAssignmentProperties(_serialization.Model):
|
|
8516
9122
|
:vartype description: str
|
8517
9123
|
:ivar execution_context: The storage task assignment execution context. Required.
|
8518
9124
|
:vartype execution_context:
|
8519
|
-
~azure.mgmt.storage.
|
9125
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentExecutionContext
|
8520
9126
|
:ivar report: The storage task assignment report. Required.
|
8521
|
-
:vartype report: ~azure.mgmt.storage.
|
9127
|
+
:vartype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentReport
|
8522
9128
|
:ivar provisioning_state: Represents the provisioning state of the storage task assignment.
|
8523
9129
|
Known values are: "Creating", "ResolvingDNS", "Succeeded", "ValidateSubscriptionQuotaBegin",
|
8524
9130
|
"ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and "Failed".
|
8525
|
-
:vartype provisioning_state: str or ~azure.mgmt.storage.
|
9131
|
+
:vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState
|
8526
9132
|
:ivar run_status: Run status of storage task assignment.
|
8527
|
-
:vartype run_status: ~azure.mgmt.storage.
|
9133
|
+
:vartype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8528
9134
|
"""
|
8529
9135
|
|
8530
9136
|
_validation = {
|
@@ -8566,11 +9172,11 @@ class StorageTaskAssignmentProperties(_serialization.Model):
|
|
8566
9172
|
:paramtype description: str
|
8567
9173
|
:keyword execution_context: The storage task assignment execution context. Required.
|
8568
9174
|
:paramtype execution_context:
|
8569
|
-
~azure.mgmt.storage.
|
9175
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentExecutionContext
|
8570
9176
|
:keyword report: The storage task assignment report. Required.
|
8571
|
-
:paramtype report: ~azure.mgmt.storage.
|
9177
|
+
:paramtype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentReport
|
8572
9178
|
:keyword run_status: Run status of storage task assignment.
|
8573
|
-
:paramtype run_status: ~azure.mgmt.storage.
|
9179
|
+
:paramtype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8574
9180
|
"""
|
8575
9181
|
super().__init__(**kwargs)
|
8576
9182
|
self.task_id = task_id
|
@@ -8616,7 +9222,7 @@ class StorageTaskAssignmentsList(_serialization.Model):
|
|
8616
9222
|
Variables are only populated by the server, and will be ignored when sending a request.
|
8617
9223
|
|
8618
9224
|
:ivar value: Gets the list of storage task assignments and their properties.
|
8619
|
-
:vartype value: list[~azure.mgmt.storage.
|
9225
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignment]
|
8620
9226
|
:ivar next_link: Request URL that can be used to query next page of storage task assignments.
|
8621
9227
|
Returned when total number of requested storage task assignments exceed maximum page size.
|
8622
9228
|
:vartype next_link: str
|
@@ -8643,9 +9249,9 @@ class StorageTaskAssignmentUpdateExecutionContext(_serialization.Model): # pyli
|
|
8643
9249
|
"""Execution context of the storage task assignment update.
|
8644
9250
|
|
8645
9251
|
:ivar target: Execution target of the storage task assignment.
|
8646
|
-
:vartype target: ~azure.mgmt.storage.
|
9252
|
+
:vartype target: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTarget
|
8647
9253
|
:ivar trigger: Execution trigger of the storage task assignment.
|
8648
|
-
:vartype trigger: ~azure.mgmt.storage.
|
9254
|
+
:vartype trigger: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTriggerUpdate
|
8649
9255
|
"""
|
8650
9256
|
|
8651
9257
|
_attribute_map = {
|
@@ -8662,9 +9268,9 @@ class StorageTaskAssignmentUpdateExecutionContext(_serialization.Model): # pyli
|
|
8662
9268
|
) -> None:
|
8663
9269
|
"""
|
8664
9270
|
:keyword target: Execution target of the storage task assignment.
|
8665
|
-
:paramtype target: ~azure.mgmt.storage.
|
9271
|
+
:paramtype target: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTarget
|
8666
9272
|
:keyword trigger: Execution trigger of the storage task assignment.
|
8667
|
-
:paramtype trigger: ~azure.mgmt.storage.
|
9273
|
+
:paramtype trigger: ~azure.mgmt.storage.v2024_01_01.models.ExecutionTriggerUpdate
|
8668
9274
|
"""
|
8669
9275
|
super().__init__(**kwargs)
|
8670
9276
|
self.target = target
|
@@ -8676,7 +9282,7 @@ class StorageTaskAssignmentUpdateParameters(_serialization.Model):
|
|
8676
9282
|
|
8677
9283
|
:ivar properties: Properties of the storage task assignment.
|
8678
9284
|
:vartype properties:
|
8679
|
-
~azure.mgmt.storage.
|
9285
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateProperties
|
8680
9286
|
"""
|
8681
9287
|
|
8682
9288
|
_attribute_map = {
|
@@ -8689,7 +9295,7 @@ class StorageTaskAssignmentUpdateParameters(_serialization.Model):
|
|
8689
9295
|
"""
|
8690
9296
|
:keyword properties: Properties of the storage task assignment.
|
8691
9297
|
:paramtype properties:
|
8692
|
-
~azure.mgmt.storage.
|
9298
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateProperties
|
8693
9299
|
"""
|
8694
9300
|
super().__init__(**kwargs)
|
8695
9301
|
self.properties = properties
|
@@ -8708,15 +9314,15 @@ class StorageTaskAssignmentUpdateProperties(_serialization.Model):
|
|
8708
9314
|
:vartype description: str
|
8709
9315
|
:ivar execution_context: The storage task assignment execution context.
|
8710
9316
|
:vartype execution_context:
|
8711
|
-
~azure.mgmt.storage.
|
9317
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateExecutionContext
|
8712
9318
|
:ivar report: The storage task assignment report.
|
8713
|
-
:vartype report: ~azure.mgmt.storage.
|
9319
|
+
:vartype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateReport
|
8714
9320
|
:ivar provisioning_state: Represents the provisioning state of the storage task assignment.
|
8715
9321
|
Known values are: "Creating", "ResolvingDNS", "Succeeded", "ValidateSubscriptionQuotaBegin",
|
8716
9322
|
"ValidateSubscriptionQuotaEnd", "Deleting", "Canceled", and "Failed".
|
8717
|
-
:vartype provisioning_state: str or ~azure.mgmt.storage.
|
9323
|
+
:vartype provisioning_state: str or ~azure.mgmt.storage.v2024_01_01.models.ProvisioningState
|
8718
9324
|
:ivar run_status: Run status of storage task assignment.
|
8719
|
-
:vartype run_status: ~azure.mgmt.storage.
|
9325
|
+
:vartype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8720
9326
|
"""
|
8721
9327
|
|
8722
9328
|
_validation = {
|
@@ -8751,11 +9357,11 @@ class StorageTaskAssignmentUpdateProperties(_serialization.Model):
|
|
8751
9357
|
:paramtype description: str
|
8752
9358
|
:keyword execution_context: The storage task assignment execution context.
|
8753
9359
|
:paramtype execution_context:
|
8754
|
-
~azure.mgmt.storage.
|
9360
|
+
~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateExecutionContext
|
8755
9361
|
:keyword report: The storage task assignment report.
|
8756
|
-
:paramtype report: ~azure.mgmt.storage.
|
9362
|
+
:paramtype report: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskAssignmentUpdateReport
|
8757
9363
|
:keyword run_status: Run status of storage task assignment.
|
8758
|
-
:paramtype run_status: ~azure.mgmt.storage.
|
9364
|
+
:paramtype run_status: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8759
9365
|
"""
|
8760
9366
|
super().__init__(**kwargs)
|
8761
9367
|
self.task_id = None
|
@@ -8801,7 +9407,7 @@ class StorageTaskReportInstance(ProxyResource):
|
|
8801
9407
|
"Microsoft.Storage/storageAccounts".
|
8802
9408
|
:vartype type: str
|
8803
9409
|
:ivar properties: Storage task execution report for a run instance.
|
8804
|
-
:vartype properties: ~azure.mgmt.storage.
|
9410
|
+
:vartype properties: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8805
9411
|
"""
|
8806
9412
|
|
8807
9413
|
_validation = {
|
@@ -8820,7 +9426,7 @@ class StorageTaskReportInstance(ProxyResource):
|
|
8820
9426
|
def __init__(self, *, properties: Optional["_models.StorageTaskReportProperties"] = None, **kwargs: Any) -> None:
|
8821
9427
|
"""
|
8822
9428
|
:keyword properties: Storage task execution report for a run instance.
|
8823
|
-
:paramtype properties: ~azure.mgmt.storage.
|
9429
|
+
:paramtype properties: ~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportProperties
|
8824
9430
|
"""
|
8825
9431
|
super().__init__(**kwargs)
|
8826
9432
|
self.properties = properties
|
@@ -8872,7 +9478,7 @@ class StorageTaskReportProperties(_serialization.Model):
|
|
8872
9478
|
:vartype run_status_error: str
|
8873
9479
|
:ivar run_status_enum: Represents the status of the execution. Known values are: "InProgress"
|
8874
9480
|
and "Finished".
|
8875
|
-
:vartype run_status_enum: str or ~azure.mgmt.storage.
|
9481
|
+
:vartype run_status_enum: str or ~azure.mgmt.storage.v2024_01_01.models.RunStatusEnum
|
8876
9482
|
:ivar summary_report_path: Full path to the verbose report stored in the reporting container as
|
8877
9483
|
specified in the assignment execution context for the storage account.
|
8878
9484
|
:vartype summary_report_path: str
|
@@ -8882,7 +9488,7 @@ class StorageTaskReportProperties(_serialization.Model):
|
|
8882
9488
|
:vartype task_version: str
|
8883
9489
|
:ivar run_result: Represents the overall result of the execution for the run instance. Known
|
8884
9490
|
values are: "Succeeded" and "Failed".
|
8885
|
-
:vartype run_result: str or ~azure.mgmt.storage.
|
9491
|
+
:vartype run_result: str or ~azure.mgmt.storage.v2024_01_01.models.RunResult
|
8886
9492
|
"""
|
8887
9493
|
|
8888
9494
|
_validation = {
|
@@ -8944,7 +9550,7 @@ class StorageTaskReportSummary(_serialization.Model):
|
|
8944
9550
|
Variables are only populated by the server, and will be ignored when sending a request.
|
8945
9551
|
|
8946
9552
|
:ivar value: Gets storage tasks run result summary.
|
8947
|
-
:vartype value: list[~azure.mgmt.storage.
|
9553
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.StorageTaskReportInstance]
|
8948
9554
|
:ivar next_link: Request URL that can be used to query next page of storage task run results
|
8949
9555
|
summary. Returned when the number of run instances and summary reports exceed maximum page
|
8950
9556
|
size.
|
@@ -8975,14 +9581,14 @@ class SystemData(_serialization.Model):
|
|
8975
9581
|
:vartype created_by: str
|
8976
9582
|
:ivar created_by_type: The type of identity that created the resource. Known values are:
|
8977
9583
|
"User", "Application", "ManagedIdentity", and "Key".
|
8978
|
-
:vartype created_by_type: str or ~azure.mgmt.storage.
|
9584
|
+
:vartype created_by_type: str or ~azure.mgmt.storage.v2024_01_01.models.CreatedByType
|
8979
9585
|
:ivar created_at: The timestamp of resource creation (UTC).
|
8980
9586
|
:vartype created_at: ~datetime.datetime
|
8981
9587
|
:ivar last_modified_by: The identity that last modified the resource.
|
8982
9588
|
:vartype last_modified_by: str
|
8983
9589
|
:ivar last_modified_by_type: The type of identity that last modified the resource. Known values
|
8984
9590
|
are: "User", "Application", "ManagedIdentity", and "Key".
|
8985
|
-
:vartype last_modified_by_type: str or ~azure.mgmt.storage.
|
9591
|
+
:vartype last_modified_by_type: str or ~azure.mgmt.storage.v2024_01_01.models.CreatedByType
|
8986
9592
|
:ivar last_modified_at: The timestamp of resource last modification (UTC).
|
8987
9593
|
:vartype last_modified_at: ~datetime.datetime
|
8988
9594
|
"""
|
@@ -9012,14 +9618,14 @@ class SystemData(_serialization.Model):
|
|
9012
9618
|
:paramtype created_by: str
|
9013
9619
|
:keyword created_by_type: The type of identity that created the resource. Known values are:
|
9014
9620
|
"User", "Application", "ManagedIdentity", and "Key".
|
9015
|
-
:paramtype created_by_type: str or ~azure.mgmt.storage.
|
9621
|
+
:paramtype created_by_type: str or ~azure.mgmt.storage.v2024_01_01.models.CreatedByType
|
9016
9622
|
:keyword created_at: The timestamp of resource creation (UTC).
|
9017
9623
|
:paramtype created_at: ~datetime.datetime
|
9018
9624
|
:keyword last_modified_by: The identity that last modified the resource.
|
9019
9625
|
:paramtype last_modified_by: str
|
9020
9626
|
:keyword last_modified_by_type: The type of identity that last modified the resource. Known
|
9021
9627
|
values are: "User", "Application", "ManagedIdentity", and "Key".
|
9022
|
-
:paramtype last_modified_by_type: str or ~azure.mgmt.storage.
|
9628
|
+
:paramtype last_modified_by_type: str or ~azure.mgmt.storage.v2024_01_01.models.CreatedByType
|
9023
9629
|
:keyword last_modified_at: The timestamp of resource last modification (UTC).
|
9024
9630
|
:paramtype last_modified_at: ~datetime.datetime
|
9025
9631
|
"""
|
@@ -9048,7 +9654,7 @@ class Table(Resource):
|
|
9048
9654
|
:ivar table_name: Table name under the specified account.
|
9049
9655
|
:vartype table_name: str
|
9050
9656
|
:ivar signed_identifiers: List of stored access policies specified on the table.
|
9051
|
-
:vartype signed_identifiers: list[~azure.mgmt.storage.
|
9657
|
+
:vartype signed_identifiers: list[~azure.mgmt.storage.v2024_01_01.models.TableSignedIdentifier]
|
9052
9658
|
"""
|
9053
9659
|
|
9054
9660
|
_validation = {
|
@@ -9072,7 +9678,7 @@ class Table(Resource):
|
|
9072
9678
|
"""
|
9073
9679
|
:keyword signed_identifiers: List of stored access policies specified on the table.
|
9074
9680
|
:paramtype signed_identifiers:
|
9075
|
-
list[~azure.mgmt.storage.
|
9681
|
+
list[~azure.mgmt.storage.v2024_01_01.models.TableSignedIdentifier]
|
9076
9682
|
"""
|
9077
9683
|
super().__init__(**kwargs)
|
9078
9684
|
self.table_name = None
|
@@ -9142,7 +9748,7 @@ class TableServiceProperties(Resource):
|
|
9142
9748
|
:ivar cors: Specifies CORS rules for the Table service. You can include up to five CorsRule
|
9143
9749
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
9144
9750
|
rules will be deleted, and CORS will be disabled for the Table service.
|
9145
|
-
:vartype cors: ~azure.mgmt.storage.
|
9751
|
+
:vartype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
9146
9752
|
"""
|
9147
9753
|
|
9148
9754
|
_validation = {
|
@@ -9163,7 +9769,7 @@ class TableServiceProperties(Resource):
|
|
9163
9769
|
:keyword cors: Specifies CORS rules for the Table service. You can include up to five CorsRule
|
9164
9770
|
elements in the request. If no CorsRule elements are included in the request body, all CORS
|
9165
9771
|
rules will be deleted, and CORS will be disabled for the Table service.
|
9166
|
-
:paramtype cors: ~azure.mgmt.storage.
|
9772
|
+
:paramtype cors: ~azure.mgmt.storage.v2024_01_01.models.CorsRules
|
9167
9773
|
"""
|
9168
9774
|
super().__init__(**kwargs)
|
9169
9775
|
self.cors = cors
|
@@ -9177,7 +9783,7 @@ class TableSignedIdentifier(_serialization.Model):
|
|
9177
9783
|
:ivar id: unique-64-character-value of the stored access policy. Required.
|
9178
9784
|
:vartype id: str
|
9179
9785
|
:ivar access_policy: Access policy.
|
9180
|
-
:vartype access_policy: ~azure.mgmt.storage.
|
9786
|
+
:vartype access_policy: ~azure.mgmt.storage.v2024_01_01.models.TableAccessPolicy
|
9181
9787
|
"""
|
9182
9788
|
|
9183
9789
|
_validation = {
|
@@ -9200,7 +9806,7 @@ class TableSignedIdentifier(_serialization.Model):
|
|
9200
9806
|
:keyword id: unique-64-character-value of the stored access policy. Required.
|
9201
9807
|
:paramtype id: str
|
9202
9808
|
:keyword access_policy: Access policy.
|
9203
|
-
:paramtype access_policy: ~azure.mgmt.storage.
|
9809
|
+
:paramtype access_policy: ~azure.mgmt.storage.v2024_01_01.models.TableAccessPolicy
|
9204
9810
|
"""
|
9205
9811
|
super().__init__(**kwargs)
|
9206
9812
|
self.id = id
|
@@ -9455,7 +10061,7 @@ class UpdateHistoryProperty(_serialization.Model):
|
|
9455
10061
|
|
9456
10062
|
:ivar update: The ImmutabilityPolicy update type of a blob container, possible values include:
|
9457
10063
|
put, lock and extend. Known values are: "put", "lock", and "extend".
|
9458
|
-
:vartype update: str or ~azure.mgmt.storage.
|
10064
|
+
:vartype update: str or ~azure.mgmt.storage.v2024_01_01.models.ImmutabilityPolicyUpdateType
|
9459
10065
|
:ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the
|
9460
10066
|
container since the policy creation, in days.
|
9461
10067
|
:vartype immutability_period_since_creation_in_days: int
|
@@ -9543,13 +10149,13 @@ class Usage(_serialization.Model):
|
|
9543
10149
|
|
9544
10150
|
:ivar unit: Gets the unit of measurement. Known values are: "Count", "Bytes", "Seconds",
|
9545
10151
|
"Percent", "CountsPerSecond", and "BytesPerSecond".
|
9546
|
-
:vartype unit: str or ~azure.mgmt.storage.
|
10152
|
+
:vartype unit: str or ~azure.mgmt.storage.v2024_01_01.models.UsageUnit
|
9547
10153
|
:ivar current_value: Gets the current count of the allocated resources in the subscription.
|
9548
10154
|
:vartype current_value: int
|
9549
10155
|
:ivar limit: Gets the maximum count of the resources that can be allocated in the subscription.
|
9550
10156
|
:vartype limit: int
|
9551
10157
|
:ivar name: Gets the name of the type of usage.
|
9552
|
-
:vartype name: ~azure.mgmt.storage.
|
10158
|
+
:vartype name: ~azure.mgmt.storage.v2024_01_01.models.UsageName
|
9553
10159
|
"""
|
9554
10160
|
|
9555
10161
|
_validation = {
|
@@ -9579,7 +10185,7 @@ class UsageListResult(_serialization.Model):
|
|
9579
10185
|
"""The response from the List Usages operation.
|
9580
10186
|
|
9581
10187
|
:ivar value: Gets or sets the list of Storage Resource Usages.
|
9582
|
-
:vartype value: list[~azure.mgmt.storage.
|
10188
|
+
:vartype value: list[~azure.mgmt.storage.v2024_01_01.models.Usage]
|
9583
10189
|
"""
|
9584
10190
|
|
9585
10191
|
_attribute_map = {
|
@@ -9589,7 +10195,7 @@ class UsageListResult(_serialization.Model):
|
|
9589
10195
|
def __init__(self, *, value: Optional[List["_models.Usage"]] = None, **kwargs: Any) -> None:
|
9590
10196
|
"""
|
9591
10197
|
:keyword value: Gets or sets the list of Storage Resource Usages.
|
9592
|
-
:paramtype value: list[~azure.mgmt.storage.
|
10198
|
+
:paramtype value: list[~azure.mgmt.storage.v2024_01_01.models.Usage]
|
9593
10199
|
"""
|
9594
10200
|
super().__init__(**kwargs)
|
9595
10201
|
self.value = value
|
@@ -9664,7 +10270,7 @@ class VirtualNetworkRule(_serialization.Model):
|
|
9664
10270
|
:vartype action: str
|
9665
10271
|
:ivar state: Gets the state of virtual network rule. Known values are: "Provisioning",
|
9666
10272
|
"Deprovisioning", "Succeeded", "Failed", and "NetworkSourceDeleted".
|
9667
|
-
:vartype state: str or ~azure.mgmt.storage.
|
10273
|
+
:vartype state: str or ~azure.mgmt.storage.v2024_01_01.models.State
|
9668
10274
|
"""
|
9669
10275
|
|
9670
10276
|
_validation = {
|
@@ -9694,7 +10300,7 @@ class VirtualNetworkRule(_serialization.Model):
|
|
9694
10300
|
:paramtype action: str
|
9695
10301
|
:keyword state: Gets the state of virtual network rule. Known values are: "Provisioning",
|
9696
10302
|
"Deprovisioning", "Succeeded", "Failed", and "NetworkSourceDeleted".
|
9697
|
-
:paramtype state: str or ~azure.mgmt.storage.
|
10303
|
+
:paramtype state: str or ~azure.mgmt.storage.v2024_01_01.models.State
|
9698
10304
|
"""
|
9699
10305
|
super().__init__(**kwargs)
|
9700
10306
|
self.virtual_network_resource_id = virtual_network_resource_id
|