Skip to content

Commit

Permalink
release-netapp-mgmt-sdk (#10955)
Browse files Browse the repository at this point in the history
* release-netapp-mgmt-sdk

* Update CHANGELOG.md

* Update version.py

* Packaging update of azure-mgmt-netapp

Co-authored-by: Zim Kalinowski <zikalino@microsoft.com>
Co-authored-by: Azure SDK Bot <aspysdk2@microsoft.com>
  • Loading branch information
3 people authored Apr 22, 2020
1 parent 492eb8c commit f55627d
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 55 deletions.
10 changes: 10 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
28 changes: 10 additions & 18 deletions sdk/netapp/azure-mgmt-netapp/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 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)
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -85,7 +83,6 @@
'ExportPolicyRule',
'MetricSpecification',
'MountTarget',
'MountTargetList',
'NetAppAccount',
'NetAppAccountPatch',
'Operation',
Expand Down
40 changes: 24 additions & 16 deletions sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'},
}

Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.9.0"
VERSION = "0.10.0"

0 comments on commit f55627d

Please sign in to comment.