Skip to content

Commit 7cedad5

Browse files
authored
release-for-mgmt-storage (#11018)
1 parent 8cf46f2 commit 7cedad5

19 files changed

+1963
-924
lines changed

sdk/storage/azure-mgmt-storage/CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Release History
22

3+
## 10.0.0 (2020-05-07)
4+
5+
**Features**
6+
7+
- Model ManagementPolicyFilter has a new parameter blob_index_match
8+
- Model FileShareItem has a new parameter access_tier_status
9+
- Model FileShareItem has a new parameter share_usage_bytes
10+
- Model FileShareItem has a new parameter deleted
11+
- Model FileShareItem has a new parameter deleted_time
12+
- Model FileShareItem has a new parameter access_tier
13+
- Model FileShareItem has a new parameter version
14+
- Model FileShareItem has a new parameter root_squash
15+
- Model FileShareItem has a new parameter enabled_protocols
16+
- Model FileShareItem has a new parameter access_tier_change_time
17+
- Model FileShareItem has a new parameter remaining_retention_days
18+
- Model RestorePolicyProperties has a new parameter last_enabled_time
19+
- Model FileShare has a new parameter access_tier_status
20+
- Model FileShare has a new parameter share_usage_bytes
21+
- Model FileShare has a new parameter deleted
22+
- Model FileShare has a new parameter deleted_time
23+
- Model FileShare has a new parameter access_tier
24+
- Model FileShare has a new parameter version
25+
- Model FileShare has a new parameter root_squash
26+
- Model FileShare has a new parameter enabled_protocols
27+
- Model FileShare has a new parameter access_tier_change_time
28+
- Model FileShare has a new parameter remaining_retention_days
29+
- Added operation FileSharesOperations.restore
30+
- Added operation PrivateEndpointConnectionsOperations.list
31+
- Added operation group ObjectReplicationPoliciesOperations
32+
33+
**Breaking changes**
34+
35+
- Operation FileSharesOperations.update has a new signature
36+
- Operation FileSharesOperations.create has a new signature
37+
- Operation FileSharesOperations.get has a new signature
38+
- Operation FileSharesOperations.list has a new signature
39+
- Operation FileSharesOperations.update has a new signature
40+
- Operation FileSharesOperations.create has a new signature
41+
342
## 9.0.0 (2020-03-27)
443

544
**Features**

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_storage_management_client.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,19 @@ def management_policies(self):
237237
raise NotImplementedError("APIVersion {} is not available".format(api_version))
238238
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
239239

240+
@property
241+
def object_replication_policies(self):
242+
"""Instance depends on the API version:
243+
244+
* 2019-06-01: :class:`ObjectReplicationPoliciesOperations<azure.mgmt.storage.v2019_06_01.operations.ObjectReplicationPoliciesOperations>`
245+
"""
246+
api_version = self._get_api_version('object_replication_policies')
247+
if api_version == '2019-06-01':
248+
from .v2019_06_01.operations import ObjectReplicationPoliciesOperations as OperationClass
249+
else:
250+
raise NotImplementedError("APIVersion {} is not available".format(api_version))
251+
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
252+
240253
@property
241254
def operations(self):
242255
"""Instance depends on the API version:

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/_storage_management_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .operations import ManagementPoliciesOperations
2121
from .operations import PrivateEndpointConnectionsOperations
2222
from .operations import PrivateLinkResourcesOperations
23+
from .operations import ObjectReplicationPoliciesOperations
2324
from .operations import EncryptionScopesOperations
2425
from .operations import BlobServicesOperations
2526
from .operations import BlobContainersOperations
@@ -48,6 +49,8 @@ class StorageManagementClient(SDKClient):
4849
:vartype private_endpoint_connections: azure.mgmt.storage.v2019_06_01.operations.PrivateEndpointConnectionsOperations
4950
:ivar private_link_resources: PrivateLinkResources operations
5051
:vartype private_link_resources: azure.mgmt.storage.v2019_06_01.operations.PrivateLinkResourcesOperations
52+
:ivar object_replication_policies: ObjectReplicationPolicies operations
53+
:vartype object_replication_policies: azure.mgmt.storage.v2019_06_01.operations.ObjectReplicationPoliciesOperations
5154
:ivar encryption_scopes: EncryptionScopes operations
5255
:vartype encryption_scopes: azure.mgmt.storage.v2019_06_01.operations.EncryptionScopesOperations
5356
:ivar blob_services: BlobServices operations
@@ -92,6 +95,8 @@ def __init__(
9295
self._client, self.config, self._serialize, self._deserialize)
9396
self.private_link_resources = PrivateLinkResourcesOperations(
9497
self._client, self.config, self._serialize, self._deserialize)
98+
self.object_replication_policies = ObjectReplicationPoliciesOperations(
99+
self._client, self.config, self._serialize, self._deserialize)
95100
self.encryption_scopes = EncryptionScopesOperations(
96101
self._client, self.config, self._serialize, self._deserialize)
97102
self.blob_services = BlobServicesOperations(

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from ._models_py3 import CustomDomain
2727
from ._models_py3 import DateAfterCreation
2828
from ._models_py3 import DateAfterModification
29+
from ._models_py3 import DeletedShare
2930
from ._models_py3 import DeleteRetentionPolicy
3031
from ._models_py3 import Dimension
3132
from ._models_py3 import Encryption
@@ -62,6 +63,9 @@
6263
from ._models_py3 import ManagementPolicySnapShot
6364
from ._models_py3 import MetricSpecification
6465
from ._models_py3 import NetworkRuleSet
66+
from ._models_py3 import ObjectReplicationPolicy
67+
from ._models_py3 import ObjectReplicationPolicyFilter
68+
from ._models_py3 import ObjectReplicationPolicyRule
6569
from ._models_py3 import Operation
6670
from ._models_py3 import OperationDisplay
6771
from ._models_py3 import PrivateEndpoint
@@ -88,6 +92,7 @@
8892
from ._models_py3 import StorageAccountMicrosoftEndpoints
8993
from ._models_py3 import StorageAccountRegenerateKeyParameters
9094
from ._models_py3 import StorageAccountUpdateParameters
95+
from ._models_py3 import TagFilter
9196
from ._models_py3 import TagProperty
9297
from ._models_py3 import TrackedResource
9398
from ._models_py3 import UpdateHistoryProperty
@@ -111,6 +116,7 @@
111116
from ._models import CustomDomain
112117
from ._models import DateAfterCreation
113118
from ._models import DateAfterModification
119+
from ._models import DeletedShare
114120
from ._models import DeleteRetentionPolicy
115121
from ._models import Dimension
116122
from ._models import Encryption
@@ -147,6 +153,9 @@
147153
from ._models import ManagementPolicySnapShot
148154
from ._models import MetricSpecification
149155
from ._models import NetworkRuleSet
156+
from ._models import ObjectReplicationPolicy
157+
from ._models import ObjectReplicationPolicyFilter
158+
from ._models import ObjectReplicationPolicyRule
150159
from ._models import Operation
151160
from ._models import OperationDisplay
152161
from ._models import PrivateEndpoint
@@ -173,6 +182,7 @@
173182
from ._models import StorageAccountMicrosoftEndpoints
174183
from ._models import StorageAccountRegenerateKeyParameters
175184
from ._models import StorageAccountUpdateParameters
185+
from ._models import TagFilter
176186
from ._models import TagProperty
177187
from ._models import TrackedResource
178188
from ._models import UpdateHistoryProperty
@@ -183,7 +193,9 @@
183193
from ._paged_models import EncryptionScopePaged
184194
from ._paged_models import FileShareItemPaged
185195
from ._paged_models import ListContainerItemPaged
196+
from ._paged_models import ObjectReplicationPolicyPaged
186197
from ._paged_models import OperationPaged
198+
from ._paged_models import PrivateEndpointConnectionPaged
187199
from ._paged_models import SkuInformationPaged
188200
from ._paged_models import StorageAccountPaged
189201
from ._paged_models import UsagePaged
@@ -224,8 +236,13 @@
224236
LeaseDuration,
225237
ImmutabilityPolicyState,
226238
ImmutabilityPolicyUpdateType,
239+
EnabledProtocols,
240+
RootSquashType,
241+
ShareAccessTier,
227242
StorageAccountExpand,
228243
ListKeyExpand,
244+
ListSharesExpand,
245+
GetShareExpand,
229246
)
230247

231248
__all__ = [
@@ -245,6 +262,7 @@
245262
'CustomDomain',
246263
'DateAfterCreation',
247264
'DateAfterModification',
265+
'DeletedShare',
248266
'DeleteRetentionPolicy',
249267
'Dimension',
250268
'Encryption',
@@ -281,6 +299,9 @@
281299
'ManagementPolicySnapShot',
282300
'MetricSpecification',
283301
'NetworkRuleSet',
302+
'ObjectReplicationPolicy',
303+
'ObjectReplicationPolicyFilter',
304+
'ObjectReplicationPolicyRule',
284305
'Operation',
285306
'OperationDisplay',
286307
'PrivateEndpoint',
@@ -307,6 +328,7 @@
307328
'StorageAccountMicrosoftEndpoints',
308329
'StorageAccountRegenerateKeyParameters',
309330
'StorageAccountUpdateParameters',
331+
'TagFilter',
310332
'TagProperty',
311333
'TrackedResource',
312334
'UpdateHistoryProperty',
@@ -317,6 +339,8 @@
317339
'SkuInformationPaged',
318340
'StorageAccountPaged',
319341
'UsagePaged',
342+
'PrivateEndpointConnectionPaged',
343+
'ObjectReplicationPolicyPaged',
320344
'EncryptionScopePaged',
321345
'BlobServicePropertiesPaged',
322346
'ListContainerItemPaged',
@@ -357,6 +381,11 @@
357381
'LeaseDuration',
358382
'ImmutabilityPolicyState',
359383
'ImmutabilityPolicyUpdateType',
384+
'EnabledProtocols',
385+
'RootSquashType',
386+
'ShareAccessTier',
360387
'StorageAccountExpand',
361388
'ListKeyExpand',
389+
'ListSharesExpand',
390+
'GetShareExpand',
362391
]

0 commit comments

Comments
 (0)