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 May 20, 2020
1 parent 2598959 commit 812957b
Show file tree
Hide file tree
Showing 14 changed files with 2,043 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,32 @@ def private_link_resources(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 queue(self):
"""Instance depends on the API version:
* 2019-06-01: :class:`QueueOperations<azure.mgmt.storage.v2019_06_01.operations.QueueOperations>`
"""
api_version = self._get_api_version('queue')
if api_version == '2019-06-01':
from .v2019_06_01.operations import QueueOperations 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 queue_services(self):
"""Instance depends on the API version:
* 2019-06-01: :class:`QueueServicesOperations<azure.mgmt.storage.v2019_06_01.operations.QueueServicesOperations>`
"""
api_version = self._get_api_version('queue_services')
if api_version == '2019-06-01':
from .v2019_06_01.operations import QueueServicesOperations 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 skus(self):
"""Instance depends on the API version:
Expand Down Expand Up @@ -387,6 +413,32 @@ def storage_accounts(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 table(self):
"""Instance depends on the API version:
* 2019-06-01: :class:`TableOperations<azure.mgmt.storage.v2019_06_01.operations.TableOperations>`
"""
api_version = self._get_api_version('table')
if api_version == '2019-06-01':
from .v2019_06_01.operations import TableOperations 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 table_services(self):
"""Instance depends on the API version:
* 2019-06-01: :class:`TableServicesOperations<azure.mgmt.storage.v2019_06_01.operations.TableServicesOperations>`
"""
api_version = self._get_api_version('table_services')
if api_version == '2019-06-01':
from .v2019_06_01.operations import TableServicesOperations 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 usage(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
from .operations import BlobContainersOperations
from .operations import FileServicesOperations
from .operations import FileSharesOperations
from .operations import QueueServicesOperations
from .operations import QueueOperations
from .operations import TableServicesOperations
from .operations import TableOperations
from . import models


Expand Down Expand Up @@ -61,6 +65,14 @@ class StorageManagementClient(SDKClient):
:vartype file_services: azure.mgmt.storage.v2019_06_01.operations.FileServicesOperations
:ivar file_shares: FileShares operations
:vartype file_shares: azure.mgmt.storage.v2019_06_01.operations.FileSharesOperations
:ivar queue_services: QueueServices operations
:vartype queue_services: azure.mgmt.storage.v2019_06_01.operations.QueueServicesOperations
:ivar queue: Queue operations
:vartype queue: azure.mgmt.storage.v2019_06_01.operations.QueueOperations
:ivar table_services: TableServices operations
:vartype table_services: azure.mgmt.storage.v2019_06_01.operations.TableServicesOperations
:ivar table: Table operations
:vartype table: azure.mgmt.storage.v2019_06_01.operations.TableOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -107,3 +119,11 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.file_shares = FileSharesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.queue_services = QueueServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.queue = QueueOperations(
self._client, self.config, self._serialize, self._deserialize)
self.table_services = TableServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.table = TableOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
from ._models_py3 import LegalHoldProperties
from ._models_py3 import ListAccountSasResponse
from ._models_py3 import ListContainerItem
from ._models_py3 import ListQueue
from ._models_py3 import ListQueueServices
from ._models_py3 import ListServiceSasResponse
from ._models_py3 import ListTableServices
from ._models_py3 import ManagementPolicy
from ._models_py3 import ManagementPolicyAction
from ._models_py3 import ManagementPolicyBaseBlob
Expand All @@ -74,6 +77,7 @@
from ._models_py3 import PrivateLinkResourceListResult
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import QueueServiceProperties
from ._models_py3 import Resource
from ._models_py3 import RestorePolicyProperties
from ._models_py3 import Restriction
Expand All @@ -92,6 +96,9 @@
from ._models_py3 import StorageAccountMicrosoftEndpoints
from ._models_py3 import StorageAccountRegenerateKeyParameters
from ._models_py3 import StorageAccountUpdateParameters
from ._models_py3 import StorageQueue
from ._models_py3 import Table
from ._models_py3 import TableServiceProperties
from ._models_py3 import TagFilter
from ._models_py3 import TagProperty
from ._models_py3 import TrackedResource
Expand Down Expand Up @@ -142,7 +149,10 @@
from ._models import LegalHoldProperties
from ._models import ListAccountSasResponse
from ._models import ListContainerItem
from ._models import ListQueue
from ._models import ListQueueServices
from ._models import ListServiceSasResponse
from ._models import ListTableServices
from ._models import ManagementPolicy
from ._models import ManagementPolicyAction
from ._models import ManagementPolicyBaseBlob
Expand All @@ -164,6 +174,7 @@
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import QueueServiceProperties
from ._models import Resource
from ._models import RestorePolicyProperties
from ._models import Restriction
Expand All @@ -182,6 +193,9 @@
from ._models import StorageAccountMicrosoftEndpoints
from ._models import StorageAccountRegenerateKeyParameters
from ._models import StorageAccountUpdateParameters
from ._models import StorageQueue
from ._models import Table
from ._models import TableServiceProperties
from ._models import TagFilter
from ._models import TagProperty
from ._models import TrackedResource
Expand All @@ -193,11 +207,13 @@
from ._paged_models import EncryptionScopePaged
from ._paged_models import FileShareItemPaged
from ._paged_models import ListContainerItemPaged
from ._paged_models import ListQueuePaged
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 TablePaged
from ._paged_models import UsagePaged
from ._storage_management_client_enums import (
ReasonCode,
Expand Down Expand Up @@ -241,6 +257,7 @@
ShareAccessTier,
StorageAccountExpand,
ListKeyExpand,
ListContainersInclude,
ListSharesExpand,
GetShareExpand,
)
Expand Down Expand Up @@ -288,7 +305,10 @@
'LegalHoldProperties',
'ListAccountSasResponse',
'ListContainerItem',
'ListQueue',
'ListQueueServices',
'ListServiceSasResponse',
'ListTableServices',
'ManagementPolicy',
'ManagementPolicyAction',
'ManagementPolicyBaseBlob',
Expand All @@ -310,6 +330,7 @@
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'QueueServiceProperties',
'Resource',
'RestorePolicyProperties',
'Restriction',
Expand All @@ -328,6 +349,9 @@
'StorageAccountMicrosoftEndpoints',
'StorageAccountRegenerateKeyParameters',
'StorageAccountUpdateParameters',
'StorageQueue',
'Table',
'TableServiceProperties',
'TagFilter',
'TagProperty',
'TrackedResource',
Expand All @@ -345,6 +369,8 @@
'BlobServicePropertiesPaged',
'ListContainerItemPaged',
'FileShareItemPaged',
'ListQueuePaged',
'TablePaged',
'ReasonCode',
'SkuName',
'SkuTier',
Expand Down Expand Up @@ -386,6 +412,7 @@
'ShareAccessTier',
'StorageAccountExpand',
'ListKeyExpand',
'ListContainersInclude',
'ListSharesExpand',
'GetShareExpand',
]
Loading

0 comments on commit 812957b

Please sign in to comment.