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 2d8750a79e65..0f8aad54fac1 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,6 +18,7 @@ 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 @@ -43,6 +44,7 @@ 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 @@ -84,6 +86,7 @@ '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 87676c4ab501..01e9c4a713dd 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 @@ -413,6 +413,22 @@ def __init__(self, **kwargs): self.provisioning_state = 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. @@ -871,7 +887,7 @@ class Volume(Model): Must have the delegation Microsoft.NetApp/volumes :type subnet_id: str :param mount_targets: mountTargets. List of mount targets - :type mount_targets: object + :type mount_targets: list[~azure.mgmt.netapp.models.MountTargetList] :param volume_type: What type of volume is this :type volume_type: str :param data_protection: DataProtection. DataProtection type volumes @@ -912,7 +928,7 @@ class Volume(Model): 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, + 'mount_targets': {'key': 'properties.mountTargets', 'type': '[MountTargetList]'}, 'volume_type': {'key': 'properties.volumeType', 'type': 'str'}, 'data_protection': {'key': 'properties.dataProtection', 'type': 'VolumePropertiesDataProtection'}, 'is_restoring': {'key': 'properties.isRestoring', 'type': 'bool'}, 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 42d1ca3cb655..db3d8b97f287 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 @@ -413,6 +413,22 @@ def __init__(self, *, location: str, file_system_id: str, tags=None, subnet: str self.provisioning_state = 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, *, value=None, **kwargs) -> None: + super(MountTargetList, self).__init__(**kwargs) + self.value = value + + class NetAppAccount(Model): """NetApp account resource. @@ -871,7 +887,7 @@ class Volume(Model): Must have the delegation Microsoft.NetApp/volumes :type subnet_id: str :param mount_targets: mountTargets. List of mount targets - :type mount_targets: object + :type mount_targets: list[~azure.mgmt.netapp.models.MountTargetList] :param volume_type: What type of volume is this :type volume_type: str :param data_protection: DataProtection. DataProtection type volumes @@ -912,7 +928,7 @@ class Volume(Model): 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, + 'mount_targets': {'key': 'properties.mountTargets', 'type': '[MountTargetList]'}, 'volume_type': {'key': 'properties.volumeType', 'type': 'str'}, 'data_protection': {'key': 'properties.dataProtection', 'type': 'VolumePropertiesDataProtection'}, 'is_restoring': {'key': 'properties.isRestoring', 'type': 'bool'},