azure-mgmt-storage 23.1.0__py3-none-any.whl → 24.0.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/_configuration.py +15 -4
- azure/mgmt/storage/_storage_management_client.py +18 -4
- azure/mgmt/storage/_utils/serialization.py +12 -14
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +15 -4
- azure/mgmt/storage/aio/_storage_management_client.py +18 -4
- azure/mgmt/storage/aio/operations/_blob_containers_operations.py +9 -5
- azure/mgmt/storage/aio/operations/_blob_inventory_policies_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_blob_services_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_deleted_accounts_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_encryption_scopes_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_file_services_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_file_shares_operations.py +5 -3
- azure/mgmt/storage/aio/operations/_local_users_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_management_policies_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_network_security_perimeter_configurations_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_object_replication_policies_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_private_endpoint_connections_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_private_link_resources_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_queue_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_queue_services_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_skus_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_storage_accounts_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_storage_task_assignment_instances_report_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_storage_task_assignments_instances_report_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_storage_task_assignments_operations.py +7 -6
- azure/mgmt/storage/aio/operations/_table_operations.py +7 -4
- azure/mgmt/storage/aio/operations/_table_services_operations.py +3 -2
- azure/mgmt/storage/aio/operations/_usages_operations.py +3 -2
- azure/mgmt/storage/models/__init__.py +4 -0
- azure/mgmt/storage/models/_models_py3.py +195 -93
- azure/mgmt/storage/operations/_blob_containers_operations.py +23 -19
- azure/mgmt/storage/operations/_blob_inventory_policies_operations.py +7 -6
- azure/mgmt/storage/operations/_blob_services_operations.py +6 -5
- azure/mgmt/storage/operations/_deleted_accounts_operations.py +5 -4
- azure/mgmt/storage/operations/_encryption_scopes_operations.py +7 -6
- azure/mgmt/storage/operations/_file_services_operations.py +8 -7
- azure/mgmt/storage/operations/_file_shares_operations.py +12 -10
- azure/mgmt/storage/operations/_local_users_operations.py +9 -8
- azure/mgmt/storage/operations/_management_policies_operations.py +6 -5
- azure/mgmt/storage/operations/_network_security_perimeter_configurations_operations.py +6 -5
- azure/mgmt/storage/operations/_object_replication_policies_operations.py +7 -6
- azure/mgmt/storage/operations/_operations.py +4 -3
- azure/mgmt/storage/operations/_private_endpoint_connections_operations.py +7 -6
- azure/mgmt/storage/operations/_private_link_resources_operations.py +4 -3
- azure/mgmt/storage/operations/_queue_operations.py +8 -7
- azure/mgmt/storage/operations/_queue_services_operations.py +6 -5
- azure/mgmt/storage/operations/_skus_operations.py +4 -3
- azure/mgmt/storage/operations/_storage_accounts_operations.py +21 -20
- azure/mgmt/storage/operations/_storage_task_assignment_instances_report_operations.py +5 -4
- azure/mgmt/storage/operations/_storage_task_assignments_instances_report_operations.py +4 -3
- azure/mgmt/storage/operations/_storage_task_assignments_operations.py +19 -23
- azure/mgmt/storage/operations/_table_operations.py +12 -9
- azure/mgmt/storage/operations/_table_services_operations.py +6 -5
- azure/mgmt/storage/operations/_usages_operations.py +4 -3
- {azure_mgmt_storage-23.1.0.dist-info → azure_mgmt_storage-24.0.0.dist-info}/METADATA +22 -21
- azure_mgmt_storage-24.0.0.dist-info/RECORD +73 -0
- azure_mgmt_storage-23.1.0.dist-info/RECORD +0 -73
- {azure_mgmt_storage-23.1.0.dist-info → azure_mgmt_storage-24.0.0.dist-info}/WHEEL +0 -0
- {azure_mgmt_storage-23.1.0.dist-info → azure_mgmt_storage-24.0.0.dist-info}/licenses/LICENSE +0 -0
- {azure_mgmt_storage-23.1.0.dist-info → azure_mgmt_storage-24.0.0.dist-info}/top_level.txt +0 -0
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
# --------------------------------------------------------------------------
|
|
9
9
|
|
|
10
|
+
from collections.abc import MutableMapping
|
|
10
11
|
import datetime
|
|
11
|
-
from typing import Any,
|
|
12
|
+
from typing import Any, Literal, Optional, TYPE_CHECKING, Union
|
|
12
13
|
|
|
13
14
|
from .._utils import serialization as _serialization
|
|
14
15
|
|
|
15
16
|
if TYPE_CHECKING:
|
|
16
17
|
from .. import models as _models
|
|
18
|
+
JSON = MutableMapping[str, Any]
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
class AccessPolicy(_serialization.Model):
|
|
@@ -714,7 +716,7 @@ class BlobContainer(AzureEntityResource):
|
|
|
714
716
|
default_encryption_scope: Optional[str] = None,
|
|
715
717
|
deny_encryption_scope_override: Optional[bool] = None,
|
|
716
718
|
public_access: Optional[Union[str, "_models.PublicAccess"]] = None,
|
|
717
|
-
metadata: Optional[
|
|
719
|
+
metadata: Optional[dict[str, str]] = None,
|
|
718
720
|
immutable_storage_with_versioning: Optional["_models.ImmutableStorageWithVersioning"] = None,
|
|
719
721
|
enable_nfs_v3_root_squash: Optional[bool] = None,
|
|
720
722
|
enable_nfs_v3_all_squash: Optional[bool] = None,
|
|
@@ -901,7 +903,7 @@ class BlobInventoryPolicyDefinition(_serialization.Model):
|
|
|
901
903
|
format: Union[str, "_models.Format"],
|
|
902
904
|
schedule: Union[str, "_models.Schedule"],
|
|
903
905
|
object_type: Union[str, "_models.ObjectType"],
|
|
904
|
-
schema_fields:
|
|
906
|
+
schema_fields: list[str],
|
|
905
907
|
filters: Optional["_models.BlobInventoryPolicyFilter"] = None,
|
|
906
908
|
**kwargs: Any
|
|
907
909
|
) -> None:
|
|
@@ -995,9 +997,9 @@ class BlobInventoryPolicyFilter(_serialization.Model):
|
|
|
995
997
|
def __init__(
|
|
996
998
|
self,
|
|
997
999
|
*,
|
|
998
|
-
prefix_match: Optional[
|
|
999
|
-
exclude_prefix: Optional[
|
|
1000
|
-
blob_types: Optional[
|
|
1000
|
+
prefix_match: Optional[list[str]] = None,
|
|
1001
|
+
exclude_prefix: Optional[list[str]] = None,
|
|
1002
|
+
blob_types: Optional[list[str]] = None,
|
|
1001
1003
|
include_blob_versions: Optional[bool] = None,
|
|
1002
1004
|
include_snapshots: Optional[bool] = None,
|
|
1003
1005
|
include_deleted: Optional[bool] = None,
|
|
@@ -1141,7 +1143,7 @@ class BlobInventoryPolicySchema(_serialization.Model):
|
|
|
1141
1143
|
*,
|
|
1142
1144
|
enabled: bool,
|
|
1143
1145
|
type: Union[str, "_models.InventoryRuleType"],
|
|
1144
|
-
rules:
|
|
1146
|
+
rules: list["_models.BlobInventoryPolicyRule"],
|
|
1145
1147
|
**kwargs: Any
|
|
1146
1148
|
) -> None:
|
|
1147
1149
|
"""
|
|
@@ -1182,7 +1184,7 @@ class BlobRestoreParameters(_serialization.Model):
|
|
|
1182
1184
|
}
|
|
1183
1185
|
|
|
1184
1186
|
def __init__(
|
|
1185
|
-
self, *, time_to_restore: datetime.datetime, blob_ranges:
|
|
1187
|
+
self, *, time_to_restore: datetime.datetime, blob_ranges: list["_models.BlobRestoreRange"], **kwargs: Any
|
|
1186
1188
|
) -> None:
|
|
1187
1189
|
"""
|
|
1188
1190
|
:keyword time_to_restore: Restore blob to the specified time. Required.
|
|
@@ -1289,7 +1291,7 @@ class BlobServiceItems(_serialization.Model):
|
|
|
1289
1291
|
def __init__(self, **kwargs: Any) -> None:
|
|
1290
1292
|
""" """
|
|
1291
1293
|
super().__init__(**kwargs)
|
|
1292
|
-
self.value: Optional[
|
|
1294
|
+
self.value: Optional[list["_models.BlobServiceProperties"]] = None
|
|
1293
1295
|
|
|
1294
1296
|
|
|
1295
1297
|
class BlobServiceProperties(Resource):
|
|
@@ -1555,7 +1557,7 @@ class CloudErrorBody(_serialization.Model):
|
|
|
1555
1557
|
code: Optional[str] = None,
|
|
1556
1558
|
message: Optional[str] = None,
|
|
1557
1559
|
target: Optional[str] = None,
|
|
1558
|
-
details: Optional[
|
|
1560
|
+
details: Optional[list["_models.CloudErrorBody"]] = None,
|
|
1559
1561
|
**kwargs: Any
|
|
1560
1562
|
) -> None:
|
|
1561
1563
|
"""
|
|
@@ -1619,11 +1621,11 @@ class CorsRule(_serialization.Model):
|
|
|
1619
1621
|
def __init__(
|
|
1620
1622
|
self,
|
|
1621
1623
|
*,
|
|
1622
|
-
allowed_origins:
|
|
1623
|
-
allowed_methods:
|
|
1624
|
+
allowed_origins: list[str],
|
|
1625
|
+
allowed_methods: list[Union[str, "_models.AllowedMethods"]],
|
|
1624
1626
|
max_age_in_seconds: int,
|
|
1625
|
-
exposed_headers:
|
|
1626
|
-
allowed_headers:
|
|
1627
|
+
exposed_headers: list[str],
|
|
1628
|
+
allowed_headers: list[str],
|
|
1627
1629
|
**kwargs: Any
|
|
1628
1630
|
) -> None:
|
|
1629
1631
|
"""
|
|
@@ -1663,7 +1665,7 @@ class CorsRules(_serialization.Model):
|
|
|
1663
1665
|
"cors_rules": {"key": "corsRules", "type": "[CorsRule]"},
|
|
1664
1666
|
}
|
|
1665
1667
|
|
|
1666
|
-
def __init__(self, *, cors_rules: Optional[
|
|
1668
|
+
def __init__(self, *, cors_rules: Optional[list["_models.CorsRule"]] = None, **kwargs: Any) -> None:
|
|
1667
1669
|
"""
|
|
1668
1670
|
:keyword cors_rules: The List of CORS rules. You can include up to five CorsRule elements in
|
|
1669
1671
|
the request.
|
|
@@ -1926,7 +1928,7 @@ class DeletedAccountListResult(_serialization.Model):
|
|
|
1926
1928
|
def __init__(self, **kwargs: Any) -> None:
|
|
1927
1929
|
""" """
|
|
1928
1930
|
super().__init__(**kwargs)
|
|
1929
|
-
self.value: Optional[
|
|
1931
|
+
self.value: Optional[list["_models.DeletedAccount"]] = None
|
|
1930
1932
|
self.next_link: Optional[str] = None
|
|
1931
1933
|
|
|
1932
1934
|
|
|
@@ -2334,7 +2336,7 @@ class EncryptionScopeListResult(_serialization.Model):
|
|
|
2334
2336
|
def __init__(self, **kwargs: Any) -> None:
|
|
2335
2337
|
""" """
|
|
2336
2338
|
super().__init__(**kwargs)
|
|
2337
|
-
self.value: Optional[
|
|
2339
|
+
self.value: Optional[list["_models.EncryptionScope"]] = None
|
|
2338
2340
|
self.next_link: Optional[str] = None
|
|
2339
2341
|
|
|
2340
2342
|
|
|
@@ -2571,8 +2573,8 @@ class ErrorDetail(_serialization.Model):
|
|
|
2571
2573
|
self.code: Optional[str] = None
|
|
2572
2574
|
self.message: Optional[str] = None
|
|
2573
2575
|
self.target: Optional[str] = None
|
|
2574
|
-
self.details: Optional[
|
|
2575
|
-
self.additional_info: Optional[
|
|
2576
|
+
self.details: Optional[list["_models.ErrorDetail"]] = None
|
|
2577
|
+
self.additional_info: Optional[list["_models.ErrorAdditionalInfo"]] = None
|
|
2576
2578
|
|
|
2577
2579
|
|
|
2578
2580
|
class ErrorResponse(_serialization.Model):
|
|
@@ -2664,7 +2666,7 @@ class ExecutionTarget(_serialization.Model):
|
|
|
2664
2666
|
}
|
|
2665
2667
|
|
|
2666
2668
|
def __init__(
|
|
2667
|
-
self, *, prefix: Optional[
|
|
2669
|
+
self, *, prefix: Optional[list[str]] = None, exclude_prefix: Optional[list[str]] = None, **kwargs: Any
|
|
2668
2670
|
) -> None:
|
|
2669
2671
|
"""
|
|
2670
2672
|
:keyword prefix: Required list of object prefixes to be included for task execution.
|
|
@@ -2802,7 +2804,7 @@ class FileServiceItems(_serialization.Model):
|
|
|
2802
2804
|
def __init__(self, **kwargs: Any) -> None:
|
|
2803
2805
|
""" """
|
|
2804
2806
|
super().__init__(**kwargs)
|
|
2805
|
-
self.value: Optional[
|
|
2807
|
+
self.value: Optional[list["_models.FileServiceProperties"]] = None
|
|
2806
2808
|
|
|
2807
2809
|
|
|
2808
2810
|
class FileServiceProperties(Resource):
|
|
@@ -2987,7 +2989,7 @@ class FileServiceUsages(_serialization.Model):
|
|
|
2987
2989
|
def __init__(self, **kwargs: Any) -> None:
|
|
2988
2990
|
""" """
|
|
2989
2991
|
super().__init__(**kwargs)
|
|
2990
|
-
self.value: Optional[
|
|
2992
|
+
self.value: Optional[list["_models.FileServiceUsage"]] = None
|
|
2991
2993
|
self.next_link: Optional[str] = None
|
|
2992
2994
|
|
|
2993
2995
|
|
|
@@ -3154,14 +3156,14 @@ class FileShare(AzureEntityResource):
|
|
|
3154
3156
|
def __init__( # pylint: disable=too-many-locals
|
|
3155
3157
|
self,
|
|
3156
3158
|
*,
|
|
3157
|
-
metadata: Optional[
|
|
3159
|
+
metadata: Optional[dict[str, str]] = None,
|
|
3158
3160
|
share_quota: Optional[int] = None,
|
|
3159
3161
|
provisioned_iops: Optional[int] = None,
|
|
3160
3162
|
provisioned_bandwidth_mibps: Optional[int] = None,
|
|
3161
3163
|
enabled_protocols: Optional[Union[str, "_models.EnabledProtocols"]] = None,
|
|
3162
3164
|
root_squash: Optional[Union[str, "_models.RootSquashType"]] = None,
|
|
3163
3165
|
access_tier: Optional[Union[str, "_models.ShareAccessTier"]] = None,
|
|
3164
|
-
signed_identifiers: Optional[
|
|
3166
|
+
signed_identifiers: Optional[list["_models.SignedIdentifier"]] = None,
|
|
3165
3167
|
file_share_paid_bursting: Optional["_models.FileSharePropertiesFileSharePaidBursting"] = None,
|
|
3166
3168
|
**kwargs: Any
|
|
3167
3169
|
) -> None:
|
|
@@ -3390,14 +3392,14 @@ class FileShareItem(AzureEntityResource):
|
|
|
3390
3392
|
def __init__( # pylint: disable=too-many-locals
|
|
3391
3393
|
self,
|
|
3392
3394
|
*,
|
|
3393
|
-
metadata: Optional[
|
|
3395
|
+
metadata: Optional[dict[str, str]] = None,
|
|
3394
3396
|
share_quota: Optional[int] = None,
|
|
3395
3397
|
provisioned_iops: Optional[int] = None,
|
|
3396
3398
|
provisioned_bandwidth_mibps: Optional[int] = None,
|
|
3397
3399
|
enabled_protocols: Optional[Union[str, "_models.EnabledProtocols"]] = None,
|
|
3398
3400
|
root_squash: Optional[Union[str, "_models.RootSquashType"]] = None,
|
|
3399
3401
|
access_tier: Optional[Union[str, "_models.ShareAccessTier"]] = None,
|
|
3400
|
-
signed_identifiers: Optional[
|
|
3402
|
+
signed_identifiers: Optional[list["_models.SignedIdentifier"]] = None,
|
|
3401
3403
|
file_share_paid_bursting: Optional["_models.FileSharePropertiesFileSharePaidBursting"] = None,
|
|
3402
3404
|
**kwargs: Any
|
|
3403
3405
|
) -> None:
|
|
@@ -3489,7 +3491,7 @@ class FileShareItems(_serialization.Model):
|
|
|
3489
3491
|
def __init__(self, **kwargs: Any) -> None:
|
|
3490
3492
|
""" """
|
|
3491
3493
|
super().__init__(**kwargs)
|
|
3492
|
-
self.value: Optional[
|
|
3494
|
+
self.value: Optional[list["_models.FileShareItem"]] = None
|
|
3493
3495
|
self.next_link: Optional[str] = None
|
|
3494
3496
|
|
|
3495
3497
|
|
|
@@ -3640,6 +3642,28 @@ class FileShareRecommendations(_serialization.Model):
|
|
|
3640
3642
|
self.bandwidth_scalar: Optional[float] = None
|
|
3641
3643
|
|
|
3642
3644
|
|
|
3645
|
+
class GeoPriorityReplicationStatus(_serialization.Model):
|
|
3646
|
+
"""Geo Priority Replication enablement status for the storage account.
|
|
3647
|
+
|
|
3648
|
+
:ivar is_blob_enabled: Indicates whether Blob Geo Priority Replication is enabled for the
|
|
3649
|
+
storage account.
|
|
3650
|
+
:vartype is_blob_enabled: bool
|
|
3651
|
+
"""
|
|
3652
|
+
|
|
3653
|
+
_attribute_map = {
|
|
3654
|
+
"is_blob_enabled": {"key": "isBlobEnabled", "type": "bool"},
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
def __init__(self, *, is_blob_enabled: Optional[bool] = None, **kwargs: Any) -> None:
|
|
3658
|
+
"""
|
|
3659
|
+
:keyword is_blob_enabled: Indicates whether Blob Geo Priority Replication is enabled for the
|
|
3660
|
+
storage account.
|
|
3661
|
+
:paramtype is_blob_enabled: bool
|
|
3662
|
+
"""
|
|
3663
|
+
super().__init__(**kwargs)
|
|
3664
|
+
self.is_blob_enabled = is_blob_enabled
|
|
3665
|
+
|
|
3666
|
+
|
|
3643
3667
|
class GeoReplicationStats(_serialization.Model):
|
|
3644
3668
|
"""Statistics related to replication for storage account's Blob, Table, Queue and File services.
|
|
3645
3669
|
It is only available when geo-redundant replication is enabled for the storage account.
|
|
@@ -3739,7 +3763,7 @@ class Identity(_serialization.Model):
|
|
|
3739
3763
|
self,
|
|
3740
3764
|
*,
|
|
3741
3765
|
type: Union[str, "_models.IdentityType"],
|
|
3742
|
-
user_assigned_identities: Optional[
|
|
3766
|
+
user_assigned_identities: Optional[dict[str, "_models.UserAssignedIdentity"]] = None,
|
|
3743
3767
|
**kwargs: Any
|
|
3744
3768
|
) -> None:
|
|
3745
3769
|
"""
|
|
@@ -3926,7 +3950,7 @@ class ImmutabilityPolicyProperties(_serialization.Model):
|
|
|
3926
3950
|
"""
|
|
3927
3951
|
super().__init__(**kwargs)
|
|
3928
3952
|
self.etag: Optional[str] = None
|
|
3929
|
-
self.update_history: Optional[
|
|
3953
|
+
self.update_history: Optional[list["_models.UpdateHistoryProperty"]] = None
|
|
3930
3954
|
self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days
|
|
3931
3955
|
self.state: Optional[Union[str, "_models.ImmutabilityPolicyState"]] = None
|
|
3932
3956
|
self.allow_protected_append_writes = allow_protected_append_writes
|
|
@@ -4200,7 +4224,7 @@ class LastAccessTimeTrackingPolicy(_serialization.Model):
|
|
|
4200
4224
|
enable: bool,
|
|
4201
4225
|
name: Optional[Union[str, "_models.Name"]] = None,
|
|
4202
4226
|
tracking_granularity_in_days: Optional[int] = None,
|
|
4203
|
-
blob_type: Optional[
|
|
4227
|
+
blob_type: Optional[list[str]] = None,
|
|
4204
4228
|
**kwargs: Any
|
|
4205
4229
|
) -> None:
|
|
4206
4230
|
"""
|
|
@@ -4451,7 +4475,7 @@ class LegalHold(_serialization.Model):
|
|
|
4451
4475
|
}
|
|
4452
4476
|
|
|
4453
4477
|
def __init__(
|
|
4454
|
-
self, *, tags:
|
|
4478
|
+
self, *, tags: list[str], allow_protected_append_writes_all: Optional[bool] = None, **kwargs: Any
|
|
4455
4479
|
) -> None:
|
|
4456
4480
|
"""
|
|
4457
4481
|
:keyword tags: Each tag should be 3 to 23 alphanumeric characters and is normalized to lower
|
|
@@ -4501,7 +4525,7 @@ class LegalHoldProperties(_serialization.Model):
|
|
|
4501
4525
|
def __init__(
|
|
4502
4526
|
self,
|
|
4503
4527
|
*,
|
|
4504
|
-
tags: Optional[
|
|
4528
|
+
tags: Optional[list["_models.TagProperty"]] = None,
|
|
4505
4529
|
protected_append_writes_history: Optional["_models.ProtectedAppendWritesHistory"] = None,
|
|
4506
4530
|
**kwargs: Any
|
|
4507
4531
|
) -> None:
|
|
@@ -4561,7 +4585,7 @@ class ListBlobInventoryPolicy(_serialization.Model):
|
|
|
4561
4585
|
def __init__(self, **kwargs: Any) -> None:
|
|
4562
4586
|
""" """
|
|
4563
4587
|
super().__init__(**kwargs)
|
|
4564
|
-
self.value: Optional[
|
|
4588
|
+
self.value: Optional[list["_models.BlobInventoryPolicy"]] = None
|
|
4565
4589
|
|
|
4566
4590
|
|
|
4567
4591
|
class ListContainerItem(AzureEntityResource):
|
|
@@ -4687,7 +4711,7 @@ class ListContainerItem(AzureEntityResource):
|
|
|
4687
4711
|
default_encryption_scope: Optional[str] = None,
|
|
4688
4712
|
deny_encryption_scope_override: Optional[bool] = None,
|
|
4689
4713
|
public_access: Optional[Union[str, "_models.PublicAccess"]] = None,
|
|
4690
|
-
metadata: Optional[
|
|
4714
|
+
metadata: Optional[dict[str, str]] = None,
|
|
4691
4715
|
immutable_storage_with_versioning: Optional["_models.ImmutableStorageWithVersioning"] = None,
|
|
4692
4716
|
enable_nfs_v3_root_squash: Optional[bool] = None,
|
|
4693
4717
|
enable_nfs_v3_all_squash: Optional[bool] = None,
|
|
@@ -4763,7 +4787,7 @@ class ListContainerItems(_serialization.Model):
|
|
|
4763
4787
|
def __init__(self, **kwargs: Any) -> None:
|
|
4764
4788
|
""" """
|
|
4765
4789
|
super().__init__(**kwargs)
|
|
4766
|
-
self.value: Optional[
|
|
4790
|
+
self.value: Optional[list["_models.ListContainerItem"]] = None
|
|
4767
4791
|
self.next_link: Optional[str] = None
|
|
4768
4792
|
|
|
4769
4793
|
|
|
@@ -4797,7 +4821,7 @@ class ListQueue(Resource):
|
|
|
4797
4821
|
"metadata": {"key": "properties.metadata", "type": "{str}"},
|
|
4798
4822
|
}
|
|
4799
4823
|
|
|
4800
|
-
def __init__(self, *, metadata: Optional[
|
|
4824
|
+
def __init__(self, *, metadata: Optional[dict[str, str]] = None, **kwargs: Any) -> None:
|
|
4801
4825
|
"""
|
|
4802
4826
|
:keyword metadata: A name-value pair that represents queue metadata.
|
|
4803
4827
|
:paramtype metadata: dict[str, str]
|
|
@@ -4830,7 +4854,7 @@ class ListQueueResource(_serialization.Model):
|
|
|
4830
4854
|
def __init__(self, **kwargs: Any) -> None:
|
|
4831
4855
|
""" """
|
|
4832
4856
|
super().__init__(**kwargs)
|
|
4833
|
-
self.value: Optional[
|
|
4857
|
+
self.value: Optional[list["_models.ListQueue"]] = None
|
|
4834
4858
|
self.next_link: Optional[str] = None
|
|
4835
4859
|
|
|
4836
4860
|
|
|
@@ -4854,7 +4878,7 @@ class ListQueueServices(_serialization.Model):
|
|
|
4854
4878
|
def __init__(self, **kwargs: Any) -> None:
|
|
4855
4879
|
""" """
|
|
4856
4880
|
super().__init__(**kwargs)
|
|
4857
|
-
self.value: Optional[
|
|
4881
|
+
self.value: Optional[list["_models.QueueServiceProperties"]] = None
|
|
4858
4882
|
|
|
4859
4883
|
|
|
4860
4884
|
class ListServiceSasResponse(_serialization.Model):
|
|
@@ -4904,7 +4928,7 @@ class ListTableResource(_serialization.Model):
|
|
|
4904
4928
|
def __init__(self, **kwargs: Any) -> None:
|
|
4905
4929
|
""" """
|
|
4906
4930
|
super().__init__(**kwargs)
|
|
4907
|
-
self.value: Optional[
|
|
4931
|
+
self.value: Optional[list["_models.Table"]] = None
|
|
4908
4932
|
self.next_link: Optional[str] = None
|
|
4909
4933
|
|
|
4910
4934
|
|
|
@@ -4928,7 +4952,7 @@ class ListTableServices(_serialization.Model):
|
|
|
4928
4952
|
def __init__(self, **kwargs: Any) -> None:
|
|
4929
4953
|
""" """
|
|
4930
4954
|
super().__init__(**kwargs)
|
|
4931
|
-
self.value: Optional[
|
|
4955
|
+
self.value: Optional[list["_models.TableServiceProperties"]] = None
|
|
4932
4956
|
|
|
4933
4957
|
|
|
4934
4958
|
class LocalUser(Resource):
|
|
@@ -5008,15 +5032,15 @@ class LocalUser(Resource):
|
|
|
5008
5032
|
def __init__(
|
|
5009
5033
|
self,
|
|
5010
5034
|
*,
|
|
5011
|
-
permission_scopes: Optional[
|
|
5035
|
+
permission_scopes: Optional[list["_models.PermissionScope"]] = None,
|
|
5012
5036
|
home_directory: Optional[str] = None,
|
|
5013
|
-
ssh_authorized_keys: Optional[
|
|
5037
|
+
ssh_authorized_keys: Optional[list["_models.SshPublicKey"]] = None,
|
|
5014
5038
|
has_shared_key: Optional[bool] = None,
|
|
5015
5039
|
has_ssh_key: Optional[bool] = None,
|
|
5016
5040
|
has_ssh_password: Optional[bool] = None,
|
|
5017
5041
|
group_id: Optional[int] = None,
|
|
5018
5042
|
allow_acl_authorization: Optional[bool] = None,
|
|
5019
|
-
extended_groups: Optional[
|
|
5043
|
+
extended_groups: Optional[list[int]] = None,
|
|
5020
5044
|
is_nf_sv3_enabled: Optional[bool] = None,
|
|
5021
5045
|
**kwargs: Any
|
|
5022
5046
|
) -> None:
|
|
@@ -5084,7 +5108,7 @@ class LocalUserKeys(_serialization.Model):
|
|
|
5084
5108
|
"shared_key": {"key": "sharedKey", "type": "str"},
|
|
5085
5109
|
}
|
|
5086
5110
|
|
|
5087
|
-
def __init__(self, *, ssh_authorized_keys: Optional[
|
|
5111
|
+
def __init__(self, *, ssh_authorized_keys: Optional[list["_models.SshPublicKey"]] = None, **kwargs: Any) -> None:
|
|
5088
5112
|
"""
|
|
5089
5113
|
:keyword ssh_authorized_keys: Optional, local user ssh authorized keys for SFTP.
|
|
5090
5114
|
:paramtype ssh_authorized_keys: list[~azure.mgmt.storage.models.SshPublicKey]
|
|
@@ -5140,7 +5164,7 @@ class LocalUsers(_serialization.Model):
|
|
|
5140
5164
|
"next_link": {"key": "nextLink", "type": "str"},
|
|
5141
5165
|
}
|
|
5142
5166
|
|
|
5143
|
-
def __init__(self, *, value: Optional[
|
|
5167
|
+
def __init__(self, *, value: Optional[list["_models.LocalUser"]] = None, **kwargs: Any) -> None:
|
|
5144
5168
|
"""
|
|
5145
5169
|
:keyword value: The list of local users associated with the storage account.
|
|
5146
5170
|
:paramtype value: list[~azure.mgmt.storage.models.LocalUser]
|
|
@@ -5368,9 +5392,9 @@ class ManagementPolicyFilter(_serialization.Model):
|
|
|
5368
5392
|
def __init__(
|
|
5369
5393
|
self,
|
|
5370
5394
|
*,
|
|
5371
|
-
blob_types:
|
|
5372
|
-
prefix_match: Optional[
|
|
5373
|
-
blob_index_match: Optional[
|
|
5395
|
+
blob_types: list[str],
|
|
5396
|
+
prefix_match: Optional[list[str]] = None,
|
|
5397
|
+
blob_index_match: Optional[list["_models.TagFilter"]] = None,
|
|
5374
5398
|
**kwargs: Any
|
|
5375
5399
|
) -> None:
|
|
5376
5400
|
"""
|
|
@@ -5464,7 +5488,7 @@ class ManagementPolicySchema(_serialization.Model):
|
|
|
5464
5488
|
"rules": {"key": "rules", "type": "[ManagementPolicyRule]"},
|
|
5465
5489
|
}
|
|
5466
5490
|
|
|
5467
|
-
def __init__(self, *, rules:
|
|
5491
|
+
def __init__(self, *, rules: list["_models.ManagementPolicyRule"], **kwargs: Any) -> None:
|
|
5468
5492
|
"""
|
|
5469
5493
|
:keyword rules: The Storage Account ManagementPolicies Rules. See more details in:
|
|
5470
5494
|
https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. Required.
|
|
@@ -5626,7 +5650,7 @@ class MetricSpecification(_serialization.Model):
|
|
|
5626
5650
|
display_name: Optional[str] = None,
|
|
5627
5651
|
display_description: Optional[str] = None,
|
|
5628
5652
|
unit: Optional[str] = None,
|
|
5629
|
-
dimensions: Optional[
|
|
5653
|
+
dimensions: Optional[list["_models.Dimension"]] = None,
|
|
5630
5654
|
aggregation_type: Optional[str] = None,
|
|
5631
5655
|
fill_gap_with_zero: Optional[bool] = None,
|
|
5632
5656
|
category: Optional[str] = None,
|
|
@@ -5726,10 +5750,10 @@ class NetworkRuleSet(_serialization.Model):
|
|
|
5726
5750
|
*,
|
|
5727
5751
|
default_action: Union[str, "_models.DefaultAction"] = "Allow",
|
|
5728
5752
|
bypass: Union[str, "_models.Bypass"] = "AzureServices",
|
|
5729
|
-
resource_access_rules: Optional[
|
|
5730
|
-
virtual_network_rules: Optional[
|
|
5731
|
-
ip_rules: Optional[
|
|
5732
|
-
ipv6_rules: Optional[
|
|
5753
|
+
resource_access_rules: Optional[list["_models.ResourceAccessRule"]] = None,
|
|
5754
|
+
virtual_network_rules: Optional[list["_models.VirtualNetworkRule"]] = None,
|
|
5755
|
+
ip_rules: Optional[list["_models.IPRule"]] = None,
|
|
5756
|
+
ipv6_rules: Optional[list["_models.IPRule"]] = None,
|
|
5733
5757
|
**kwargs: Any
|
|
5734
5758
|
) -> None:
|
|
5735
5759
|
"""
|
|
@@ -5927,7 +5951,7 @@ class NetworkSecurityPerimeterConfiguration(ProxyResourceAutoGenerated):
|
|
|
5927
5951
|
self.provisioning_state: Optional[
|
|
5928
5952
|
Union[str, "_models.NetworkSecurityPerimeterConfigurationProvisioningState"]
|
|
5929
5953
|
] = None
|
|
5930
|
-
self.provisioning_issues: Optional[
|
|
5954
|
+
self.provisioning_issues: Optional[list["_models.ProvisioningIssue"]] = None
|
|
5931
5955
|
self.network_security_perimeter: Optional["_models.NetworkSecurityPerimeter"] = None
|
|
5932
5956
|
self.resource_association: Optional[
|
|
5933
5957
|
"_models.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation"
|
|
@@ -5961,7 +5985,7 @@ class NetworkSecurityPerimeterConfigurationList(_serialization.Model): # pylint
|
|
|
5961
5985
|
:paramtype next_link: str
|
|
5962
5986
|
"""
|
|
5963
5987
|
super().__init__(**kwargs)
|
|
5964
|
-
self.value: Optional[
|
|
5988
|
+
self.value: Optional[list["_models.NetworkSecurityPerimeterConfiguration"]] = None
|
|
5965
5989
|
self.next_link = next_link
|
|
5966
5990
|
|
|
5967
5991
|
|
|
@@ -5993,9 +6017,9 @@ class NetworkSecurityPerimeterConfigurationPropertiesProfile(_serialization.Mode
|
|
|
5993
6017
|
*,
|
|
5994
6018
|
name: Optional[str] = None,
|
|
5995
6019
|
access_rules_version: Optional[float] = None,
|
|
5996
|
-
access_rules: Optional[
|
|
6020
|
+
access_rules: Optional[list["_models.NspAccessRule"]] = None,
|
|
5997
6021
|
diagnostic_settings_version: Optional[float] = None,
|
|
5998
|
-
enabled_log_categories: Optional[
|
|
6022
|
+
enabled_log_categories: Optional[list[str]] = None,
|
|
5999
6023
|
**kwargs: Any
|
|
6000
6024
|
) -> None:
|
|
6001
6025
|
"""
|
|
@@ -6139,8 +6163,8 @@ class NspAccessRuleProperties(_serialization.Model):
|
|
|
6139
6163
|
self,
|
|
6140
6164
|
*,
|
|
6141
6165
|
direction: Optional[Union[str, "_models.NspAccessRuleDirection"]] = None,
|
|
6142
|
-
address_prefixes: Optional[
|
|
6143
|
-
subscriptions: Optional[
|
|
6166
|
+
address_prefixes: Optional[list[str]] = None,
|
|
6167
|
+
subscriptions: Optional[list["_models.NspAccessRulePropertiesSubscriptionsItem"]] = None,
|
|
6144
6168
|
**kwargs: Any
|
|
6145
6169
|
) -> None:
|
|
6146
6170
|
"""
|
|
@@ -6156,8 +6180,8 @@ class NspAccessRuleProperties(_serialization.Model):
|
|
|
6156
6180
|
self.direction = direction
|
|
6157
6181
|
self.address_prefixes = address_prefixes
|
|
6158
6182
|
self.subscriptions = subscriptions
|
|
6159
|
-
self.network_security_perimeters: Optional[
|
|
6160
|
-
self.fully_qualified_domain_names: Optional[
|
|
6183
|
+
self.network_security_perimeters: Optional[list["_models.NetworkSecurityPerimeter"]] = None
|
|
6184
|
+
self.fully_qualified_domain_names: Optional[list[str]] = None
|
|
6161
6185
|
|
|
6162
6186
|
|
|
6163
6187
|
class NspAccessRulePropertiesSubscriptionsItem(_serialization.Model):
|
|
@@ -6191,7 +6215,7 @@ class ObjectReplicationPolicies(_serialization.Model):
|
|
|
6191
6215
|
"value": {"key": "value", "type": "[ObjectReplicationPolicy]"},
|
|
6192
6216
|
}
|
|
6193
6217
|
|
|
6194
|
-
def __init__(self, *, value: Optional[
|
|
6218
|
+
def __init__(self, *, value: Optional[list["_models.ObjectReplicationPolicy"]] = None, **kwargs: Any) -> None:
|
|
6195
6219
|
"""
|
|
6196
6220
|
:keyword value: The replication policy between two storage accounts.
|
|
6197
6221
|
:paramtype value: list[~azure.mgmt.storage.models.ObjectReplicationPolicy]
|
|
@@ -6228,6 +6252,10 @@ class ObjectReplicationPolicy(Resource):
|
|
|
6228
6252
|
:vartype rules: list[~azure.mgmt.storage.models.ObjectReplicationPolicyRule]
|
|
6229
6253
|
:ivar metrics: Optional. The object replication policy metrics feature options.
|
|
6230
6254
|
:vartype metrics: ~azure.mgmt.storage.models.ObjectReplicationPolicyPropertiesMetrics
|
|
6255
|
+
:ivar priority_replication: Optional. The object replication policy priority replication
|
|
6256
|
+
feature options.
|
|
6257
|
+
:vartype priority_replication:
|
|
6258
|
+
~azure.mgmt.storage.models.ObjectReplicationPolicyPropertiesPriorityReplication
|
|
6231
6259
|
"""
|
|
6232
6260
|
|
|
6233
6261
|
_validation = {
|
|
@@ -6248,6 +6276,10 @@ class ObjectReplicationPolicy(Resource):
|
|
|
6248
6276
|
"destination_account": {"key": "properties.destinationAccount", "type": "str"},
|
|
6249
6277
|
"rules": {"key": "properties.rules", "type": "[ObjectReplicationPolicyRule]"},
|
|
6250
6278
|
"metrics": {"key": "properties.metrics", "type": "ObjectReplicationPolicyPropertiesMetrics"},
|
|
6279
|
+
"priority_replication": {
|
|
6280
|
+
"key": "properties.priorityReplication",
|
|
6281
|
+
"type": "ObjectReplicationPolicyPropertiesPriorityReplication",
|
|
6282
|
+
},
|
|
6251
6283
|
}
|
|
6252
6284
|
|
|
6253
6285
|
def __init__(
|
|
@@ -6255,8 +6287,9 @@ class ObjectReplicationPolicy(Resource):
|
|
|
6255
6287
|
*,
|
|
6256
6288
|
source_account: Optional[str] = None,
|
|
6257
6289
|
destination_account: Optional[str] = None,
|
|
6258
|
-
rules: Optional[
|
|
6290
|
+
rules: Optional[list["_models.ObjectReplicationPolicyRule"]] = None,
|
|
6259
6291
|
metrics: Optional["_models.ObjectReplicationPolicyPropertiesMetrics"] = None,
|
|
6292
|
+
priority_replication: Optional["_models.ObjectReplicationPolicyPropertiesPriorityReplication"] = None,
|
|
6260
6293
|
**kwargs: Any
|
|
6261
6294
|
) -> None:
|
|
6262
6295
|
"""
|
|
@@ -6270,6 +6303,10 @@ class ObjectReplicationPolicy(Resource):
|
|
|
6270
6303
|
:paramtype rules: list[~azure.mgmt.storage.models.ObjectReplicationPolicyRule]
|
|
6271
6304
|
:keyword metrics: Optional. The object replication policy metrics feature options.
|
|
6272
6305
|
:paramtype metrics: ~azure.mgmt.storage.models.ObjectReplicationPolicyPropertiesMetrics
|
|
6306
|
+
:keyword priority_replication: Optional. The object replication policy priority replication
|
|
6307
|
+
feature options.
|
|
6308
|
+
:paramtype priority_replication:
|
|
6309
|
+
~azure.mgmt.storage.models.ObjectReplicationPolicyPropertiesPriorityReplication
|
|
6273
6310
|
"""
|
|
6274
6311
|
super().__init__(**kwargs)
|
|
6275
6312
|
self.policy_id: Optional[str] = None
|
|
@@ -6278,6 +6315,7 @@ class ObjectReplicationPolicy(Resource):
|
|
|
6278
6315
|
self.destination_account = destination_account
|
|
6279
6316
|
self.rules = rules
|
|
6280
6317
|
self.metrics = metrics
|
|
6318
|
+
self.priority_replication = priority_replication
|
|
6281
6319
|
|
|
6282
6320
|
|
|
6283
6321
|
class ObjectReplicationPolicyFilter(_serialization.Model):
|
|
@@ -6299,7 +6337,7 @@ class ObjectReplicationPolicyFilter(_serialization.Model):
|
|
|
6299
6337
|
}
|
|
6300
6338
|
|
|
6301
6339
|
def __init__(
|
|
6302
|
-
self, *, prefix_match: Optional[
|
|
6340
|
+
self, *, prefix_match: Optional[list[str]] = None, min_creation_time: Optional[str] = None, **kwargs: Any
|
|
6303
6341
|
) -> None:
|
|
6304
6342
|
"""
|
|
6305
6343
|
:keyword prefix_match: Optional. Filters the results to replicate only blobs whose names begin
|
|
@@ -6335,6 +6373,28 @@ class ObjectReplicationPolicyPropertiesMetrics(_serialization.Model):
|
|
|
6335
6373
|
self.enabled = enabled
|
|
6336
6374
|
|
|
6337
6375
|
|
|
6376
|
+
class ObjectReplicationPolicyPropertiesPriorityReplication(_serialization.Model): # pylint: disable=name-too-long
|
|
6377
|
+
"""Optional. The object replication policy priority replication feature options.
|
|
6378
|
+
|
|
6379
|
+
:ivar enabled: Indicates whether object replication priority replication feature is enabled for
|
|
6380
|
+
the policy.
|
|
6381
|
+
:vartype enabled: bool
|
|
6382
|
+
"""
|
|
6383
|
+
|
|
6384
|
+
_attribute_map = {
|
|
6385
|
+
"enabled": {"key": "enabled", "type": "bool"},
|
|
6386
|
+
}
|
|
6387
|
+
|
|
6388
|
+
def __init__(self, *, enabled: Optional[bool] = None, **kwargs: Any) -> None:
|
|
6389
|
+
"""
|
|
6390
|
+
:keyword enabled: Indicates whether object replication priority replication feature is enabled
|
|
6391
|
+
for the policy.
|
|
6392
|
+
:paramtype enabled: bool
|
|
6393
|
+
"""
|
|
6394
|
+
super().__init__(**kwargs)
|
|
6395
|
+
self.enabled = enabled
|
|
6396
|
+
|
|
6397
|
+
|
|
6338
6398
|
class ObjectReplicationPolicyRule(_serialization.Model):
|
|
6339
6399
|
"""The replication policy rule between two containers.
|
|
6340
6400
|
|
|
@@ -6494,7 +6554,7 @@ class OperationListResult(_serialization.Model):
|
|
|
6494
6554
|
"value": {"key": "value", "type": "[Operation]"},
|
|
6495
6555
|
}
|
|
6496
6556
|
|
|
6497
|
-
def __init__(self, *, value: Optional[
|
|
6557
|
+
def __init__(self, *, value: Optional[list["_models.Operation"]] = None, **kwargs: Any) -> None:
|
|
6498
6558
|
"""
|
|
6499
6559
|
:keyword value: List of Storage operations supported by the Storage resource provider.
|
|
6500
6560
|
:paramtype value: list[~azure.mgmt.storage.models.Operation]
|
|
@@ -6672,7 +6732,7 @@ class PrivateEndpointConnectionListResult(_serialization.Model):
|
|
|
6672
6732
|
"value": {"key": "value", "type": "[PrivateEndpointConnection]"},
|
|
6673
6733
|
}
|
|
6674
6734
|
|
|
6675
|
-
def __init__(self, *, value: Optional[
|
|
6735
|
+
def __init__(self, *, value: Optional[list["_models.PrivateEndpointConnection"]] = None, **kwargs: Any) -> None:
|
|
6676
6736
|
"""
|
|
6677
6737
|
:keyword value: Array of private endpoint connections.
|
|
6678
6738
|
:paramtype value: list[~azure.mgmt.storage.models.PrivateEndpointConnection]
|
|
@@ -6719,14 +6779,14 @@ class PrivateLinkResource(Resource):
|
|
|
6719
6779
|
"required_zone_names": {"key": "properties.requiredZoneNames", "type": "[str]"},
|
|
6720
6780
|
}
|
|
6721
6781
|
|
|
6722
|
-
def __init__(self, *, required_zone_names: Optional[
|
|
6782
|
+
def __init__(self, *, required_zone_names: Optional[list[str]] = None, **kwargs: Any) -> None:
|
|
6723
6783
|
"""
|
|
6724
6784
|
:keyword required_zone_names: The private link resource Private link DNS zone name.
|
|
6725
6785
|
:paramtype required_zone_names: list[str]
|
|
6726
6786
|
"""
|
|
6727
6787
|
super().__init__(**kwargs)
|
|
6728
6788
|
self.group_id: Optional[str] = None
|
|
6729
|
-
self.required_members: Optional[
|
|
6789
|
+
self.required_members: Optional[list[str]] = None
|
|
6730
6790
|
self.required_zone_names = required_zone_names
|
|
6731
6791
|
|
|
6732
6792
|
|
|
@@ -6741,7 +6801,7 @@ class PrivateLinkResourceListResult(_serialization.Model):
|
|
|
6741
6801
|
"value": {"key": "value", "type": "[PrivateLinkResource]"},
|
|
6742
6802
|
}
|
|
6743
6803
|
|
|
6744
|
-
def __init__(self, *, value: Optional[
|
|
6804
|
+
def __init__(self, *, value: Optional[list["_models.PrivateLinkResource"]] = None, **kwargs: Any) -> None:
|
|
6745
6805
|
"""
|
|
6746
6806
|
:keyword value: Array of private link resources.
|
|
6747
6807
|
:paramtype value: list[~azure.mgmt.storage.models.PrivateLinkResource]
|
|
@@ -7081,7 +7141,7 @@ class Restriction(_serialization.Model):
|
|
|
7081
7141
|
"""
|
|
7082
7142
|
super().__init__(**kwargs)
|
|
7083
7143
|
self.type: Optional[str] = None
|
|
7084
|
-
self.values: Optional[
|
|
7144
|
+
self.values: Optional[list[str]] = None
|
|
7085
7145
|
self.reason_code = reason_code
|
|
7086
7146
|
|
|
7087
7147
|
|
|
@@ -7353,7 +7413,7 @@ class ServiceSpecification(_serialization.Model):
|
|
|
7353
7413
|
}
|
|
7354
7414
|
|
|
7355
7415
|
def __init__(
|
|
7356
|
-
self, *, metric_specifications: Optional[
|
|
7416
|
+
self, *, metric_specifications: Optional[list["_models.MetricSpecification"]] = None, **kwargs: Any
|
|
7357
7417
|
) -> None:
|
|
7358
7418
|
"""
|
|
7359
7419
|
:keyword metric_specifications: Metric specifications of operation.
|
|
@@ -7525,8 +7585,8 @@ class SkuInformation(_serialization.Model):
|
|
|
7525
7585
|
self,
|
|
7526
7586
|
*,
|
|
7527
7587
|
name: Union[str, "_models.SkuName"],
|
|
7528
|
-
location_info: Optional[
|
|
7529
|
-
restrictions: Optional[
|
|
7588
|
+
location_info: Optional[list["_models.SkuInformationLocationInfoItem"]] = None,
|
|
7589
|
+
restrictions: Optional[list["_models.Restriction"]] = None,
|
|
7530
7590
|
**kwargs: Any
|
|
7531
7591
|
) -> None:
|
|
7532
7592
|
"""
|
|
@@ -7547,9 +7607,9 @@ class SkuInformation(_serialization.Model):
|
|
|
7547
7607
|
self.tier: Optional[Union[str, "_models.SkuTier"]] = None
|
|
7548
7608
|
self.resource_type: Optional[str] = None
|
|
7549
7609
|
self.kind: Optional[Union[str, "_models.Kind"]] = None
|
|
7550
|
-
self.locations: Optional[
|
|
7610
|
+
self.locations: Optional[list[str]] = None
|
|
7551
7611
|
self.location_info = location_info
|
|
7552
|
-
self.capabilities: Optional[
|
|
7612
|
+
self.capabilities: Optional[list["_models.SKUCapability"]] = None
|
|
7553
7613
|
self.restrictions = restrictions
|
|
7554
7614
|
|
|
7555
7615
|
|
|
@@ -7580,7 +7640,7 @@ class SkuInformationLocationInfoItem(_serialization.Model):
|
|
|
7580
7640
|
""" """
|
|
7581
7641
|
super().__init__(**kwargs)
|
|
7582
7642
|
self.location: Optional[str] = None
|
|
7583
|
-
self.zones: Optional[
|
|
7643
|
+
self.zones: Optional[list[str]] = None
|
|
7584
7644
|
|
|
7585
7645
|
|
|
7586
7646
|
class SmbOAuthSettings(_serialization.Model):
|
|
@@ -7738,7 +7798,7 @@ class TrackedResource(Resource):
|
|
|
7738
7798
|
"location": {"key": "location", "type": "str"},
|
|
7739
7799
|
}
|
|
7740
7800
|
|
|
7741
|
-
def __init__(self, *, location: str, tags: Optional[
|
|
7801
|
+
def __init__(self, *, location: str, tags: Optional[dict[str, str]] = None, **kwargs: Any) -> None:
|
|
7742
7802
|
"""
|
|
7743
7803
|
:keyword tags: Resource tags.
|
|
7744
7804
|
:paramtype tags: dict[str, str]
|
|
@@ -7916,6 +7976,10 @@ class StorageAccount(TrackedResource):
|
|
|
7916
7976
|
:ivar account_migration_in_progress: If customer initiated account migration is in progress,
|
|
7917
7977
|
the value will be true else it will be null.
|
|
7918
7978
|
:vartype account_migration_in_progress: bool
|
|
7979
|
+
:ivar geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
7980
|
+
enabled for the account.
|
|
7981
|
+
:vartype geo_priority_replication_status:
|
|
7982
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
7919
7983
|
"""
|
|
7920
7984
|
|
|
7921
7985
|
_validation = {
|
|
@@ -8018,16 +8082,20 @@ class StorageAccount(TrackedResource):
|
|
|
8018
8082
|
"dns_endpoint_type": {"key": "properties.dnsEndpointType", "type": "str"},
|
|
8019
8083
|
"is_sku_conversion_blocked": {"key": "properties.isSkuConversionBlocked", "type": "bool"},
|
|
8020
8084
|
"account_migration_in_progress": {"key": "properties.accountMigrationInProgress", "type": "bool"},
|
|
8085
|
+
"geo_priority_replication_status": {
|
|
8086
|
+
"key": "properties.geoPriorityReplicationStatus",
|
|
8087
|
+
"type": "GeoPriorityReplicationStatus",
|
|
8088
|
+
},
|
|
8021
8089
|
}
|
|
8022
8090
|
|
|
8023
8091
|
def __init__( # pylint: disable=too-many-locals
|
|
8024
8092
|
self,
|
|
8025
8093
|
*,
|
|
8026
8094
|
location: str,
|
|
8027
|
-
tags: Optional[
|
|
8095
|
+
tags: Optional[dict[str, str]] = None,
|
|
8028
8096
|
identity: Optional["_models.Identity"] = None,
|
|
8029
8097
|
extended_location: Optional["_models.ExtendedLocation"] = None,
|
|
8030
|
-
zones: Optional[
|
|
8098
|
+
zones: Optional[list[str]] = None,
|
|
8031
8099
|
placement: Optional["_models.Placement"] = None,
|
|
8032
8100
|
azure_files_identity_based_authentication: Optional["_models.AzureFilesIdentityBasedAuthentication"] = None,
|
|
8033
8101
|
enable_https_traffic_only: Optional[bool] = None,
|
|
@@ -8049,6 +8117,7 @@ class StorageAccount(TrackedResource):
|
|
|
8049
8117
|
allowed_copy_scope: Optional[Union[str, "_models.AllowedCopyScope"]] = None,
|
|
8050
8118
|
storage_account_sku_conversion_status: Optional["_models.StorageAccountSkuConversionStatus"] = None,
|
|
8051
8119
|
dns_endpoint_type: Optional[Union[str, "_models.DnsEndpointType"]] = None,
|
|
8120
|
+
geo_priority_replication_status: Optional["_models.GeoPriorityReplicationStatus"] = None,
|
|
8052
8121
|
**kwargs: Any
|
|
8053
8122
|
) -> None:
|
|
8054
8123
|
"""
|
|
@@ -8134,6 +8203,10 @@ class StorageAccount(TrackedResource):
|
|
|
8134
8203
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
|
8135
8204
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
|
8136
8205
|
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.models.DnsEndpointType
|
|
8206
|
+
:keyword geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
8207
|
+
enabled for the account.
|
|
8208
|
+
:paramtype geo_priority_replication_status:
|
|
8209
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
8137
8210
|
"""
|
|
8138
8211
|
super().__init__(tags=tags, location=location, **kwargs)
|
|
8139
8212
|
self.sku: Optional["_models.Sku"] = None
|
|
@@ -8167,7 +8240,7 @@ class StorageAccount(TrackedResource):
|
|
|
8167
8240
|
self.geo_replication_stats: Optional["_models.GeoReplicationStats"] = None
|
|
8168
8241
|
self.failover_in_progress: Optional[bool] = None
|
|
8169
8242
|
self.large_file_shares_state = large_file_shares_state
|
|
8170
|
-
self.private_endpoint_connections: Optional[
|
|
8243
|
+
self.private_endpoint_connections: Optional[list["_models.PrivateEndpointConnection"]] = None
|
|
8171
8244
|
self.routing_preference = routing_preference
|
|
8172
8245
|
self.dual_stack_endpoint_preference = dual_stack_endpoint_preference
|
|
8173
8246
|
self.blob_restore_status: Optional["_models.BlobRestoreStatus"] = None
|
|
@@ -8184,6 +8257,7 @@ class StorageAccount(TrackedResource):
|
|
|
8184
8257
|
self.dns_endpoint_type = dns_endpoint_type
|
|
8185
8258
|
self.is_sku_conversion_blocked: Optional[bool] = None
|
|
8186
8259
|
self.account_migration_in_progress: Optional[bool] = None
|
|
8260
|
+
self.geo_priority_replication_status = geo_priority_replication_status
|
|
8187
8261
|
|
|
8188
8262
|
|
|
8189
8263
|
class StorageAccountCheckNameAvailabilityParameters(_serialization.Model): # pylint: disable=name-too-long
|
|
@@ -8334,6 +8408,10 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8334
8408
|
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Known values
|
|
8335
8409
|
are: "Standard" and "AzureDnsZone".
|
|
8336
8410
|
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.models.DnsEndpointType
|
|
8411
|
+
:ivar geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
8412
|
+
enabled for the account.
|
|
8413
|
+
:vartype geo_priority_replication_status:
|
|
8414
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
8337
8415
|
"""
|
|
8338
8416
|
|
|
8339
8417
|
_validation = {
|
|
@@ -8385,6 +8463,10 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8385
8463
|
"type": "ImmutableStorageAccount",
|
|
8386
8464
|
},
|
|
8387
8465
|
"dns_endpoint_type": {"key": "properties.dnsEndpointType", "type": "str"},
|
|
8466
|
+
"geo_priority_replication_status": {
|
|
8467
|
+
"key": "properties.geoPriorityReplicationStatus",
|
|
8468
|
+
"type": "GeoPriorityReplicationStatus",
|
|
8469
|
+
},
|
|
8388
8470
|
}
|
|
8389
8471
|
|
|
8390
8472
|
def __init__( # pylint: disable=too-many-locals
|
|
@@ -8394,9 +8476,9 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8394
8476
|
kind: Union[str, "_models.Kind"],
|
|
8395
8477
|
location: str,
|
|
8396
8478
|
extended_location: Optional["_models.ExtendedLocation"] = None,
|
|
8397
|
-
zones: Optional[
|
|
8479
|
+
zones: Optional[list[str]] = None,
|
|
8398
8480
|
placement: Optional["_models.Placement"] = None,
|
|
8399
|
-
tags: Optional[
|
|
8481
|
+
tags: Optional[dict[str, str]] = None,
|
|
8400
8482
|
identity: Optional["_models.Identity"] = None,
|
|
8401
8483
|
allowed_copy_scope: Optional[Union[str, "_models.AllowedCopyScope"]] = None,
|
|
8402
8484
|
public_network_access: Optional[Union[str, "_models.PublicNetworkAccess"]] = None,
|
|
@@ -8423,6 +8505,7 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8423
8505
|
default_to_o_auth_authentication: Optional[bool] = None,
|
|
8424
8506
|
immutable_storage_with_versioning: Optional["_models.ImmutableStorageAccount"] = None,
|
|
8425
8507
|
dns_endpoint_type: Optional[Union[str, "_models.DnsEndpointType"]] = None,
|
|
8508
|
+
geo_priority_replication_status: Optional["_models.GeoPriorityReplicationStatus"] = None,
|
|
8426
8509
|
**kwargs: Any
|
|
8427
8510
|
) -> None:
|
|
8428
8511
|
"""
|
|
@@ -8536,6 +8619,10 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8536
8619
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
|
8537
8620
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
|
8538
8621
|
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.models.DnsEndpointType
|
|
8622
|
+
:keyword geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
8623
|
+
enabled for the account.
|
|
8624
|
+
:paramtype geo_priority_replication_status:
|
|
8625
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
8539
8626
|
"""
|
|
8540
8627
|
super().__init__(**kwargs)
|
|
8541
8628
|
self.sku = sku
|
|
@@ -8571,6 +8658,7 @@ class StorageAccountCreateParameters(_serialization.Model):
|
|
|
8571
8658
|
self.default_to_o_auth_authentication = default_to_o_auth_authentication
|
|
8572
8659
|
self.immutable_storage_with_versioning = immutable_storage_with_versioning
|
|
8573
8660
|
self.dns_endpoint_type = dns_endpoint_type
|
|
8661
|
+
self.geo_priority_replication_status = geo_priority_replication_status
|
|
8574
8662
|
|
|
8575
8663
|
|
|
8576
8664
|
class StorageAccountInternetEndpoints(_serialization.Model):
|
|
@@ -8740,7 +8828,7 @@ class StorageAccountListKeysResult(_serialization.Model):
|
|
|
8740
8828
|
def __init__(self, **kwargs: Any) -> None:
|
|
8741
8829
|
""" """
|
|
8742
8830
|
super().__init__(**kwargs)
|
|
8743
|
-
self.keys: Optional[
|
|
8831
|
+
self.keys: Optional[list["_models.StorageAccountKey"]] = None
|
|
8744
8832
|
|
|
8745
8833
|
|
|
8746
8834
|
class StorageAccountListResult(_serialization.Model):
|
|
@@ -8768,7 +8856,7 @@ class StorageAccountListResult(_serialization.Model):
|
|
|
8768
8856
|
def __init__(self, **kwargs: Any) -> None:
|
|
8769
8857
|
""" """
|
|
8770
8858
|
super().__init__(**kwargs)
|
|
8771
|
-
self.value: Optional[
|
|
8859
|
+
self.value: Optional[list["_models.StorageAccount"]] = None
|
|
8772
8860
|
self.next_link: Optional[str] = None
|
|
8773
8861
|
|
|
8774
8862
|
|
|
@@ -9072,6 +9160,10 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
|
9072
9160
|
Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Known values
|
|
9073
9161
|
are: "Standard" and "AzureDnsZone".
|
|
9074
9162
|
:vartype dns_endpoint_type: str or ~azure.mgmt.storage.models.DnsEndpointType
|
|
9163
|
+
:ivar geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
9164
|
+
enabled for the account.
|
|
9165
|
+
:vartype geo_priority_replication_status:
|
|
9166
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
9075
9167
|
"""
|
|
9076
9168
|
|
|
9077
9169
|
_attribute_map = {
|
|
@@ -9113,16 +9205,20 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
|
9113
9205
|
},
|
|
9114
9206
|
"allowed_copy_scope": {"key": "properties.allowedCopyScope", "type": "str"},
|
|
9115
9207
|
"dns_endpoint_type": {"key": "properties.dnsEndpointType", "type": "str"},
|
|
9208
|
+
"geo_priority_replication_status": {
|
|
9209
|
+
"key": "properties.geoPriorityReplicationStatus",
|
|
9210
|
+
"type": "GeoPriorityReplicationStatus",
|
|
9211
|
+
},
|
|
9116
9212
|
}
|
|
9117
9213
|
|
|
9118
9214
|
def __init__( # pylint: disable=too-many-locals
|
|
9119
9215
|
self,
|
|
9120
9216
|
*,
|
|
9121
9217
|
sku: Optional["_models.Sku"] = None,
|
|
9122
|
-
tags: Optional[
|
|
9218
|
+
tags: Optional[dict[str, str]] = None,
|
|
9123
9219
|
identity: Optional["_models.Identity"] = None,
|
|
9124
9220
|
kind: Optional[Union[str, "_models.Kind"]] = None,
|
|
9125
|
-
zones: Optional[
|
|
9221
|
+
zones: Optional[list[str]] = None,
|
|
9126
9222
|
placement: Optional["_models.Placement"] = None,
|
|
9127
9223
|
custom_domain: Optional["_models.CustomDomain"] = None,
|
|
9128
9224
|
encryption: Optional["_models.Encryption"] = None,
|
|
@@ -9147,6 +9243,7 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
|
9147
9243
|
immutable_storage_with_versioning: Optional["_models.ImmutableStorageAccount"] = None,
|
|
9148
9244
|
allowed_copy_scope: Optional[Union[str, "_models.AllowedCopyScope"]] = None,
|
|
9149
9245
|
dns_endpoint_type: Optional[Union[str, "_models.DnsEndpointType"]] = None,
|
|
9246
|
+
geo_priority_replication_status: Optional["_models.GeoPriorityReplicationStatus"] = None,
|
|
9150
9247
|
**kwargs: Any
|
|
9151
9248
|
) -> None:
|
|
9152
9249
|
"""
|
|
@@ -9250,6 +9347,10 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
|
9250
9347
|
accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone
|
|
9251
9348
|
identifier. Known values are: "Standard" and "AzureDnsZone".
|
|
9252
9349
|
:paramtype dns_endpoint_type: str or ~azure.mgmt.storage.models.DnsEndpointType
|
|
9350
|
+
:keyword geo_priority_replication_status: Status indicating whether Geo Priority Replication is
|
|
9351
|
+
enabled for the account.
|
|
9352
|
+
:paramtype geo_priority_replication_status:
|
|
9353
|
+
~azure.mgmt.storage.models.GeoPriorityReplicationStatus
|
|
9253
9354
|
"""
|
|
9254
9355
|
super().__init__(**kwargs)
|
|
9255
9356
|
self.sku = sku
|
|
@@ -9281,6 +9382,7 @@ class StorageAccountUpdateParameters(_serialization.Model):
|
|
|
9281
9382
|
self.immutable_storage_with_versioning = immutable_storage_with_versioning
|
|
9282
9383
|
self.allowed_copy_scope = allowed_copy_scope
|
|
9283
9384
|
self.dns_endpoint_type = dns_endpoint_type
|
|
9385
|
+
self.geo_priority_replication_status = geo_priority_replication_status
|
|
9284
9386
|
|
|
9285
9387
|
|
|
9286
9388
|
class StorageQueue(Resource):
|
|
@@ -9319,7 +9421,7 @@ class StorageQueue(Resource):
|
|
|
9319
9421
|
"approximate_message_count": {"key": "properties.approximateMessageCount", "type": "int"},
|
|
9320
9422
|
}
|
|
9321
9423
|
|
|
9322
|
-
def __init__(self, *, metadata: Optional[
|
|
9424
|
+
def __init__(self, *, metadata: Optional[dict[str, str]] = None, **kwargs: Any) -> None:
|
|
9323
9425
|
"""
|
|
9324
9426
|
:keyword metadata: A name-value pair that represents queue metadata.
|
|
9325
9427
|
:paramtype metadata: dict[str, str]
|
|
@@ -9349,7 +9451,7 @@ class StorageSkuListResult(_serialization.Model):
|
|
|
9349
9451
|
def __init__(self, **kwargs: Any) -> None:
|
|
9350
9452
|
""" """
|
|
9351
9453
|
super().__init__(**kwargs)
|
|
9352
|
-
self.value: Optional[
|
|
9454
|
+
self.value: Optional[list["_models.SkuInformation"]] = None
|
|
9353
9455
|
|
|
9354
9456
|
|
|
9355
9457
|
class StorageTaskAssignment(Resource):
|
|
@@ -9560,7 +9662,7 @@ class StorageTaskAssignmentsList(_serialization.Model):
|
|
|
9560
9662
|
def __init__(self, **kwargs: Any) -> None:
|
|
9561
9663
|
""" """
|
|
9562
9664
|
super().__init__(**kwargs)
|
|
9563
|
-
self.value: Optional[
|
|
9665
|
+
self.value: Optional[list["_models.StorageTaskAssignment"]] = None
|
|
9564
9666
|
self.next_link: Optional[str] = None
|
|
9565
9667
|
|
|
9566
9668
|
|
|
@@ -9887,7 +9989,7 @@ class StorageTaskReportSummary(_serialization.Model):
|
|
|
9887
9989
|
def __init__(self, **kwargs: Any) -> None:
|
|
9888
9990
|
""" """
|
|
9889
9991
|
super().__init__(**kwargs)
|
|
9890
|
-
self.value: Optional[
|
|
9992
|
+
self.value: Optional[list["_models.StorageTaskReportInstance"]] = None
|
|
9891
9993
|
self.next_link: Optional[str] = None
|
|
9892
9994
|
|
|
9893
9995
|
|
|
@@ -9990,7 +10092,7 @@ class Table(Resource):
|
|
|
9990
10092
|
}
|
|
9991
10093
|
|
|
9992
10094
|
def __init__(
|
|
9993
|
-
self, *, signed_identifiers: Optional[
|
|
10095
|
+
self, *, signed_identifiers: Optional[list["_models.TableSignedIdentifier"]] = None, **kwargs: Any
|
|
9994
10096
|
) -> None:
|
|
9995
10097
|
"""
|
|
9996
10098
|
:keyword signed_identifiers: List of stored access policies specified on the table.
|
|
@@ -10508,7 +10610,7 @@ class UsageListResult(_serialization.Model):
|
|
|
10508
10610
|
"value": {"key": "value", "type": "[Usage]"},
|
|
10509
10611
|
}
|
|
10510
10612
|
|
|
10511
|
-
def __init__(self, *, value: Optional[
|
|
10613
|
+
def __init__(self, *, value: Optional[list["_models.Usage"]] = None, **kwargs: Any) -> None:
|
|
10512
10614
|
"""
|
|
10513
10615
|
:keyword value: Gets or sets the list of Storage Resource Usages.
|
|
10514
10616
|
:paramtype value: list[~azure.mgmt.storage.models.Usage]
|