diff --git a/sdk/netapp/mgmt-v2019_08_01/pom.xml b/sdk/netapp/mgmt-v2019_08_01/pom.xml index 136f8fe5f602..2e99abf6661a 100644 --- a/sdk/netapp/mgmt-v2019_08_01/pom.xml +++ b/sdk/netapp/mgmt-v2019_08_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_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/MountTargetList.java b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/MountTargetList.java new file mode 100644 index 000000000000..62f20023a8f5 --- /dev/null +++ b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_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_08_01; + +import java.util.List; +import com.microsoft.azure.management.netapp.v2019_08_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_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/Volume.java b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/Volume.java index c569005efac3..166ced709409 100644 --- a/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/Volume.java +++ b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/Volume.java @@ -62,7 +62,7 @@ public interface Volume extends HasInner, Indexable, Refreshable mountTargets(); /** * @return the name value. @@ -225,7 +225,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_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeImpl.java b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeImpl.java index 24212f8cb638..d2e5ff0f84be 100644 --- a/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeImpl.java +++ b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeImpl.java @@ -15,6 +15,7 @@ import com.microsoft.azure.management.netapp.v2019_08_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_08_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_08_01.MountTargetList; import com.microsoft.azure.management.netapp.v2019_08_01.VolumePropertiesDataProtection; import java.util.Map; import com.microsoft.azure.management.netapp.v2019_08_01.VolumePatchPropertiesExportPolicy; @@ -135,7 +136,7 @@ public String location() { } @Override - public Object mountTargets() { + public List mountTargets() { return this.inner().mountTargets(); } @@ -234,7 +235,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_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeInner.java b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeInner.java index e629f9dc67e1..edac4fa02395 100644 --- a/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeInner.java +++ b/sdk/netapp/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/netapp/v2019_08_01/implementation/VolumeInner.java @@ -11,6 +11,7 @@ import com.microsoft.azure.management.netapp.v2019_08_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_08_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_08_01.MountTargetList; import com.microsoft.azure.management.netapp.v2019_08_01.VolumePropertiesDataProtection; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -98,7 +99,7 @@ public class VolumeInner extends Resource { * List of mount targets. */ @JsonProperty(value = "properties.mountTargets") - private Object mountTargets; + private List mountTargets; /** * What type of volume is this. @@ -285,7 +286,7 @@ public VolumeInner withSubnetId(String subnetId) { * * @return the mountTargets value */ - public Object mountTargets() { + public List mountTargets() { return this.mountTargets; } @@ -295,7 +296,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; }