Skip to content

Commit

Permalink
Generated from cadabab7b7bbb4009c365e7ef68b1ccbfb35bf7d
Browse files Browse the repository at this point in the history
Merge pull request #1 from Azure/dev-storagesync-Microsoft.StorageSync-2020-03-01

StorageSync - Add enum to few properties (#9229)
  • Loading branch information
SDK Automation committed Apr 29, 2020
1 parent 5b403bf commit 9957d92
Show file tree
Hide file tree
Showing 19 changed files with 2,077 additions and 163 deletions.
28 changes: 10 additions & 18 deletions sdk/storage/azure-mgmt-storagesync/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Storage Sync Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.

For a more complete set of Azure libraries, see the
[azure](https://pypi.python.org/pypi/azure) bundle package.
# Usage

## Usage
For code examples, see [Storage Sync](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For code examples, see [Storage
Sync](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback
# Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-storagesync%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-storagesync%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
from ._configuration import StorageSyncManagementClientConfiguration
from .operations import Operations
from .operations import StorageSyncServicesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import SyncGroupsOperations
from .operations import CloudEndpointsOperations
from .operations import ServerEndpointsOperations
Expand All @@ -34,6 +36,10 @@ class StorageSyncManagementClient(SDKClient):
:vartype operations: azure.mgmt.storagesync.operations.Operations
:ivar storage_sync_services: StorageSyncServices operations
:vartype storage_sync_services: azure.mgmt.storagesync.operations.StorageSyncServicesOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.storagesync.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.storagesync.operations.PrivateEndpointConnectionsOperations
:ivar sync_groups: SyncGroups operations
:vartype sync_groups: azure.mgmt.storagesync.operations.SyncGroupsOperations
:ivar cloud_endpoints: CloudEndpoints operations
Expand Down Expand Up @@ -62,14 +68,18 @@ def __init__(
super(StorageSyncManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2019-06-01'
self.api_version = '2020-03-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.storage_sync_services = StorageSyncServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sync_groups = SyncGroupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.cloud_endpoints = CloudEndpointsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,25 @@
from ._models_py3 import CheckNameAvailabilityResult
from ._models_py3 import CloudEndpoint
from ._models_py3 import CloudEndpointCreateParameters
from ._models_py3 import CloudTieringCachePerformance
from ._models_py3 import CloudTieringDatePolicyStatus
from ._models_py3 import CloudTieringFilesNotTiering
from ._models_py3 import CloudTieringSpaceSavings
from ._models_py3 import CloudTieringVolumeFreeSpacePolicyStatus
from ._models_py3 import FilesNotTieringError
from ._models_py3 import OperationDisplayInfo
from ._models_py3 import OperationDisplayResource
from ._models_py3 import OperationEntity
from ._models_py3 import OperationStatus
from ._models_py3 import PostBackupResponse
from ._models_py3 import PostRestoreRequest
from ._models_py3 import PreRestoreRequest
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionItem
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceListResult
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import RecallActionParameters
from ._models_py3 import RegisteredServer
Expand Down Expand Up @@ -60,13 +72,25 @@
from ._models import CheckNameAvailabilityResult
from ._models import CloudEndpoint
from ._models import CloudEndpointCreateParameters
from ._models import CloudTieringCachePerformance
from ._models import CloudTieringDatePolicyStatus
from ._models import CloudTieringFilesNotTiering
from ._models import CloudTieringSpaceSavings
from ._models import CloudTieringVolumeFreeSpacePolicyStatus
from ._models import FilesNotTieringError
from ._models import OperationDisplayInfo
from ._models import OperationDisplayResource
from ._models import OperationEntity
from ._models import OperationStatus
from ._models import PostBackupResponse
from ._models import PostRestoreRequest
from ._models import PreRestoreRequest
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionItem
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import RecallActionParameters
from ._models import RegisteredServer
Expand Down Expand Up @@ -99,15 +123,29 @@
from ._models import Workflow
from ._paged_models import CloudEndpointPaged
from ._paged_models import OperationEntityPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import RegisteredServerPaged
from ._paged_models import ServerEndpointPaged
from ._paged_models import StorageSyncServicePaged
from ._paged_models import SyncGroupPaged
from ._paged_models import WorkflowPaged
from ._storage_sync_management_client_enums import (
Reason,
IncomingTrafficPolicy,
PrivateEndpointServiceConnectionStatus,
PrivateEndpointConnectionProvisioningState,
ChangeDetectionMode,
FeatureStatus,
InitialDownloadPolicy,
LocalCacheMode,
ServerEndpointSyncHealthState,
ServerEndpointSyncActivityState,
ServerEndpointOfflineDataTransferState,
ServerEndpointCloudTieringHealthState,
WorkflowStatus,
OperationDirection,
NameAvailabilityReason,
ProgressType,
)

__all__ = [
Expand All @@ -117,13 +155,25 @@
'CheckNameAvailabilityResult',
'CloudEndpoint',
'CloudEndpointCreateParameters',
'CloudTieringCachePerformance',
'CloudTieringDatePolicyStatus',
'CloudTieringFilesNotTiering',
'CloudTieringSpaceSavings',
'CloudTieringVolumeFreeSpacePolicyStatus',
'FilesNotTieringError',
'OperationDisplayInfo',
'OperationDisplayResource',
'OperationEntity',
'OperationStatus',
'PostBackupResponse',
'PostRestoreRequest',
'PreRestoreRequest',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionItem',
'PrivateLinkResource',
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'RecallActionParameters',
'RegisteredServer',
Expand Down Expand Up @@ -156,12 +206,26 @@
'Workflow',
'OperationEntityPaged',
'StorageSyncServicePaged',
'PrivateEndpointConnectionPaged',
'SyncGroupPaged',
'CloudEndpointPaged',
'ServerEndpointPaged',
'RegisteredServerPaged',
'WorkflowPaged',
'Reason',
'IncomingTrafficPolicy',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'ChangeDetectionMode',
'FeatureStatus',
'InitialDownloadPolicy',
'LocalCacheMode',
'ServerEndpointSyncHealthState',
'ServerEndpointSyncActivityState',
'ServerEndpointOfflineDataTransferState',
'ServerEndpointCloudTieringHealthState',
'WorkflowStatus',
'OperationDirection',
'NameAvailabilityReason',
'ProgressType',
]
Loading

0 comments on commit 9957d92

Please sign in to comment.