diff --git a/netapp/resource-manager/v2019_05_01/pom.xml b/netapp/resource-manager/v2019_05_01/pom.xml
index a542178a292f..719cf50c8ab4 100644
--- a/netapp/resource-manager/v2019_05_01/pom.xml
+++ b/netapp/resource-manager/v2019_05_01/pom.xml
@@ -11,8 +11,8 @@
com.microsoft.azure
azure-arm-parent
- 1.1.0
- ../../../pom.management.xml
+ 0.0.3-beta
+ ../../../pom.xml
azure-mgmt-netapp
1.0.0-beta
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CapacityPool.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CapacityPool.java
index 6933464e4a49..e59e34d8d256 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CapacityPool.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CapacityPool.java
@@ -56,7 +56,7 @@ public interface CapacityPool extends HasInner, Indexable, Re
/**
* @return the size value.
*/
- Long size();
+ long size();
/**
* @return the tags value.
@@ -71,7 +71,7 @@ public interface CapacityPool extends HasInner, Indexable, Re
/**
* The entirety of the CapacityPool definition.
*/
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNetAppAccount, DefinitionStages.WithLocation, DefinitionStages.WithCreate {
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNetAppAccount, DefinitionStages.WithLocation, DefinitionStages.WithServiceLevel, DefinitionStages.WithSize, DefinitionStages.WithCreate {
}
/**
@@ -106,31 +106,31 @@ interface WithLocation {
* @param location the location parameter value
* @return the next definition stage
*/
- WithCreate withLocation(String location);
+ WithServiceLevel withLocation(String location);
}
/**
* The stage of the capacitypool definition allowing to specify ServiceLevel.
*/
interface WithServiceLevel {
- /**
- * Specifies serviceLevel.
- * @param serviceLevel The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
- * @return the next definition stage
- */
- WithCreate withServiceLevel(ServiceLevel serviceLevel);
+ /**
+ * Specifies serviceLevel.
+ * @param serviceLevel The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
+ * @return the next definition stage
+ */
+ WithSize withServiceLevel(ServiceLevel serviceLevel);
}
/**
* The stage of the capacitypool definition allowing to specify Size.
*/
interface WithSize {
- /**
- * Specifies size.
- * @param size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104)
- * @return the next definition stage
- */
- WithCreate withSize(Long size);
+ /**
+ * Specifies size.
+ * @param size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104)
+ * @return the next definition stage
+ */
+ WithCreate withSize(long size);
}
/**
@@ -150,7 +150,7 @@ interface WithTags {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
- interface WithCreate extends Creatable, DefinitionStages.WithServiceLevel, DefinitionStages.WithSize, DefinitionStages.WithTags {
+ interface WithCreate extends Creatable, DefinitionStages.WithTags {
}
}
/**
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CheckNameResourceTypes.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CheckNameResourceTypes.java
index 16245ae28805..50940628f761 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CheckNameResourceTypes.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/CheckNameResourceTypes.java
@@ -16,17 +16,17 @@
* Defines values for CheckNameResourceTypes.
*/
public final class CheckNameResourceTypes extends ExpandableStringEnum {
- /** Static value Microsoft.NetApp/netAppAccount for CheckNameResourceTypes. */
- public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNT = fromString("Microsoft.NetApp/netAppAccount");
+ /** Static value Microsoft.NetApp/netAppAccounts for CheckNameResourceTypes. */
+ public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTS = fromString("Microsoft.NetApp/netAppAccounts");
- /** Static value Microsoft.NetApp/netAppAccount/capacityPools for CheckNameResourceTypes. */
- public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLS = fromString("Microsoft.NetApp/netAppAccount/capacityPools");
+ /** Static value Microsoft.NetApp/netAppAccounts/capacityPools for CheckNameResourceTypes. */
+ public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLS = fromString("Microsoft.NetApp/netAppAccounts/capacityPools");
- /** Static value Microsoft.NetApp/netAppAccount/capacityPools/volumes for CheckNameResourceTypes. */
- public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLSVOLUMES = fromString("Microsoft.NetApp/netAppAccount/capacityPools/volumes");
+ /** Static value Microsoft.NetApp/netAppAccounts/capacityPools/volumes for CheckNameResourceTypes. */
+ public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLSVOLUMES = fromString("Microsoft.NetApp/netAppAccounts/capacityPools/volumes");
- /** Static value Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots for CheckNameResourceTypes. */
- public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLSVOLUMESSNAPSHOTS = fromString("Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots");
+ /** Static value Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots for CheckNameResourceTypes. */
+ public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLSVOLUMESSNAPSHOTS = fromString("Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots");
/**
* Creates or finds a CheckNameResourceTypes from its string representation.
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/ResourceNameAvailabilityRequest.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/ResourceNameAvailabilityRequest.java
index 1f3742964230..f27719b16f5b 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/ResourceNameAvailabilityRequest.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/ResourceNameAvailabilityRequest.java
@@ -22,10 +22,10 @@ public class ResourceNameAvailabilityRequest {
/**
* Resource type used for verification. Possible values include:
- * 'Microsoft.NetApp/netAppAccount',
- * 'Microsoft.NetApp/netAppAccount/capacityPools',
- * 'Microsoft.NetApp/netAppAccount/capacityPools/volumes',
- * 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
+ * 'Microsoft.NetApp/netAppAccounts',
+ * 'Microsoft.NetApp/netAppAccounts/capacityPools',
+ * 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
+ * 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*/
@JsonProperty(value = "type", required = true)
private CheckNameResourceTypes type;
@@ -57,7 +57,7 @@ public ResourceNameAvailabilityRequest withName(String name) {
}
/**
- * Get resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccount', 'Microsoft.NetApp/netAppAccount/capacityPools', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
+ * Get resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccounts', 'Microsoft.NetApp/netAppAccounts/capacityPools', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*
* @return the type value
*/
@@ -66,7 +66,7 @@ public CheckNameResourceTypes type() {
}
/**
- * Set resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccount', 'Microsoft.NetApp/netAppAccount/capacityPools', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
+ * Set resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccounts', 'Microsoft.NetApp/netAppAccounts/capacityPools', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*
* @param type the type value to set
* @return the ResourceNameAvailabilityRequest object itself.
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/Volume.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/Volume.java
index a8223ca59f35..b5211bd57591 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/Volume.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/Volume.java
@@ -17,6 +17,7 @@
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.netapp.v2019_05_01.implementation.NetAppManager;
+import java.util.List;
import java.util.Map;
/**
@@ -53,11 +54,21 @@ public interface Volume extends HasInner, Indexable, Refreshable protocolTypes();
+
/**
* @return the provisioningState value.
*/
@@ -91,12 +102,12 @@ public interface Volume extends HasInner, Indexable, Refreshable protocolTypes);
}
/**
- * The stage of the volume definition allowing to specify Tags.
+ * The stage of the volume definition allowing to specify ServiceLevel.
*/
- interface WithTags {
+ interface WithServiceLevel {
/**
- * Specifies tags.
- * @param tags the tags parameter value
+ * Specifies serviceLevel.
+ * @param serviceLevel The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
* @return the next definition stage
*/
- WithCreate withTags(Map tags);
+ WithCreate withServiceLevel(ServiceLevel serviceLevel);
}
/**
- * The stage of the volume definition allowing to specify UsageThreshold.
+ * The stage of the volume definition allowing to specify SnapshotId.
*/
- interface WithUsageThreshold {
+ interface WithSnapshotId {
/**
- * Specifies usageThreshold.
- * @param usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB
+ * Specifies snapshotId.
+ * @param snapshotId UUID v4 used to identify the Snapshot
+ * @return the next definition stage
+ */
+ WithCreate withSnapshotId(String snapshotId);
+ }
+
+ /**
+ * The stage of the volume definition allowing to specify Tags.
+ */
+ interface WithTags {
+ /**
+ * Specifies tags.
+ * @param tags the tags parameter value
* @return the next definition stage
*/
- WithCreate withUsageThreshold(Long usageThreshold);
+ WithCreate withTags(Map tags);
}
/**
@@ -224,7 +259,7 @@ interface WithUsageThreshold {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
- interface WithCreate extends Creatable, DefinitionStages.WithExportPolicy, DefinitionStages.WithSnapshotId, DefinitionStages.WithSubnetId, DefinitionStages.WithTags, DefinitionStages.WithUsageThreshold {
+ interface WithCreate extends Creatable, DefinitionStages.WithExportPolicy, DefinitionStages.WithMountTargets, DefinitionStages.WithProtocolTypes, DefinitionStages.WithServiceLevel, DefinitionStages.WithSnapshotId, DefinitionStages.WithTags {
}
}
/**
@@ -279,7 +314,7 @@ interface WithTags {
interface WithUsageThreshold {
/**
* Specifies usageThreshold.
- * @param usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB
+ * @param usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes
* @return the next update stage
*/
Update withUsageThreshold(Long usageThreshold);
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/VolumePatch.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/VolumePatch.java
index b97653e1e759..b775f5e1ce68 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/VolumePatch.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/VolumePatch.java
@@ -29,7 +29,7 @@ public class VolumePatch extends Resource {
* usageThreshold.
* Maximum storage quota allowed for a file system in bytes. This is a soft
* quota used for alerting only. Minimum size is 100 GiB. Upper limit is
- * 100TiB.
+ * 100TiB. Specified in bytes.
*/
@JsonProperty(value = "properties.usageThreshold")
private Long usageThreshold;
@@ -62,7 +62,7 @@ public VolumePatch withServiceLevel(ServiceLevel serviceLevel) {
}
/**
- * Get maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB.
+ * Get maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
*
* @return the usageThreshold value
*/
@@ -71,7 +71,7 @@ public Long usageThreshold() {
}
/**
- * Set maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB.
+ * Set maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
*
* @param usageThreshold the usageThreshold value to set
* @return the VolumePatch object itself.
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolImpl.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolImpl.java
index 007245a85f1a..51a2a9b544a1 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolImpl.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolImpl.java
@@ -124,7 +124,7 @@ public ServiceLevel serviceLevel() {
}
@Override
- public Long size() {
+ public long size() {
return this.inner().size();
}
@@ -152,21 +152,23 @@ public CapacityPoolImpl withLocation(String location) {
}
@Override
- public CapacityPoolImpl withServiceLevel(ServiceLevel serviceLevel) {
- if (isInCreateMode()) {
- this.inner().withServiceLevel(serviceLevel);
- } else {
- this.updateParameter.withServiceLevel(serviceLevel);
- }
+ public CapacityPoolImpl withSize(long size) {
+ this.inner().withSize(size);
return this;
}
@Override
public CapacityPoolImpl withSize(Long size) {
+ this.updateParameter.withSize(size);
+ return this;
+ }
+
+ @Override
+ public CapacityPoolImpl withServiceLevel(ServiceLevel serviceLevel) {
if (isInCreateMode()) {
- this.inner().withSize(size);
+ this.inner().withServiceLevel(serviceLevel);
} else {
- this.updateParameter.withSize(size);
+ this.updateParameter.withServiceLevel(serviceLevel);
}
return this;
}
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolInner.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolInner.java
index 0636c52686d4..9705acf167b8 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolInner.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/CapacityPoolInner.java
@@ -30,15 +30,15 @@ public class CapacityPoolInner extends Resource {
* Provisioned size of the pool (in bytes). Allowed values are in 4TiB
* chunks (value must be multiply of 4398046511104).
*/
- @JsonProperty(value = "properties.size")
- private Long size;
+ @JsonProperty(value = "properties.size", required = true)
+ private long size;
/**
* serviceLevel.
* The service level of the file system. Possible values include:
* 'Standard', 'Premium', 'Ultra'.
*/
- @JsonProperty(value = "properties.serviceLevel")
+ @JsonProperty(value = "properties.serviceLevel", required = true)
private ServiceLevel serviceLevel;
/**
@@ -61,7 +61,7 @@ public String poolId() {
*
* @return the size value
*/
- public Long size() {
+ public long size() {
return this.size;
}
@@ -71,7 +71,7 @@ public Long size() {
* @param size the size value to set
* @return the CapacityPoolInner object itself.
*/
- public CapacityPoolInner withSize(Long size) {
+ public CapacityPoolInner withSize(long size) {
this.size = size;
return this;
}
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeImpl.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeImpl.java
index 359062eed9af..e45673cdad12 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeImpl.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeImpl.java
@@ -14,6 +14,7 @@
import com.microsoft.azure.management.netapp.v2019_05_01.VolumePatch;
import com.microsoft.azure.management.netapp.v2019_05_01.ServiceLevel;
import com.microsoft.azure.management.netapp.v2019_05_01.VolumePropertiesExportPolicy;
+import java.util.List;
import java.util.Map;
import com.microsoft.azure.management.netapp.v2019_05_01.VolumePatchPropertiesExportPolicy;
import rx.functions.Func1;
@@ -127,11 +128,21 @@ public String location() {
return this.inner().location();
}
+ @Override
+ public Object mountTargets() {
+ return this.inner().mountTargets();
+ }
+
@Override
public String name() {
return this.inner().name();
}
+ @Override
+ public List protocolTypes() {
+ return this.inner().protocolTypes();
+ }
+
@Override
public String provisioningState() {
return this.inner().provisioningState();
@@ -163,7 +174,7 @@ public String type() {
}
@Override
- public Long usageThreshold() {
+ public long usageThreshold() {
return this.inner().usageThreshold();
}
@@ -187,6 +198,18 @@ public VolumeImpl withLocation(String location) {
return this;
}
+ @Override
+ public VolumeImpl withSubnetId(String subnetId) {
+ this.inner().withSubnetId(subnetId);
+ return this;
+ }
+
+ @Override
+ public VolumeImpl withUsageThreshold(long usageThreshold) {
+ this.inner().withUsageThreshold(usageThreshold);
+ return this;
+ }
+
@Override
public VolumeImpl withExportPolicy(VolumePropertiesExportPolicy exportPolicy) {
this.inner().withExportPolicy(exportPolicy);
@@ -194,14 +217,20 @@ public VolumeImpl withExportPolicy(VolumePropertiesExportPolicy exportPolicy) {
}
@Override
- public VolumeImpl withSnapshotId(String snapshotId) {
- this.inner().withSnapshotId(snapshotId);
+ public VolumeImpl withMountTargets(Object mountTargets) {
+ this.inner().withMountTargets(mountTargets);
return this;
}
@Override
- public VolumeImpl withSubnetId(String subnetId) {
- this.inner().withSubnetId(subnetId);
+ public VolumeImpl withProtocolTypes(List protocolTypes) {
+ this.inner().withProtocolTypes(protocolTypes);
+ return this;
+ }
+
+ @Override
+ public VolumeImpl withSnapshotId(String snapshotId) {
+ this.inner().withSnapshotId(snapshotId);
return this;
}
@@ -211,6 +240,12 @@ public VolumeImpl withExportPolicy(VolumePatchPropertiesExportPolicy exportPolic
return this;
}
+ @Override
+ public VolumeImpl withUsageThreshold(Long usageThreshold) {
+ this.updateParameter.withUsageThreshold(usageThreshold);
+ return this;
+ }
+
@Override
public VolumeImpl withServiceLevel(ServiceLevel serviceLevel) {
if (isInCreateMode()) {
@@ -231,14 +266,4 @@ public VolumeImpl withTags(Map tags) {
return this;
}
- @Override
- public VolumeImpl withUsageThreshold(Long usageThreshold) {
- if (isInCreateMode()) {
- this.inner().withUsageThreshold(usageThreshold);
- } else {
- this.updateParameter.withUsageThreshold(usageThreshold);
- }
- return this;
- }
-
}
diff --git a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeInner.java b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeInner.java
index 41ec3c5bb38f..3af922134abd 100644
--- a/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeInner.java
+++ b/netapp/resource-manager/v2019_05_01/src/main/java/com/microsoft/azure/management/netapp/v2019_05_01/implementation/VolumeInner.java
@@ -10,6 +10,7 @@
import com.microsoft.azure.management.netapp.v2019_05_01.ServiceLevel;
import com.microsoft.azure.management.netapp.v2019_05_01.VolumePropertiesExportPolicy;
+import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
@@ -38,17 +39,17 @@ public class VolumeInner extends Resource {
* The service level of the file system. Possible values include:
* 'Standard', 'Premium', 'Ultra'.
*/
- @JsonProperty(value = "properties.serviceLevel", required = true)
+ @JsonProperty(value = "properties.serviceLevel")
private ServiceLevel serviceLevel;
/**
* usageThreshold.
* Maximum storage quota allowed for a file system in bytes. This is a soft
* quota used for alerting only. Minimum size is 100 GiB. Upper limit is
- * 100TiB.
+ * 100TiB. Specified in bytes.
*/
- @JsonProperty(value = "properties.usageThreshold")
- private Long usageThreshold;
+ @JsonProperty(value = "properties.usageThreshold", required = true)
+ private long usageThreshold;
/**
* exportPolicy.
@@ -57,6 +58,13 @@ public class VolumeInner extends Resource {
@JsonProperty(value = "properties.exportPolicy")
private VolumePropertiesExportPolicy exportPolicy;
+ /**
+ * protocolTypes.
+ * Set of protocol types.
+ */
+ @JsonProperty(value = "properties.protocolTypes")
+ private List protocolTypes;
+
/**
* Azure lifecycle management.
*/
@@ -81,9 +89,16 @@ public class VolumeInner extends Resource {
* The Azure Resource URI for a delegated subnet. Must have the delegation
* Microsoft.NetApp/volumes.
*/
- @JsonProperty(value = "properties.subnetId")
+ @JsonProperty(value = "properties.subnetId", required = true)
private String subnetId;
+ /**
+ * mountTargets.
+ * List of mount targets.
+ */
+ @JsonProperty(value = "properties.mountTargets")
+ private Object mountTargets;
+
/**
* Get unique FileSystem Identifier.
*
@@ -134,21 +149,21 @@ public VolumeInner withServiceLevel(ServiceLevel serviceLevel) {
}
/**
- * Get maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB.
+ * Get maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
*
* @return the usageThreshold value
*/
- public Long usageThreshold() {
+ public long usageThreshold() {
return this.usageThreshold;
}
/**
- * Set maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB.
+ * Set maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
*
* @param usageThreshold the usageThreshold value to set
* @return the VolumeInner object itself.
*/
- public VolumeInner withUsageThreshold(Long usageThreshold) {
+ public VolumeInner withUsageThreshold(long usageThreshold) {
this.usageThreshold = usageThreshold;
return this;
}
@@ -173,6 +188,26 @@ public VolumeInner withExportPolicy(VolumePropertiesExportPolicy exportPolicy) {
return this;
}
+ /**
+ * Get set of protocol types.
+ *
+ * @return the protocolTypes value
+ */
+ public List protocolTypes() {
+ return this.protocolTypes;
+ }
+
+ /**
+ * Set set of protocol types.
+ *
+ * @param protocolTypes the protocolTypes value to set
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withProtocolTypes(List protocolTypes) {
+ this.protocolTypes = protocolTypes;
+ return this;
+ }
+
/**
* Get azure lifecycle management.
*
@@ -231,4 +266,24 @@ public VolumeInner withSubnetId(String subnetId) {
return this;
}
+ /**
+ * Get list of mount targets.
+ *
+ * @return the mountTargets value
+ */
+ public Object mountTargets() {
+ return this.mountTargets;
+ }
+
+ /**
+ * Set list of mount targets.
+ *
+ * @param mountTargets the mountTargets value to set
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withMountTargets(Object mountTargets) {
+ this.mountTargets = mountTargets;
+ return this;
+ }
+
}