Skip to content

Commit

Permalink
CodeGen from PR 13810 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
storagesync readme t2 config (Azure#13810)

* storagesync readme t2 config

* storagesync readme.python t2 config
  • Loading branch information
SDKAuto committed Apr 7, 2021
1 parent 977bfe9 commit 784e647
Show file tree
Hide file tree
Showing 19 changed files with 2,780 additions and 348 deletions.
1 change: 1 addition & 0 deletions sdk/storage/azure-mgmt-storagesync/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/storage/azure-mgmt-storagesync/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "18ed65c7581a1142c0015451e4d61ef0a3797268",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/storagesync/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/storagesync/resource-manager/readme.md"
}
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,30 @@
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,
ServerEndpointHealthState,
ServerEndpointSyncActivityState,
ServerEndpointSyncMode,
ServerEndpointOfflineDataTransferState,
RegisteredServerAgentVersionStatus,
WorkflowStatus,
OperationDirection,
NameAvailabilityReason,
ProgressType,
)

__all__ = [
Expand All @@ -117,13 +166,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 +196,7 @@
'ResourcesMoveInfo',
'RestoreFileSpec',
'ServerEndpoint',
'ServerEndpointBackgroundDataDownloadActivity',
'ServerEndpointCloudTieringStatus',
'ServerEndpointCreateParameters',
'ServerEndpointFilesNotSyncingError',
Expand All @@ -144,6 +209,7 @@
'StorageSyncApiError',
'StorageSyncError', 'StorageSyncErrorException',
'StorageSyncErrorDetails',
'StorageSyncInnerErrorDetails',
'StorageSyncService',
'StorageSyncServiceCreateParameters',
'StorageSyncServiceUpdateParameters',
Expand All @@ -156,12 +222,27 @@
'Workflow',
'OperationEntityPaged',
'StorageSyncServicePaged',
'PrivateEndpointConnectionPaged',
'SyncGroupPaged',
'CloudEndpointPaged',
'ServerEndpointPaged',
'RegisteredServerPaged',
'WorkflowPaged',
'Reason',
'IncomingTrafficPolicy',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'ChangeDetectionMode',
'FeatureStatus',
'InitialDownloadPolicy',
'LocalCacheMode',
'ServerEndpointHealthState',
'ServerEndpointSyncActivityState',
'ServerEndpointSyncMode',
'ServerEndpointOfflineDataTransferState',
'RegisteredServerAgentVersionStatus',
'WorkflowStatus',
'OperationDirection',
'NameAvailabilityReason',
'ProgressType',
]
Loading

0 comments on commit 784e647

Please sign in to comment.