diff --git a/sdk/netapp/mgmt-v2019_07_01/pom.xml b/sdk/netapp/mgmt-v2019_07_01/pom.xml index 113fd2a8609f4..2b7e6e5aea59e 100644 --- a/sdk/netapp/mgmt-v2019_07_01/pom.xml +++ b/sdk/netapp/mgmt-v2019_07_01/pom.xml @@ -11,7 +11,7 @@ com.microsoft.azure azure-arm-parent - 1.2.0 + 1.1.0 ../../../pom.management.xml azure-mgmt-netapp diff --git a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/MountTargetList.java b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/MountTargetList.java new file mode 100644 index 0000000000000..78d4cda565b69 --- /dev/null +++ b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/MountTargetList.java @@ -0,0 +1,45 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.netapp.v2019_07_01; + +import java.util.List; +import com.microsoft.azure.management.netapp.v2019_07_01.implementation.MountTargetInner; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * List of Mount Targets. + */ +public class MountTargetList { + /** + * A list of Mount targets. + */ + @JsonProperty(value = "value") + private List value; + + /** + * Get a list of Mount targets. + * + * @return the value value + */ + public List value() { + return this.value; + } + + /** + * Set a list of Mount targets. + * + * @param value the value value to set + * @return the MountTargetList object itself. + */ + public MountTargetList withValue(List value) { + this.value = value; + return this; + } + +} diff --git a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/Volume.java b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/Volume.java index 44c35070043c7..3498b2446a1de 100644 --- a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/Volume.java +++ b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/Volume.java @@ -57,7 +57,7 @@ public interface Volume extends HasInner, Indexable, Refreshable mountTargets(); /** * @return the name value. @@ -203,7 +203,7 @@ interface WithMountTargets { * @param mountTargets List of mount targets * @return the next definition stage */ - WithCreate withMountTargets(Object mountTargets); + WithCreate withMountTargets(List mountTargets); } /** diff --git a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeImpl.java b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeImpl.java index d29643bb94bc4..70e147200f566 100644 --- a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeImpl.java +++ b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeImpl.java @@ -15,6 +15,7 @@ import com.microsoft.azure.management.netapp.v2019_07_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_07_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_07_01.MountTargetList; import java.util.Map; import com.microsoft.azure.management.netapp.v2019_07_01.VolumePatchPropertiesExportPolicy; import rx.functions.Func1; @@ -129,7 +130,7 @@ public String location() { } @Override - public Object mountTargets() { + public List mountTargets() { return this.inner().mountTargets(); } @@ -217,7 +218,7 @@ public VolumeImpl withExportPolicy(VolumePropertiesExportPolicy exportPolicy) { } @Override - public VolumeImpl withMountTargets(Object mountTargets) { + public VolumeImpl withMountTargets(List mountTargets) { this.inner().withMountTargets(mountTargets); return this; } diff --git a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeInner.java b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeInner.java index 3e3d12bc57808..d98868ae3b42c 100644 --- a/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeInner.java +++ b/sdk/netapp/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/netapp/v2019_07_01/implementation/VolumeInner.java @@ -11,6 +11,7 @@ import com.microsoft.azure.management.netapp.v2019_07_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_07_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_07_01.MountTargetList; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource; @@ -97,7 +98,7 @@ public class VolumeInner extends Resource { * List of mount targets. */ @JsonProperty(value = "properties.mountTargets") - private Object mountTargets; + private List mountTargets; /** * Get unique FileSystem Identifier. @@ -271,7 +272,7 @@ public VolumeInner withSubnetId(String subnetId) { * * @return the mountTargets value */ - public Object mountTargets() { + public List mountTargets() { return this.mountTargets; } @@ -281,7 +282,7 @@ public Object mountTargets() { * @param mountTargets the mountTargets value to set * @return the VolumeInner object itself. */ - public VolumeInner withMountTargets(Object mountTargets) { + public VolumeInner withMountTargets(List mountTargets) { this.mountTargets = mountTargets; return this; }