Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Apr 27, 2020
1 parent b279394 commit 8ac4bc0
Show file tree
Hide file tree
Showing 10 changed files with 1,174 additions and 33 deletions.
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,6 +193,7 @@
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 SkuInformationPaged
from ._paged_models import StorageAccountPaged
Expand Down Expand Up @@ -224,8 +235,13 @@
LeaseDuration,
ImmutabilityPolicyState,
ImmutabilityPolicyUpdateType,
EnabledProtocols,
RootSquashType,
ShareAccessTier,
StorageAccountExpand,
ListKeyExpand,
ListSharesExpand,
GetShareExpand,
)

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

0 comments on commit 8ac4bc0

Please sign in to comment.