Skip to content

Commit

Permalink
release-for-mgmt-storage (Azure#11018)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaozha authored May 9, 2020
1 parent 8cf46f2 commit 7cedad5
Show file tree
Hide file tree
Showing 19 changed files with 1,963 additions and 924 deletions.
39 changes: 39 additions & 0 deletions sdk/storage/azure-mgmt-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# Release History

## 10.0.0 (2020-05-07)

**Features**

- Model ManagementPolicyFilter has a new parameter blob_index_match
- Model FileShareItem has a new parameter access_tier_status
- Model FileShareItem has a new parameter share_usage_bytes
- Model FileShareItem has a new parameter deleted
- Model FileShareItem has a new parameter deleted_time
- Model FileShareItem has a new parameter access_tier
- Model FileShareItem has a new parameter version
- Model FileShareItem has a new parameter root_squash
- Model FileShareItem has a new parameter enabled_protocols
- Model FileShareItem has a new parameter access_tier_change_time
- Model FileShareItem has a new parameter remaining_retention_days
- Model RestorePolicyProperties has a new parameter last_enabled_time
- Model FileShare has a new parameter access_tier_status
- Model FileShare has a new parameter share_usage_bytes
- Model FileShare has a new parameter deleted
- Model FileShare has a new parameter deleted_time
- Model FileShare has a new parameter access_tier
- Model FileShare has a new parameter version
- Model FileShare has a new parameter root_squash
- Model FileShare has a new parameter enabled_protocols
- Model FileShare has a new parameter access_tier_change_time
- Model FileShare has a new parameter remaining_retention_days
- Added operation FileSharesOperations.restore
- Added operation PrivateEndpointConnectionsOperations.list
- Added operation group ObjectReplicationPoliciesOperations

**Breaking changes**

- Operation FileSharesOperations.update has a new signature
- Operation FileSharesOperations.create has a new signature
- Operation FileSharesOperations.get has a new signature
- Operation FileSharesOperations.list has a new signature
- Operation FileSharesOperations.update has a new signature
- Operation FileSharesOperations.create has a new signature

## 9.0.0 (2020-03-27)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,19 @@ def management_policies(self):
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def object_replication_policies(self):
"""Instance depends on the API version:
* 2019-06-01: :class:`ObjectReplicationPoliciesOperations<azure.mgmt.storage.v2019_06_01.operations.ObjectReplicationPoliciesOperations>`
"""
api_version = self._get_api_version('object_replication_policies')
if api_version == '2019-06-01':
from .v2019_06_01.operations import ObjectReplicationPoliciesOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def operations(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from .operations import ManagementPoliciesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ObjectReplicationPoliciesOperations
from .operations import EncryptionScopesOperations
from .operations import BlobServicesOperations
from .operations import BlobContainersOperations
Expand Down Expand Up @@ -48,6 +49,8 @@ class StorageManagementClient(SDKClient):
:vartype private_endpoint_connections: azure.mgmt.storage.v2019_06_01.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.storage.v2019_06_01.operations.PrivateLinkResourcesOperations
:ivar object_replication_policies: ObjectReplicationPolicies operations
:vartype object_replication_policies: azure.mgmt.storage.v2019_06_01.operations.ObjectReplicationPoliciesOperations
:ivar encryption_scopes: EncryptionScopes operations
:vartype encryption_scopes: azure.mgmt.storage.v2019_06_01.operations.EncryptionScopesOperations
:ivar blob_services: BlobServices operations
Expand Down Expand Up @@ -92,6 +95,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.object_replication_policies = ObjectReplicationPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.encryption_scopes = EncryptionScopesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.blob_services = BlobServicesOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from ._models_py3 import CustomDomain
from ._models_py3 import DateAfterCreation
from ._models_py3 import DateAfterModification
from ._models_py3 import DeletedShare
from ._models_py3 import DeleteRetentionPolicy
from ._models_py3 import Dimension
from ._models_py3 import Encryption
Expand Down Expand Up @@ -62,6 +63,9 @@
from ._models_py3 import ManagementPolicySnapShot
from ._models_py3 import MetricSpecification
from ._models_py3 import NetworkRuleSet
from ._models_py3 import ObjectReplicationPolicy
from ._models_py3 import ObjectReplicationPolicyFilter
from ._models_py3 import ObjectReplicationPolicyRule
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import PrivateEndpoint
Expand All @@ -88,6 +92,7 @@
from ._models_py3 import StorageAccountMicrosoftEndpoints
from ._models_py3 import StorageAccountRegenerateKeyParameters
from ._models_py3 import StorageAccountUpdateParameters
from ._models_py3 import TagFilter
from ._models_py3 import TagProperty
from ._models_py3 import TrackedResource
from ._models_py3 import UpdateHistoryProperty
Expand All @@ -111,6 +116,7 @@
from ._models import CustomDomain
from ._models import DateAfterCreation
from ._models import DateAfterModification
from ._models import DeletedShare
from ._models import DeleteRetentionPolicy
from ._models import Dimension
from ._models import Encryption
Expand Down Expand Up @@ -147,6 +153,9 @@
from ._models import ManagementPolicySnapShot
from ._models import MetricSpecification
from ._models import NetworkRuleSet
from ._models import ObjectReplicationPolicy
from ._models import ObjectReplicationPolicyFilter
from ._models import ObjectReplicationPolicyRule
from ._models import Operation
from ._models import OperationDisplay
from ._models import PrivateEndpoint
Expand All @@ -173,6 +182,7 @@
from ._models import StorageAccountMicrosoftEndpoints
from ._models import StorageAccountRegenerateKeyParameters
from ._models import StorageAccountUpdateParameters
from ._models import TagFilter
from ._models import TagProperty
from ._models import TrackedResource
from ._models import UpdateHistoryProperty
Expand All @@ -183,7 +193,9 @@
from ._paged_models import EncryptionScopePaged
from ._paged_models import FileShareItemPaged
from ._paged_models import ListContainerItemPaged
from ._paged_models import ObjectReplicationPolicyPaged
from ._paged_models import OperationPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import SkuInformationPaged
from ._paged_models import StorageAccountPaged
from ._paged_models import UsagePaged
Expand Down Expand Up @@ -224,8 +236,13 @@
LeaseDuration,
ImmutabilityPolicyState,
ImmutabilityPolicyUpdateType,
EnabledProtocols,
RootSquashType,
ShareAccessTier,
StorageAccountExpand,
ListKeyExpand,
ListSharesExpand,
GetShareExpand,
)

__all__ = [
Expand All @@ -245,6 +262,7 @@
'CustomDomain',
'DateAfterCreation',
'DateAfterModification',
'DeletedShare',
'DeleteRetentionPolicy',
'Dimension',
'Encryption',
Expand Down Expand Up @@ -281,6 +299,9 @@
'ManagementPolicySnapShot',
'MetricSpecification',
'NetworkRuleSet',
'ObjectReplicationPolicy',
'ObjectReplicationPolicyFilter',
'ObjectReplicationPolicyRule',
'Operation',
'OperationDisplay',
'PrivateEndpoint',
Expand All @@ -307,6 +328,7 @@
'StorageAccountMicrosoftEndpoints',
'StorageAccountRegenerateKeyParameters',
'StorageAccountUpdateParameters',
'TagFilter',
'TagProperty',
'TrackedResource',
'UpdateHistoryProperty',
Expand All @@ -317,6 +339,8 @@
'SkuInformationPaged',
'StorageAccountPaged',
'UsagePaged',
'PrivateEndpointConnectionPaged',
'ObjectReplicationPolicyPaged',
'EncryptionScopePaged',
'BlobServicePropertiesPaged',
'ListContainerItemPaged',
Expand Down Expand Up @@ -357,6 +381,11 @@
'LeaseDuration',
'ImmutabilityPolicyState',
'ImmutabilityPolicyUpdateType',
'EnabledProtocols',
'RootSquashType',
'ShareAccessTier',
'StorageAccountExpand',
'ListKeyExpand',
'ListSharesExpand',
'GetShareExpand',
]
Loading

0 comments on commit 7cedad5

Please sign in to comment.