Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-storagesync] DONOT COMMIT: Update Microsoft.StorageSync (2020-09-01 API version) for initialuploadpolicy property for SEP #2621

Open
wants to merge 1 commit into
base: release/v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [azure sdk python release](https://aka.ms/azsdk/python/all).

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 sdk python release](https://aka.ms/azsdk/python/all).
# 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-09-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,28 @@
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 OperationProperties
from ._models_py3 import OperationResourceMetricSpecification
from ._models_py3 import OperationResourceMetricSpecificationDimension
from ._models_py3 import OperationResourceServiceSpecification
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 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 All @@ -31,6 +46,7 @@
from ._models_py3 import ResourcesMoveInfo
from ._models_py3 import RestoreFileSpec
from ._models_py3 import ServerEndpoint
from ._models_py3 import ServerEndpointBackgroundDataDownloadActivity
from ._models_py3 import ServerEndpointCloudTieringStatus
from ._models_py3 import ServerEndpointCreateParameters
from ._models_py3 import ServerEndpointFilesNotSyncingError
Expand All @@ -43,6 +59,7 @@
from ._models_py3 import StorageSyncApiError
from ._models_py3 import StorageSyncError, StorageSyncErrorException
from ._models_py3 import StorageSyncErrorDetails
from ._models_py3 import StorageSyncInnerErrorDetails
from ._models_py3 import StorageSyncService
from ._models_py3 import StorageSyncServiceCreateParameters
from ._models_py3 import StorageSyncServiceUpdateParameters
Expand All @@ -60,13 +77,28 @@
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 OperationProperties
from ._models import OperationResourceMetricSpecification
from ._models import OperationResourceMetricSpecificationDimension
from ._models import OperationResourceServiceSpecification
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 PrivateLinkResource
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import RecallActionParameters
from ._models import RegisteredServer
Expand All @@ -75,6 +107,7 @@
from ._models import ResourcesMoveInfo
from ._models import RestoreFileSpec
from ._models import ServerEndpoint
from ._models import ServerEndpointBackgroundDataDownloadActivity
from ._models import ServerEndpointCloudTieringStatus
from ._models import ServerEndpointCreateParameters
from ._models import ServerEndpointFilesNotSyncingError
Expand All @@ -87,6 +120,7 @@
from ._models import StorageSyncApiError
from ._models import StorageSyncError, StorageSyncErrorException
from ._models import StorageSyncErrorDetails
from ._models import StorageSyncInnerErrorDetails
from ._models import StorageSyncService
from ._models import StorageSyncServiceCreateParameters
from ._models import StorageSyncServiceUpdateParameters
Expand All @@ -99,15 +133,31 @@
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,
InitialUploadPolicy,
ServerEndpointHealthState,
ServerEndpointSyncActivityState,
ServerEndpointSyncMode,
ServerEndpointOfflineDataTransferState,
RegisteredServerAgentVersionStatus,
WorkflowStatus,
OperationDirection,
NameAvailabilityReason,
ProgressType,
)

__all__ = [
Expand All @@ -117,13 +167,28 @@
'CheckNameAvailabilityResult',
'CloudEndpoint',
'CloudEndpointCreateParameters',
'CloudTieringCachePerformance',
'CloudTieringDatePolicyStatus',
'CloudTieringFilesNotTiering',
'CloudTieringSpaceSavings',
'CloudTieringVolumeFreeSpacePolicyStatus',
'FilesNotTieringError',
'OperationDisplayInfo',
'OperationDisplayResource',
'OperationEntity',
'OperationProperties',
'OperationResourceMetricSpecification',
'OperationResourceMetricSpecificationDimension',
'OperationResourceServiceSpecification',
'OperationStatus',
'PostBackupResponse',
'PostRestoreRequest',
'PreRestoreRequest',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateLinkResource',
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'RecallActionParameters',
'RegisteredServer',
Expand All @@ -132,6 +197,7 @@
'ResourcesMoveInfo',
'RestoreFileSpec',
'ServerEndpoint',
'ServerEndpointBackgroundDataDownloadActivity',
'ServerEndpointCloudTieringStatus',
'ServerEndpointCreateParameters',
'ServerEndpointFilesNotSyncingError',
Expand All @@ -144,6 +210,7 @@
'StorageSyncApiError',
'StorageSyncError', 'StorageSyncErrorException',
'StorageSyncErrorDetails',
'StorageSyncInnerErrorDetails',
'StorageSyncService',
'StorageSyncServiceCreateParameters',
'StorageSyncServiceUpdateParameters',
Expand All @@ -156,12 +223,28 @@
'Workflow',
'OperationEntityPaged',
'StorageSyncServicePaged',
'PrivateEndpointConnectionPaged',
'SyncGroupPaged',
'CloudEndpointPaged',
'ServerEndpointPaged',
'RegisteredServerPaged',
'WorkflowPaged',
'Reason',
'IncomingTrafficPolicy',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'ChangeDetectionMode',
'FeatureStatus',
'InitialDownloadPolicy',
'LocalCacheMode',
'InitialUploadPolicy',
'ServerEndpointHealthState',
'ServerEndpointSyncActivityState',
'ServerEndpointSyncMode',
'ServerEndpointOfflineDataTransferState',
'RegisteredServerAgentVersionStatus',
'WorkflowStatus',
'OperationDirection',
'NameAvailabilityReason',
'ProgressType',
]
Loading