azure-mgmt-storage 22.1.1__py3-none-any.whl → 23.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/__init__.py +19 -7
- azure/mgmt/storage/_configuration.py +27 -29
- azure/mgmt/storage/{v2016_01_01/models/_patch.py → _patch.py} +5 -4
- azure/mgmt/storage/_storage_management_client.py +184 -499
- azure/mgmt/storage/{v2016_01_01/_version.py → _utils/__init__.py} +0 -3
- azure/mgmt/storage/{_serialization.py → _utils/serialization.py} +46 -131
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/__init__.py +21 -2
- azure/mgmt/storage/aio/_configuration.py +27 -29
- azure/mgmt/storage/{v2017_10_01/aio/operations → aio}/_patch.py +5 -4
- azure/mgmt/storage/aio/_storage_management_client.py +188 -497
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/__init__.py +1 -0
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_containers_operations.py +66 -69
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_inventory_policies_operations.py +26 -34
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_blob_services_operations.py +20 -22
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_deleted_accounts_operations.py +14 -17
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_encryption_scopes_operations.py +27 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_services_operations.py +24 -27
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_file_shares_operations.py +36 -39
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_local_users_operations.py +26 -29
- azure/mgmt/storage/{v2019_06_01/aio → aio}/operations/_management_policies_operations.py +23 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_network_security_perimeter_configurations_operations.py +16 -19
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_object_replication_policies_operations.py +21 -23
- azure/mgmt/storage/{v2017_10_01/aio → aio}/operations/_operations.py +12 -15
- azure/mgmt/storage/{v2016_01_01/aio → aio}/operations/_patch.py +5 -4
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_endpoint_connections_operations.py +21 -23
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_private_link_resources_operations.py +11 -13
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_operations.py +27 -30
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_queue_services_operations.py +19 -21
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_skus_operations.py +12 -15
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_accounts_operations.py +81 -96
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignment_instances_report_operations.py +14 -16
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_instances_report_operations.py +14 -16
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_storage_task_assignments_operations.py +30 -39
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_operations.py +27 -29
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_table_services_operations.py +19 -21
- azure/mgmt/storage/{v2024_01_01/aio → aio}/operations/_usages_operations.py +12 -14
- azure/mgmt/storage/{v2024_01_01/models → models}/_models_py3.py +870 -927
- azure/mgmt/storage/{v2016_01_01/operations → models}/_patch.py +5 -4
- azure/mgmt/storage/{v2024_01_01/models → models}/_storage_management_client_enums.py +1 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/__init__.py +1 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_containers_operations.py +81 -84
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_inventory_policies_operations.py +31 -39
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_blob_services_operations.py +24 -27
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_deleted_accounts_operations.py +16 -18
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_encryption_scopes_operations.py +32 -34
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_services_operations.py +30 -32
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_file_shares_operations.py +44 -47
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_local_users_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_management_policies_operations.py +27 -34
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_network_security_perimeter_configurations_operations.py +20 -22
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_object_replication_policies_operations.py +26 -29
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_operations.py +12 -15
- azure/mgmt/storage/operations/_patch.py +21 -0
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_endpoint_connections_operations.py +26 -29
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_private_link_resources_operations.py +13 -15
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_queue_services_operations.py +23 -25
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_skus_operations.py +12 -15
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_accounts_operations.py +98 -106
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignment_instances_report_operations.py +15 -19
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_instances_report_operations.py +15 -19
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_storage_task_assignments_operations.py +36 -47
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_operations.py +33 -35
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_table_services_operations.py +23 -25
- azure/mgmt/storage/{v2024_01_01/operations → operations}/_usages_operations.py +13 -16
- {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/METADATA +20 -10
- azure_mgmt_storage-23.0.0.dist-info/RECORD +73 -0
- {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/WHEEL +1 -1
- azure/mgmt/storage/models.py +0 -8
- azure/mgmt/storage/v2016_01_01/__init__.py +0 -32
- azure/mgmt/storage/v2016_01_01/_configuration.py +0 -65
- azure/mgmt/storage/v2016_01_01/_patch.py +0 -32
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +0 -117
- azure/mgmt/storage/v2016_01_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +0 -120
- azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +0 -27
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +0 -1023
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +0 -130
- azure/mgmt/storage/v2016_01_01/models/__init__.py +0 -88
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +0 -829
- azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py +0 -99
- azure/mgmt/storage/v2016_01_01/operations/__init__.py +0 -27
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +0 -1278
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +0 -157
- azure/mgmt/storage/v2016_01_01/py.typed +0 -1
- azure/mgmt/storage/v2017_10_01/__init__.py +0 -32
- azure/mgmt/storage/v2017_10_01/_configuration.py +0 -65
- azure/mgmt/storage/v2017_10_01/_patch.py +0 -32
- azure/mgmt/storage/v2017_10_01/_storage_management.py +0 -121
- azure/mgmt/storage/v2017_10_01/_version.py +0 -9
- azure/mgmt/storage/v2017_10_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +0 -124
- azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +0 -31
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +0 -130
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +0 -1299
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +0 -130
- azure/mgmt/storage/v2017_10_01/models/__init__.py +0 -140
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +0 -1851
- azure/mgmt/storage/v2017_10_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py +0 -192
- azure/mgmt/storage/v2017_10_01/operations/__init__.py +0 -31
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +0 -151
- azure/mgmt/storage/v2017_10_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +0 -157
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +0 -1638
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +0 -157
- azure/mgmt/storage/v2017_10_01/py.typed +0 -1
- azure/mgmt/storage/v2019_06_01/__init__.py +0 -32
- azure/mgmt/storage/v2019_06_01/_configuration.py +0 -64
- azure/mgmt/storage/v2019_06_01/_patch.py +0 -32
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +0 -213
- azure/mgmt/storage/v2019_06_01/_version.py +0 -9
- azure/mgmt/storage/v2019_06_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +0 -64
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +0 -217
- azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +0 -59
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +0 -1725
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -437
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +0 -368
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +0 -538
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +0 -771
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +0 -428
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +0 -130
- azure/mgmt/storage/v2019_06_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +0 -424
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +0 -113
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +0 -597
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +0 -131
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +0 -1696
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +0 -394
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +0 -335
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +0 -134
- azure/mgmt/storage/v2019_06_01/models/__init__.py +0 -364
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +0 -6038
- azure/mgmt/storage/v2019_06_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -456
- azure/mgmt/storage/v2019_06_01/operations/__init__.py +0 -59
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +0 -2226
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +0 -582
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +0 -476
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +0 -677
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +0 -1000
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +0 -453
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +0 -567
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +0 -151
- azure/mgmt/storage/v2019_06_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +0 -575
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +0 -149
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +0 -805
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +0 -157
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +0 -2122
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +0 -563
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +0 -444
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +0 -164
- azure/mgmt/storage/v2019_06_01/py.typed +0 -1
- azure/mgmt/storage/v2024_01_01/__init__.py +0 -32
- azure/mgmt/storage/v2024_01_01/_configuration.py +0 -64
- azure/mgmt/storage/v2024_01_01/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/_storage_management_client.py +0 -256
- azure/mgmt/storage/v2024_01_01/_version.py +0 -9
- azure/mgmt/storage/v2024_01_01/aio/__init__.py +0 -29
- azure/mgmt/storage/v2024_01_01/aio/_configuration.py +0 -64
- azure/mgmt/storage/v2024_01_01/aio/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/aio/_storage_management_client.py +0 -261
- azure/mgmt/storage/v2024_01_01/aio/operations/_management_policies_operations.py +0 -343
- azure/mgmt/storage/v2024_01_01/aio/operations/_operations.py +0 -130
- azure/mgmt/storage/v2024_01_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2024_01_01/py.typed +0 -1
- azure_mgmt_storage-22.1.1.dist-info/RECORD +0 -183
- /azure/mgmt/storage/{v2024_01_01/models → models}/__init__.py +0 -0
- {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-22.1.1.dist-info → azure_mgmt_storage-23.0.0.dist-info}/top_level.txt +0 -0
@@ -1,20 +0,0 @@
|
|
1
|
-
# ------------------------------------
|
2
|
-
# Copyright (c) Microsoft Corporation.
|
3
|
-
# Licensed under the MIT License.
|
4
|
-
# ------------------------------------
|
5
|
-
"""Customize generated code here.
|
6
|
-
|
7
|
-
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
8
|
-
"""
|
9
|
-
from typing import List
|
10
|
-
|
11
|
-
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level
|
12
|
-
|
13
|
-
|
14
|
-
def patch_sdk():
|
15
|
-
"""Do not remove from this file.
|
16
|
-
|
17
|
-
`patch_sdk` is a last resort escape hatch that allows you to do customizations
|
18
|
-
you can't accomplish using the techniques described in
|
19
|
-
https://aka.ms/azsdk/python/dpcodegen/python/customize
|
20
|
-
"""
|
@@ -1,456 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# --------------------------------------------------------------------------
|
3
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
5
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
# --------------------------------------------------------------------------
|
8
|
-
|
9
|
-
from enum import Enum
|
10
|
-
from azure.core import CaseInsensitiveEnumMeta
|
11
|
-
|
12
|
-
|
13
|
-
class AccessTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
14
|
-
"""Required for storage accounts where kind = BlobStorage. The access tier used for billing."""
|
15
|
-
|
16
|
-
HOT = "Hot"
|
17
|
-
COOL = "Cool"
|
18
|
-
|
19
|
-
|
20
|
-
class AccountStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
21
|
-
"""Gets the status indicating whether the primary location of the storage account is available or
|
22
|
-
unavailable.
|
23
|
-
"""
|
24
|
-
|
25
|
-
AVAILABLE = "available"
|
26
|
-
UNAVAILABLE = "unavailable"
|
27
|
-
|
28
|
-
|
29
|
-
class BlobInventoryPolicyName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
30
|
-
"""BlobInventoryPolicyName."""
|
31
|
-
|
32
|
-
DEFAULT = "default"
|
33
|
-
|
34
|
-
|
35
|
-
class BlobRestoreProgressStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
36
|
-
"""The status of blob restore progress. Possible values are: - InProgress: Indicates that blob
|
37
|
-
restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. -
|
38
|
-
Failed: Indicates that blob restore is failed.
|
39
|
-
"""
|
40
|
-
|
41
|
-
IN_PROGRESS = "InProgress"
|
42
|
-
COMPLETE = "Complete"
|
43
|
-
FAILED = "Failed"
|
44
|
-
|
45
|
-
|
46
|
-
class Bypass(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
47
|
-
"""Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are
|
48
|
-
any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to
|
49
|
-
bypass none of those traffics.
|
50
|
-
"""
|
51
|
-
|
52
|
-
NONE = "None"
|
53
|
-
LOGGING = "Logging"
|
54
|
-
METRICS = "Metrics"
|
55
|
-
AZURE_SERVICES = "AzureServices"
|
56
|
-
|
57
|
-
|
58
|
-
class CorsRuleAllowedMethodsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
59
|
-
"""CorsRuleAllowedMethodsItem."""
|
60
|
-
|
61
|
-
DELETE = "DELETE"
|
62
|
-
GET = "GET"
|
63
|
-
HEAD = "HEAD"
|
64
|
-
MERGE = "MERGE"
|
65
|
-
POST = "POST"
|
66
|
-
OPTIONS = "OPTIONS"
|
67
|
-
PUT = "PUT"
|
68
|
-
|
69
|
-
|
70
|
-
class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
71
|
-
"""The type of identity that created the resource."""
|
72
|
-
|
73
|
-
USER = "User"
|
74
|
-
APPLICATION = "Application"
|
75
|
-
MANAGED_IDENTITY = "ManagedIdentity"
|
76
|
-
KEY = "Key"
|
77
|
-
|
78
|
-
|
79
|
-
class DefaultAction(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
80
|
-
"""Specifies the default action of allow or deny when no other rules match."""
|
81
|
-
|
82
|
-
ALLOW = "Allow"
|
83
|
-
DENY = "Deny"
|
84
|
-
|
85
|
-
|
86
|
-
class DirectoryServiceOptions(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
87
|
-
"""Indicates the directory service used."""
|
88
|
-
|
89
|
-
NONE = "None"
|
90
|
-
AADDS = "AADDS"
|
91
|
-
AD = "AD"
|
92
|
-
|
93
|
-
|
94
|
-
class EnabledProtocols(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
95
|
-
"""The authentication protocol that is used for the file share. Can only be specified when
|
96
|
-
creating a share.
|
97
|
-
"""
|
98
|
-
|
99
|
-
SMB = "SMB"
|
100
|
-
NFS = "NFS"
|
101
|
-
|
102
|
-
|
103
|
-
class EncryptionScopeSource(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
104
|
-
"""The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage,
|
105
|
-
Microsoft.KeyVault.
|
106
|
-
"""
|
107
|
-
|
108
|
-
MICROSOFT_STORAGE = "Microsoft.Storage"
|
109
|
-
MICROSOFT_KEY_VAULT = "Microsoft.KeyVault"
|
110
|
-
|
111
|
-
|
112
|
-
class EncryptionScopeState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
113
|
-
"""The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled."""
|
114
|
-
|
115
|
-
ENABLED = "Enabled"
|
116
|
-
DISABLED = "Disabled"
|
117
|
-
|
118
|
-
|
119
|
-
class Enum27(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
120
|
-
"""Enum27."""
|
121
|
-
|
122
|
-
DEFAULT = "default"
|
123
|
-
|
124
|
-
|
125
|
-
class GeoReplicationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
126
|
-
"""The status of the secondary location. Possible values are: - Live: Indicates that the secondary
|
127
|
-
location is active and operational. - Bootstrap: Indicates initial synchronization from the
|
128
|
-
primary location to the secondary location is in progress.This typically occurs when
|
129
|
-
replication is first enabled. - Unavailable: Indicates that the secondary location is
|
130
|
-
temporarily unavailable.
|
131
|
-
"""
|
132
|
-
|
133
|
-
LIVE = "Live"
|
134
|
-
BOOTSTRAP = "Bootstrap"
|
135
|
-
UNAVAILABLE = "Unavailable"
|
136
|
-
|
137
|
-
|
138
|
-
class HttpProtocol(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
139
|
-
"""The protocol permitted for a request made with the account SAS."""
|
140
|
-
|
141
|
-
HTTPS_HTTP = "https,http"
|
142
|
-
HTTPS = "https"
|
143
|
-
|
144
|
-
|
145
|
-
class ImmutabilityPolicyState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
146
|
-
"""The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked."""
|
147
|
-
|
148
|
-
LOCKED = "Locked"
|
149
|
-
UNLOCKED = "Unlocked"
|
150
|
-
|
151
|
-
|
152
|
-
class ImmutabilityPolicyUpdateType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
153
|
-
"""The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and
|
154
|
-
extend.
|
155
|
-
"""
|
156
|
-
|
157
|
-
PUT = "put"
|
158
|
-
LOCK = "lock"
|
159
|
-
EXTEND = "extend"
|
160
|
-
|
161
|
-
|
162
|
-
class InventoryRuleType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
163
|
-
"""The valid value is Inventory."""
|
164
|
-
|
165
|
-
INVENTORY = "Inventory"
|
166
|
-
|
167
|
-
|
168
|
-
class KeyPermission(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
169
|
-
"""Permissions for the key -- read-only or full permissions."""
|
170
|
-
|
171
|
-
READ = "Read"
|
172
|
-
FULL = "Full"
|
173
|
-
|
174
|
-
|
175
|
-
class KeySource(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
176
|
-
"""The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage,
|
177
|
-
Microsoft.Keyvault.
|
178
|
-
"""
|
179
|
-
|
180
|
-
MICROSOFT_STORAGE = "Microsoft.Storage"
|
181
|
-
MICROSOFT_KEYVAULT = "Microsoft.Keyvault"
|
182
|
-
|
183
|
-
|
184
|
-
class KeyType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
185
|
-
"""Encryption key type to be used for the encryption service. 'Account' key type implies that an
|
186
|
-
account-scoped encryption key will be used. 'Service' key type implies that a default service
|
187
|
-
key is used.
|
188
|
-
"""
|
189
|
-
|
190
|
-
SERVICE = "Service"
|
191
|
-
ACCOUNT = "Account"
|
192
|
-
|
193
|
-
|
194
|
-
class Kind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
195
|
-
"""Indicates the type of storage account."""
|
196
|
-
|
197
|
-
STORAGE = "Storage"
|
198
|
-
STORAGE_V2 = "StorageV2"
|
199
|
-
BLOB_STORAGE = "BlobStorage"
|
200
|
-
FILE_STORAGE = "FileStorage"
|
201
|
-
BLOCK_BLOB_STORAGE = "BlockBlobStorage"
|
202
|
-
|
203
|
-
|
204
|
-
class LargeFileSharesState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
205
|
-
"""Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled."""
|
206
|
-
|
207
|
-
DISABLED = "Disabled"
|
208
|
-
ENABLED = "Enabled"
|
209
|
-
|
210
|
-
|
211
|
-
class LeaseContainerRequestAction(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
212
|
-
"""Specifies the lease action. Can be one of the available actions."""
|
213
|
-
|
214
|
-
ACQUIRE = "Acquire"
|
215
|
-
RENEW = "Renew"
|
216
|
-
CHANGE = "Change"
|
217
|
-
RELEASE = "Release"
|
218
|
-
BREAK = "Break"
|
219
|
-
BREAK_ENUM = "Break"
|
220
|
-
|
221
|
-
|
222
|
-
class LeaseDuration(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
223
|
-
"""Specifies whether the lease on a container is of infinite or fixed duration, only when the
|
224
|
-
container is leased.
|
225
|
-
"""
|
226
|
-
|
227
|
-
INFINITE = "Infinite"
|
228
|
-
FIXED = "Fixed"
|
229
|
-
|
230
|
-
|
231
|
-
class LeaseState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
232
|
-
"""Lease state of the container."""
|
233
|
-
|
234
|
-
AVAILABLE = "Available"
|
235
|
-
LEASED = "Leased"
|
236
|
-
EXPIRED = "Expired"
|
237
|
-
BREAKING = "Breaking"
|
238
|
-
BROKEN = "Broken"
|
239
|
-
|
240
|
-
|
241
|
-
class LeaseStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
242
|
-
"""The lease status of the container."""
|
243
|
-
|
244
|
-
LOCKED = "Locked"
|
245
|
-
UNLOCKED = "Unlocked"
|
246
|
-
|
247
|
-
|
248
|
-
class ListContainersInclude(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
249
|
-
"""ListContainersInclude."""
|
250
|
-
|
251
|
-
DELETED = "deleted"
|
252
|
-
|
253
|
-
|
254
|
-
class ManagementPolicyName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
255
|
-
"""ManagementPolicyName."""
|
256
|
-
|
257
|
-
DEFAULT = "default"
|
258
|
-
|
259
|
-
|
260
|
-
class MinimumTlsVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
261
|
-
"""Set the minimum TLS version to be permitted on requests to storage. The default interpretation
|
262
|
-
is TLS 1.0 for this property.
|
263
|
-
"""
|
264
|
-
|
265
|
-
TLS1_0 = "TLS1_0"
|
266
|
-
TLS1_1 = "TLS1_1"
|
267
|
-
TLS1_2 = "TLS1_2"
|
268
|
-
|
269
|
-
|
270
|
-
class Name(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
271
|
-
"""Name of the policy. The valid value is AccessTimeTracking. This field is currently read only."""
|
272
|
-
|
273
|
-
ACCESS_TIME_TRACKING = "AccessTimeTracking"
|
274
|
-
|
275
|
-
|
276
|
-
class Permissions(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
277
|
-
"""The signed permissions for the account SAS. Possible values include: Read (r), Write (w),
|
278
|
-
Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).
|
279
|
-
"""
|
280
|
-
|
281
|
-
R = "r"
|
282
|
-
D = "d"
|
283
|
-
W = "w"
|
284
|
-
L = "l"
|
285
|
-
A = "a"
|
286
|
-
C = "c"
|
287
|
-
U = "u"
|
288
|
-
P = "p"
|
289
|
-
|
290
|
-
|
291
|
-
class PrivateEndpointConnectionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
292
|
-
"""The current provisioning state."""
|
293
|
-
|
294
|
-
SUCCEEDED = "Succeeded"
|
295
|
-
CREATING = "Creating"
|
296
|
-
DELETING = "Deleting"
|
297
|
-
FAILED = "Failed"
|
298
|
-
|
299
|
-
|
300
|
-
class PrivateEndpointServiceConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
301
|
-
"""The private endpoint connection status."""
|
302
|
-
|
303
|
-
PENDING = "Pending"
|
304
|
-
APPROVED = "Approved"
|
305
|
-
REJECTED = "Rejected"
|
306
|
-
|
307
|
-
|
308
|
-
class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
309
|
-
"""Gets the status of the storage account at the time the operation was called."""
|
310
|
-
|
311
|
-
CREATING = "Creating"
|
312
|
-
RESOLVING_DNS = "ResolvingDNS"
|
313
|
-
SUCCEEDED = "Succeeded"
|
314
|
-
|
315
|
-
|
316
|
-
class PublicAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
317
|
-
"""Specifies whether data in the container may be accessed publicly and the level of access."""
|
318
|
-
|
319
|
-
CONTAINER = "Container"
|
320
|
-
BLOB = "Blob"
|
321
|
-
NONE = "None"
|
322
|
-
|
323
|
-
|
324
|
-
class Reason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
325
|
-
"""Gets the reason that a storage account name could not be used. The Reason element is only
|
326
|
-
returned if NameAvailable is false.
|
327
|
-
"""
|
328
|
-
|
329
|
-
ACCOUNT_NAME_INVALID = "AccountNameInvalid"
|
330
|
-
ALREADY_EXISTS = "AlreadyExists"
|
331
|
-
|
332
|
-
|
333
|
-
class ReasonCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
334
|
-
"""The reason for the restriction. As of now this can be "QuotaId" or
|
335
|
-
"NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the
|
336
|
-
subscription does not belong to that quota. The "NotAvailableForSubscription" is related to
|
337
|
-
capacity at DC.
|
338
|
-
"""
|
339
|
-
|
340
|
-
QUOTA_ID = "QuotaId"
|
341
|
-
NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription"
|
342
|
-
|
343
|
-
|
344
|
-
class RootSquashType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
345
|
-
"""The property is for NFS share only. The default is NoRootSquash."""
|
346
|
-
|
347
|
-
NO_ROOT_SQUASH = "NoRootSquash"
|
348
|
-
ROOT_SQUASH = "RootSquash"
|
349
|
-
ALL_SQUASH = "AllSquash"
|
350
|
-
|
351
|
-
|
352
|
-
class RoutingChoice(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
353
|
-
"""Routing Choice defines the kind of network routing opted by the user."""
|
354
|
-
|
355
|
-
MICROSOFT_ROUTING = "MicrosoftRouting"
|
356
|
-
INTERNET_ROUTING = "InternetRouting"
|
357
|
-
|
358
|
-
|
359
|
-
class RuleType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
360
|
-
"""The valid value is Lifecycle."""
|
361
|
-
|
362
|
-
LIFECYCLE = "Lifecycle"
|
363
|
-
|
364
|
-
|
365
|
-
class Services(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
366
|
-
"""The signed services accessible with the account SAS. Possible values include: Blob (b), Queue
|
367
|
-
(q), Table (t), File (f).
|
368
|
-
"""
|
369
|
-
|
370
|
-
B = "b"
|
371
|
-
Q = "q"
|
372
|
-
T = "t"
|
373
|
-
F = "f"
|
374
|
-
|
375
|
-
|
376
|
-
class ShareAccessTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
377
|
-
"""Access tier for specific share. GpV2 account can choose between TransactionOptimized (default),
|
378
|
-
Hot, and Cool. FileStorage account can choose Premium.
|
379
|
-
"""
|
380
|
-
|
381
|
-
TRANSACTION_OPTIMIZED = "TransactionOptimized"
|
382
|
-
HOT = "Hot"
|
383
|
-
COOL = "Cool"
|
384
|
-
PREMIUM = "Premium"
|
385
|
-
|
386
|
-
|
387
|
-
class SignedResource(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
388
|
-
"""The signed services accessible with the service SAS. Possible values include: Blob (b),
|
389
|
-
Container (c), File (f), Share (s).
|
390
|
-
"""
|
391
|
-
|
392
|
-
B = "b"
|
393
|
-
C = "c"
|
394
|
-
F = "f"
|
395
|
-
S = "s"
|
396
|
-
|
397
|
-
|
398
|
-
class SignedResourceTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
399
|
-
"""The signed resource types that are accessible with the account SAS. Service (s): Access to
|
400
|
-
service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to
|
401
|
-
object-level APIs for blobs, queue messages, table entities, and files.
|
402
|
-
"""
|
403
|
-
|
404
|
-
S = "s"
|
405
|
-
C = "c"
|
406
|
-
O = "o"
|
407
|
-
|
408
|
-
|
409
|
-
class SkuName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
410
|
-
"""The SKU name. Required for account creation; optional for update. Note that in older versions,
|
411
|
-
SKU name was called accountType.
|
412
|
-
"""
|
413
|
-
|
414
|
-
STANDARD_LRS = "Standard_LRS"
|
415
|
-
STANDARD_GRS = "Standard_GRS"
|
416
|
-
STANDARD_RAGRS = "Standard_RAGRS"
|
417
|
-
STANDARD_ZRS = "Standard_ZRS"
|
418
|
-
PREMIUM_LRS = "Premium_LRS"
|
419
|
-
PREMIUM_ZRS = "Premium_ZRS"
|
420
|
-
STANDARD_GZRS = "Standard_GZRS"
|
421
|
-
STANDARD_RAGZRS = "Standard_RAGZRS"
|
422
|
-
|
423
|
-
|
424
|
-
class SkuTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
425
|
-
"""The SKU tier. This is based on the SKU name."""
|
426
|
-
|
427
|
-
STANDARD = "Standard"
|
428
|
-
PREMIUM = "Premium"
|
429
|
-
|
430
|
-
|
431
|
-
class State(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
432
|
-
"""Gets the state of virtual network rule."""
|
433
|
-
|
434
|
-
PROVISIONING = "provisioning"
|
435
|
-
DEPROVISIONING = "deprovisioning"
|
436
|
-
SUCCEEDED = "succeeded"
|
437
|
-
FAILED = "failed"
|
438
|
-
NETWORK_SOURCE_DELETED = "networkSourceDeleted"
|
439
|
-
|
440
|
-
|
441
|
-
class StorageAccountExpand(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
442
|
-
"""StorageAccountExpand."""
|
443
|
-
|
444
|
-
GEO_REPLICATION_STATS = "geoReplicationStats"
|
445
|
-
BLOB_RESTORE_STATUS = "blobRestoreStatus"
|
446
|
-
|
447
|
-
|
448
|
-
class UsageUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta):
|
449
|
-
"""Gets the unit of measurement."""
|
450
|
-
|
451
|
-
COUNT = "Count"
|
452
|
-
BYTES = "Bytes"
|
453
|
-
SECONDS = "Seconds"
|
454
|
-
PERCENT = "Percent"
|
455
|
-
COUNTS_PER_SECOND = "CountsPerSecond"
|
456
|
-
BYTES_PER_SECOND = "BytesPerSecond"
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# --------------------------------------------------------------------------
|
3
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
5
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
# --------------------------------------------------------------------------
|
8
|
-
# pylint: disable=wrong-import-position
|
9
|
-
|
10
|
-
from typing import TYPE_CHECKING
|
11
|
-
|
12
|
-
if TYPE_CHECKING:
|
13
|
-
from ._patch import * # pylint: disable=unused-wildcard-import
|
14
|
-
|
15
|
-
from ._operations import Operations # type: ignore
|
16
|
-
from ._skus_operations import SkusOperations # type: ignore
|
17
|
-
from ._storage_accounts_operations import StorageAccountsOperations # type: ignore
|
18
|
-
from ._usages_operations import UsagesOperations # type: ignore
|
19
|
-
from ._management_policies_operations import ManagementPoliciesOperations # type: ignore
|
20
|
-
from ._blob_inventory_policies_operations import BlobInventoryPoliciesOperations # type: ignore
|
21
|
-
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations # type: ignore
|
22
|
-
from ._private_link_resources_operations import PrivateLinkResourcesOperations # type: ignore
|
23
|
-
from ._object_replication_policies_operations import ObjectReplicationPoliciesOperations # type: ignore
|
24
|
-
from ._encryption_scopes_operations import EncryptionScopesOperations # type: ignore
|
25
|
-
from ._blob_services_operations import BlobServicesOperations # type: ignore
|
26
|
-
from ._blob_containers_operations import BlobContainersOperations # type: ignore
|
27
|
-
from ._file_services_operations import FileServicesOperations # type: ignore
|
28
|
-
from ._file_shares_operations import FileSharesOperations # type: ignore
|
29
|
-
from ._queue_services_operations import QueueServicesOperations # type: ignore
|
30
|
-
from ._queue_operations import QueueOperations # type: ignore
|
31
|
-
from ._table_services_operations import TableServicesOperations # type: ignore
|
32
|
-
from ._table_operations import TableOperations # type: ignore
|
33
|
-
|
34
|
-
from ._patch import __all__ as _patch_all
|
35
|
-
from ._patch import *
|
36
|
-
from ._patch import patch_sdk as _patch_sdk
|
37
|
-
|
38
|
-
__all__ = [
|
39
|
-
"Operations",
|
40
|
-
"SkusOperations",
|
41
|
-
"StorageAccountsOperations",
|
42
|
-
"UsagesOperations",
|
43
|
-
"ManagementPoliciesOperations",
|
44
|
-
"BlobInventoryPoliciesOperations",
|
45
|
-
"PrivateEndpointConnectionsOperations",
|
46
|
-
"PrivateLinkResourcesOperations",
|
47
|
-
"ObjectReplicationPoliciesOperations",
|
48
|
-
"EncryptionScopesOperations",
|
49
|
-
"BlobServicesOperations",
|
50
|
-
"BlobContainersOperations",
|
51
|
-
"FileServicesOperations",
|
52
|
-
"FileSharesOperations",
|
53
|
-
"QueueServicesOperations",
|
54
|
-
"QueueOperations",
|
55
|
-
"TableServicesOperations",
|
56
|
-
"TableOperations",
|
57
|
-
]
|
58
|
-
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
59
|
-
_patch_sdk()
|