Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/netapp/mgmt-v2019_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-netapp</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class ExportPolicyRule {
private Boolean nfsv3;

/**
* Allows NFSv4 protocol.
* Deprecated: Will use the NFSv4.1 protocol, please use swagger version
* 2019-07-01 or later.
*/
@JsonProperty(value = "nfsv4")
private Boolean nfsv4;
Expand Down Expand Up @@ -158,7 +159,7 @@ public ExportPolicyRule withNfsv3(Boolean nfsv3) {
}

/**
* Get allows NFSv4 protocol.
* Get deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later.
*
* @return the nfsv4 value
*/
Expand All @@ -167,7 +168,7 @@ public Boolean nfsv4() {
}

/**
* Set allows NFSv4 protocol.
* Set deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later.
*
* @param nfsv4 the nfsv4 value to set
* @return the ExportPolicyRule object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -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_06_01;

import java.util.List;
import com.microsoft.azure.management.netapp.v2019_06_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<MountTargetInner> value;

/**
* Get a list of Mount targets.
*
* @return the value value
*/
public List<MountTargetInner> 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<MountTargetInner> value) {
this.value = value;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public interface Volume extends HasInner<VolumeInner>, Indexable, Refreshable<Vo
/**
* @return the mountTargets value.
*/
Object mountTargets();
List<MountTargetList> mountTargets();

/**
* @return the name value.
Expand Down Expand Up @@ -203,7 +203,7 @@ interface WithMountTargets {
* @param mountTargets List of mount targets
* @return the next definition stage
*/
WithCreate withMountTargets(Object mountTargets);
WithCreate withMountTargets(List<MountTargetList> mountTargets);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.microsoft.azure.management.netapp.v2019_06_01.ServiceLevel;
import com.microsoft.azure.management.netapp.v2019_06_01.VolumePropertiesExportPolicy;
import java.util.List;
import com.microsoft.azure.management.netapp.v2019_06_01.MountTargetList;
import java.util.Map;
import com.microsoft.azure.management.netapp.v2019_06_01.VolumePatchPropertiesExportPolicy;
import rx.functions.Func1;
Expand Down Expand Up @@ -129,7 +130,7 @@ public String location() {
}

@Override
public Object mountTargets() {
public List<MountTargetList> mountTargets() {
return this.inner().mountTargets();
}

Expand Down Expand Up @@ -217,7 +218,7 @@ public VolumeImpl withExportPolicy(VolumePropertiesExportPolicy exportPolicy) {
}

@Override
public VolumeImpl withMountTargets(Object mountTargets) {
public VolumeImpl withMountTargets(List<MountTargetList> mountTargets) {
this.inner().withMountTargets(mountTargets);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.microsoft.azure.management.netapp.v2019_06_01.ServiceLevel;
import com.microsoft.azure.management.netapp.v2019_06_01.VolumePropertiesExportPolicy;
import java.util.List;
import com.microsoft.azure.management.netapp.v2019_06_01.MountTargetList;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
Expand Down Expand Up @@ -97,7 +98,7 @@ public class VolumeInner extends Resource {
* List of mount targets.
*/
@JsonProperty(value = "properties.mountTargets")
private Object mountTargets;
private List<MountTargetList> mountTargets;

/**
* Get unique FileSystem Identifier.
Expand Down Expand Up @@ -271,7 +272,7 @@ public VolumeInner withSubnetId(String subnetId) {
*
* @return the mountTargets value
*/
public Object mountTargets() {
public List<MountTargetList> mountTargets() {
return this.mountTargets;
}

Expand All @@ -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<MountTargetList> mountTargets) {
this.mountTargets = mountTargets;
return this;
}
Expand Down