diff --git a/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md b/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md index 64f58f735406..652e7e26a201 100644 --- a/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md +++ b/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.10.0 (2020-04-21) + +**Features** + + - Model MountTarget has a new parameter end_ip + - Model MountTarget has a new parameter start_ip + - Model MountTarget has a new parameter netmask + - Model MountTarget has a new parameter gateway + - Model MountTarget has a new parameter subnet + ## 0.9.0 (2020-04-02) **Features** diff --git a/sdk/netapp/azure-mgmt-netapp/README.md b/sdk/netapp/azure-mgmt-netapp/README.md index 71fc41388646..045ef6e689db 100644 --- a/sdk/netapp/azure-mgmt-netapp/README.md +++ b/sdk/netapp/azure-mgmt-netapp/README.md @@ -1,29 +1,21 @@ -## Microsoft Azure SDK for Python +# Microsoft Azure SDK for Python This is the Microsoft Azure NetApp Files Management 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 [NetApp Files Management](https://docs.microsoft.com/python/api/overview/azure/) +on docs.microsoft.com. -For code examples, see [NetApp Files -Management](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-netapp%2FREADME.png) + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-netapp%2FREADME.png) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py index d1445901f9c0..8a7fbdce7ee0 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py @@ -18,7 +18,6 @@ from ._models_py3 import ExportPolicyRule from ._models_py3 import MetricSpecification from ._models_py3 import MountTarget - from ._models_py3 import MountTargetList from ._models_py3 import NetAppAccount from ._models_py3 import NetAppAccountPatch from ._models_py3 import Operation @@ -44,7 +43,6 @@ from ._models import ExportPolicyRule from ._models import MetricSpecification from ._models import MountTarget - from ._models import MountTargetList from ._models import NetAppAccount from ._models import NetAppAccountPatch from ._models import Operation @@ -85,7 +83,6 @@ 'ExportPolicyRule', 'MetricSpecification', 'MountTarget', - 'MountTargetList', 'NetAppAccount', 'NetAppAccountPatch', 'Operation', diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py index ff4b6cdcbfc4..ca5db54b9953 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py @@ -349,6 +349,20 @@ class MountTarget(Model): :type file_system_id: str :ivar ip_address: ipAddress. The mount target's IPv4 address :vartype ip_address: str + :param subnet: subnet. The subnet + :type subnet: str + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified Domain Name, FQDN :type smb_server_fqdn: str @@ -373,6 +387,11 @@ class MountTarget(Model): 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, } @@ -386,25 +405,14 @@ def __init__(self, **kwargs): self.mount_target_id = None self.file_system_id = kwargs.get('file_system_id', None) self.ip_address = None + self.subnet = kwargs.get('subnet', None) + self.start_ip = kwargs.get('start_ip', None) + self.end_ip = kwargs.get('end_ip', None) + self.gateway = kwargs.get('gateway', None) + self.netmask = kwargs.get('netmask', None) self.smb_server_fqdn = kwargs.get('smb_server_fqdn', None) -class MountTargetList(Model): - """List of Mount Targets. - - :param value: A list of Mount targets - :type value: list[~azure.mgmt.netapp.models.MountTarget] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[MountTarget]'}, - } - - def __init__(self, **kwargs): - super(MountTargetList, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - class NetAppAccount(Model): """NetApp account resource. diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py index 1510c7e4cbb3..1ff877b233b6 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py @@ -349,6 +349,20 @@ class MountTarget(Model): :type file_system_id: str :ivar ip_address: ipAddress. The mount target's IPv4 address :vartype ip_address: str + :param subnet: subnet. The subnet + :type subnet: str + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified Domain Name, FQDN :type smb_server_fqdn: str @@ -373,10 +387,15 @@ class MountTarget(Model): 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, } - def __init__(self, *, location: str, file_system_id: str, tags=None, smb_server_fqdn: str=None, **kwargs) -> None: + def __init__(self, *, location: str, file_system_id: str, tags=None, subnet: str=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, smb_server_fqdn: str=None, **kwargs) -> None: super(MountTarget, self).__init__(**kwargs) self.location = location self.id = None @@ -386,25 +405,14 @@ def __init__(self, *, location: str, file_system_id: str, tags=None, smb_server_ self.mount_target_id = None self.file_system_id = file_system_id self.ip_address = None + self.subnet = subnet + self.start_ip = start_ip + self.end_ip = end_ip + self.gateway = gateway + self.netmask = netmask self.smb_server_fqdn = smb_server_fqdn -class MountTargetList(Model): - """List of Mount Targets. - - :param value: A list of Mount targets - :type value: list[~azure.mgmt.netapp.models.MountTarget] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[MountTarget]'}, - } - - def __init__(self, *, value=None, **kwargs) -> None: - super(MountTargetList, self).__init__(**kwargs) - self.value = value - - class NetAppAccount(Model): """NetApp account resource. diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py index 3697d9b71739..1f08862acee4 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.9.0" +VERSION = "0.10.0"