Skip to content
Merged
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
4 changes: 3 additions & 1 deletion azure-mgmt-netapp/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include *.rst
include azure_bdist_wheel.py
include azure/__init__.py
include azure/mgmt/__init__.py

2 changes: 1 addition & 1 deletion azure-mgmt-netapp/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
2 changes: 1 addition & 1 deletion azure-mgmt-netapp/azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
30 changes: 12 additions & 18 deletions azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,36 @@
from .metric_specification_py3 import MetricSpecification
from .service_specification_py3 import ServiceSpecification
from .operation_py3 import Operation
from .operation_list_result_py3 import OperationListResult
from .net_app_account_py3 import NetAppAccount
from .net_app_account_list_py3 import NetAppAccountList
from .net_app_account_patch_py3 import NetAppAccountPatch
from .capacity_pool_py3 import CapacityPool
from .capacity_pool_list_py3 import CapacityPoolList
from .capacity_pool_patch_py3 import CapacityPoolPatch
from .volume_py3 import Volume
from .volume_list_py3 import VolumeList
from .volume_patch_py3 import VolumePatch
from .mount_target_py3 import MountTarget
from .mount_target_list_py3 import MountTargetList
from .snapshot_py3 import Snapshot
from .snapshots_list_py3 import SnapshotsList
from .error_py3 import Error, ErrorException
except (SyntaxError, ImportError):
from .operation_display import OperationDisplay
from .dimension import Dimension
from .metric_specification import MetricSpecification
from .service_specification import ServiceSpecification
from .operation import Operation
from .operation_list_result import OperationListResult
from .net_app_account import NetAppAccount
from .net_app_account_list import NetAppAccountList
from .net_app_account_patch import NetAppAccountPatch
from .capacity_pool import CapacityPool
from .capacity_pool_list import CapacityPoolList
from .capacity_pool_patch import CapacityPoolPatch
from .volume import Volume
from .volume_list import VolumeList
from .volume_patch import VolumePatch
from .mount_target import MountTarget
from .mount_target_list import MountTargetList
from .snapshot import Snapshot
from .snapshots_list import SnapshotsList
from .error import Error, ErrorException
from .operation_paged import OperationPaged
from .net_app_account_paged import NetAppAccountPaged
from .capacity_pool_paged import CapacityPoolPaged
from .volume_paged import VolumePaged
from .mount_target_paged import MountTargetPaged
from .snapshot_paged import SnapshotPaged
from .azure_net_app_files_management_client_enums import (
ServiceLevel,
)
Expand All @@ -61,20 +55,20 @@
'MetricSpecification',
'ServiceSpecification',
'Operation',
'OperationListResult',
'NetAppAccount',
'NetAppAccountList',
'NetAppAccountPatch',
'CapacityPool',
'CapacityPoolList',
'CapacityPoolPatch',
'Volume',
'VolumeList',
'VolumePatch',
'MountTarget',
'MountTargetList',
'Snapshot',
'SnapshotsList',
'Error', 'ErrorException',
'OperationPaged',
'NetAppAccountPaged',
'CapacityPoolPaged',
'VolumePaged',
'MountTargetPaged',
'SnapshotPaged',
'ServiceLevel',
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.paging import Paged


class CapacityPoolList(Model):
"""List of capacity pool resources.

:param value: List of Capacity pools
:type value: list[~azure.mgmt.netapp.models.CapacityPool]
class CapacityPoolPaged(Paged):
"""
A paging container for iterating over a list of :class:`CapacityPool <azure.mgmt.netapp.models.CapacityPool>` object
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[CapacityPool]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[CapacityPool]'}
}

def __init__(self, *, value=None, **kwargs) -> None:
super(CapacityPoolList, self).__init__(**kwargs)
self.value = value
def __init__(self, *args, **kwargs):

super(CapacityPoolPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.paging import Paged


class CapacityPoolList(Model):
"""List of capacity pool resources.

:param value: List of Capacity pools
:type value: list[~azure.mgmt.netapp.models.CapacityPool]
class MountTargetPaged(Paged):
"""
A paging container for iterating over a list of :class:`MountTarget <azure.mgmt.netapp.models.MountTarget>` object
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[CapacityPool]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[MountTarget]'}
}

def __init__(self, **kwargs):
super(CapacityPoolList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
def __init__(self, *args, **kwargs):

super(MountTargetPaged, self).__init__(*args, **kwargs)
28 changes: 0 additions & 28 deletions azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_list.py

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.paging import Paged


class MountTargetList(Model):
"""List of Mount Targets.

:param value: A list of Mount targets
:type value: list[~azure.mgmt.netapp.models.MountTarget]
class NetAppAccountPaged(Paged):
"""
A paging container for iterating over a list of :class:`NetAppAccount <azure.mgmt.netapp.models.NetAppAccount>` object
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[MountTarget]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[NetAppAccount]'}
}

def __init__(self, *, value=None, **kwargs) -> None:
super(MountTargetList, self).__init__(**kwargs)
self.value = value
def __init__(self, *args, **kwargs):

super(NetAppAccountPaged, self).__init__(*args, **kwargs)

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.paging import Paged


class MountTargetList(Model):
"""List of Mount Targets.

:param value: A list of Mount targets
:type value: list[~azure.mgmt.netapp.models.MountTarget]
class OperationPaged(Paged):
"""
A paging container for iterating over a list of :class:`Operation <azure.mgmt.netapp.models.Operation>` object
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[MountTarget]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[Operation]'}
}

def __init__(self, **kwargs):
super(MountTargetList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
def __init__(self, *args, **kwargs):

super(OperationPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model
from msrest.paging import Paged


class SnapshotsList(Model):
"""List of Snapshots.

:param value: A list of Snapshots
:type value: list[~azure.mgmt.netapp.models.Snapshot]
class SnapshotPaged(Paged):
"""
A paging container for iterating over a list of :class:`Snapshot <azure.mgmt.netapp.models.Snapshot>` object
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[Snapshot]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[Snapshot]'}
}

def __init__(self, **kwargs):
super(SnapshotsList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
def __init__(self, *args, **kwargs):

super(SnapshotPaged, self).__init__(*args, **kwargs)
28 changes: 0 additions & 28 deletions azure-mgmt-netapp/azure/mgmt/netapp/models/volume_list.py

This file was deleted.

Loading