diff --git a/sdk/netapp/mgmt-v2019_10_01/pom.xml b/sdk/netapp/mgmt-v2019_10_01/pom.xml index 696314a155c4f..517fccf98d4ff 100644 --- a/sdk/netapp/mgmt-v2019_10_01/pom.xml +++ b/sdk/netapp/mgmt-v2019_10_01/pom.xml @@ -11,8 +11,8 @@ com.microsoft.azure azure-arm-parent - 1.2.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml azure-mgmt-netapp 1.0.0-beta diff --git a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/MountTargetProperties.java b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/MountTargetProperties.java new file mode 100644 index 0000000000000..8e01a36fbcfe2 --- /dev/null +++ b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/MountTargetProperties.java @@ -0,0 +1,255 @@ +/** + * 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_10_01; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Mount target properties. + */ +public class MountTargetProperties { + /** + * mountTargetId. + * UUID v4 used to identify the MountTarget. + */ + @JsonProperty(value = "mountTargetId", access = JsonProperty.Access.WRITE_ONLY) + private String mountTargetId; + + /** + * fileSystemId. + * UUID v4 used to identify the MountTarget. + */ + @JsonProperty(value = "fileSystemId", required = true) + private String fileSystemId; + + /** + * ipAddress. + * The mount target's IPv4 address. + */ + @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY) + private String ipAddress; + + /** + * subnet. + * The subnet. + */ + @JsonProperty(value = "subnet") + private String subnet; + + /** + * startIp. + * The start of IPv4 address range to use when creating a new mount target. + */ + @JsonProperty(value = "startIp") + private String startIp; + + /** + * endIp. + * The end of IPv4 address range to use when creating a new mount target. + */ + @JsonProperty(value = "endIp") + private String endIp; + + /** + * gateway. + * The gateway of the IPv4 address range to use when creating a new mount + * target. + */ + @JsonProperty(value = "gateway") + private String gateway; + + /** + * netmask. + * The netmask of the IPv4 address range to use when creating a new mount + * target. + */ + @JsonProperty(value = "netmask") + private String netmask; + + /** + * smbServerFQDN. + * The SMB server's Fully Qualified Domain Name, FQDN. + */ + @JsonProperty(value = "smbServerFqdn") + private String smbServerFqdn; + + /** + * Azure lifecycle management. + */ + @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private String provisioningState; + + /** + * Get uUID v4 used to identify the MountTarget. + * + * @return the mountTargetId value + */ + public String mountTargetId() { + return this.mountTargetId; + } + + /** + * Get uUID v4 used to identify the MountTarget. + * + * @return the fileSystemId value + */ + public String fileSystemId() { + return this.fileSystemId; + } + + /** + * Set uUID v4 used to identify the MountTarget. + * + * @param fileSystemId the fileSystemId value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + return this; + } + + /** + * Get the mount target's IPv4 address. + * + * @return the ipAddress value + */ + public String ipAddress() { + return this.ipAddress; + } + + /** + * Get the subnet. + * + * @return the subnet value + */ + public String subnet() { + return this.subnet; + } + + /** + * Set the subnet. + * + * @param subnet the subnet value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withSubnet(String subnet) { + this.subnet = subnet; + return this; + } + + /** + * Get the start of IPv4 address range to use when creating a new mount target. + * + * @return the startIp value + */ + public String startIp() { + return this.startIp; + } + + /** + * Set the start of IPv4 address range to use when creating a new mount target. + * + * @param startIp the startIp value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withStartIp(String startIp) { + this.startIp = startIp; + return this; + } + + /** + * Get the end of IPv4 address range to use when creating a new mount target. + * + * @return the endIp value + */ + public String endIp() { + return this.endIp; + } + + /** + * Set the end of IPv4 address range to use when creating a new mount target. + * + * @param endIp the endIp value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withEndIp(String endIp) { + this.endIp = endIp; + return this; + } + + /** + * Get the gateway of the IPv4 address range to use when creating a new mount target. + * + * @return the gateway value + */ + public String gateway() { + return this.gateway; + } + + /** + * Set the gateway of the IPv4 address range to use when creating a new mount target. + * + * @param gateway the gateway value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withGateway(String gateway) { + this.gateway = gateway; + return this; + } + + /** + * Get the netmask of the IPv4 address range to use when creating a new mount target. + * + * @return the netmask value + */ + public String netmask() { + return this.netmask; + } + + /** + * Set the netmask of the IPv4 address range to use when creating a new mount target. + * + * @param netmask the netmask value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withNetmask(String netmask) { + this.netmask = netmask; + return this; + } + + /** + * Get the SMB server's Fully Qualified Domain Name, FQDN. + * + * @return the smbServerFqdn value + */ + public String smbServerFqdn() { + return this.smbServerFqdn; + } + + /** + * Set the SMB server's Fully Qualified Domain Name, FQDN. + * + * @param smbServerFqdn the smbServerFqdn value to set + * @return the MountTargetProperties object itself. + */ + public MountTargetProperties withSmbServerFqdn(String smbServerFqdn) { + this.smbServerFqdn = smbServerFqdn; + return this; + } + + /** + * Get azure lifecycle management. + * + * @return the provisioningState value + */ + public String provisioningState() { + return this.provisioningState; + } + +} diff --git a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationObject.java b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationObject.java index c605dd9e91b44..74c28a3d11a5e 100644 --- a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationObject.java +++ b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationObject.java @@ -28,8 +28,7 @@ public class ReplicationObject { private EndpointType endpointType; /** - * Schedule. Possible values include: '_10minutely', 'hourly', 'daily', - * 'weekly', 'monthly'. + * Schedule. Possible values include: '_10minutely', 'hourly', 'daily'. */ @JsonProperty(value = "replicationSchedule", required = true) private ReplicationSchedule replicationSchedule; @@ -87,7 +86,7 @@ public ReplicationObject withEndpointType(EndpointType endpointType) { } /** - * Get schedule. Possible values include: '_10minutely', 'hourly', 'daily', 'weekly', 'monthly'. + * Get schedule. Possible values include: '_10minutely', 'hourly', 'daily'. * * @return the replicationSchedule value */ @@ -96,7 +95,7 @@ public ReplicationSchedule replicationSchedule() { } /** - * Set schedule. Possible values include: '_10minutely', 'hourly', 'daily', 'weekly', 'monthly'. + * Set schedule. Possible values include: '_10minutely', 'hourly', 'daily'. * * @param replicationSchedule the replicationSchedule value to set * @return the ReplicationObject object itself. diff --git a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationSchedule.java b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationSchedule.java index 58329e33bfa36..95c80e5386379 100644 --- a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationSchedule.java +++ b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/ReplicationSchedule.java @@ -25,12 +25,6 @@ public final class ReplicationSchedule extends ExpandableStringEnum, Indexable, Refreshable mountTargets(); /** * @return the name value. @@ -242,7 +242,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_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeImpl.java b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeImpl.java index b1fab458bc3cd..f0abbca93154d 100644 --- a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeImpl.java +++ b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeImpl.java @@ -15,6 +15,7 @@ import com.microsoft.azure.management.netapp.v2019_10_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_10_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_10_01.MountTargetProperties; import com.microsoft.azure.management.netapp.v2019_10_01.VolumePropertiesDataProtection; import java.util.Map; import com.microsoft.azure.management.netapp.v2019_10_01.VolumePatchPropertiesExportPolicy; @@ -140,7 +141,7 @@ public String location() { } @Override - public Object mountTargets() { + public List mountTargets() { return this.inner().mountTargets(); } @@ -245,7 +246,7 @@ public VolumeImpl withIsRestoring(Boolean isRestoring) { } @Override - public VolumeImpl withMountTargets(Object mountTargets) { + public VolumeImpl withMountTargets(List mountTargets) { this.inner().withMountTargets(mountTargets); return this; } diff --git a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeInner.java b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeInner.java index 06fdd30099e6e..8d53ad9937481 100644 --- a/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeInner.java +++ b/sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/implementation/VolumeInner.java @@ -11,6 +11,7 @@ import com.microsoft.azure.management.netapp.v2019_10_01.ServiceLevel; import com.microsoft.azure.management.netapp.v2019_10_01.VolumePropertiesExportPolicy; import java.util.List; +import com.microsoft.azure.management.netapp.v2019_10_01.MountTargetProperties; import com.microsoft.azure.management.netapp.v2019_10_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. @@ -292,7 +293,7 @@ public VolumeInner withSubnetId(String subnetId) { * * @return the mountTargets value */ - public Object mountTargets() { + public List mountTargets() { return this.mountTargets; } @@ -302,7 +303,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; }