diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MountTargetProperties.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MountTargetProperties.cs
deleted file mode 100644
index 350f499efb07..000000000000
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MountTargetProperties.cs
+++ /dev/null
@@ -1,190 +0,0 @@
-//
-// 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.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.NetApp.Models
-{
- using Microsoft.Rest;
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Mount target properties
- ///
- public partial class MountTargetProperties
- {
- ///
- /// Initializes a new instance of the MountTargetProperties class.
- ///
- public MountTargetProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MountTargetProperties class.
- ///
- /// fileSystemId
- /// mountTargetId
- /// ipAddress
- /// subnet
- /// startIp
- /// endIp
- /// gateway
- /// netmask
- /// smbServerFQDN
- public MountTargetProperties(string fileSystemId, string mountTargetId = default(string), string ipAddress = default(string), string subnet = default(string), string startIp = default(string), string endIp = default(string), string gateway = default(string), string netmask = default(string), string smbServerFqdn = default(string))
- {
- MountTargetId = mountTargetId;
- FileSystemId = fileSystemId;
- IpAddress = ipAddress;
- Subnet = subnet;
- StartIp = startIp;
- EndIp = endIp;
- Gateway = gateway;
- Netmask = netmask;
- SmbServerFqdn = smbServerFqdn;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets mountTargetId
- ///
- ///
- /// UUID v4 used to identify the MountTarget
- ///
- [JsonProperty(PropertyName = "mountTargetId")]
- public string MountTargetId { get; private set; }
-
- ///
- /// Gets or sets fileSystemId
- ///
- ///
- /// UUID v4 used to identify the MountTarget
- ///
- [JsonProperty(PropertyName = "fileSystemId")]
- public string FileSystemId { get; set; }
-
- ///
- /// Gets ipAddress
- ///
- ///
- /// The mount target's IPv4 address
- ///
- [JsonProperty(PropertyName = "ipAddress")]
- public string IpAddress { get; private set; }
-
- ///
- /// Gets or sets subnet
- ///
- ///
- /// The subnet
- ///
- [JsonProperty(PropertyName = "subnet")]
- public string Subnet { get; set; }
-
- ///
- /// Gets or sets startIp
- ///
- ///
- /// The start of IPv4 address range to use when creating a new mount
- /// target
- ///
- [JsonProperty(PropertyName = "startIp")]
- public string StartIp { get; set; }
-
- ///
- /// Gets or sets endIp
- ///
- ///
- /// The end of IPv4 address range to use when creating a new mount
- /// target
- ///
- [JsonProperty(PropertyName = "endIp")]
- public string EndIp { get; set; }
-
- ///
- /// Gets or sets gateway
- ///
- ///
- /// The gateway of the IPv4 address range to use when creating a new
- /// mount target
- ///
- [JsonProperty(PropertyName = "gateway")]
- public string Gateway { get; set; }
-
- ///
- /// Gets or sets netmask
- ///
- ///
- /// The netmask of the IPv4 address range to use when creating a new
- /// mount target
- ///
- [JsonProperty(PropertyName = "netmask")]
- public string Netmask { get; set; }
-
- ///
- /// Gets or sets smbServerFQDN
- ///
- ///
- /// The SMB server's Fully Qualified Domain Name, FQDN
- ///
- [JsonProperty(PropertyName = "smbServerFqdn")]
- public string SmbServerFqdn { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (FileSystemId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "FileSystemId");
- }
- if (MountTargetId != null)
- {
- if (MountTargetId.Length > 36)
- {
- throw new ValidationException(ValidationRules.MaxLength, "MountTargetId", 36);
- }
- if (MountTargetId.Length < 36)
- {
- throw new ValidationException(ValidationRules.MinLength, "MountTargetId", 36);
- }
- if (!System.Text.RegularExpressions.Regex.IsMatch(MountTargetId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "MountTargetId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$");
- }
- }
- if (FileSystemId != null)
- {
- if (FileSystemId.Length > 36)
- {
- throw new ValidationException(ValidationRules.MaxLength, "FileSystemId", 36);
- }
- if (FileSystemId.Length < 36)
- {
- throw new ValidationException(ValidationRules.MinLength, "FileSystemId", 36);
- }
- if (!System.Text.RegularExpressions.Regex.IsMatch(FileSystemId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "FileSystemId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$");
- }
- }
- }
- }
-}
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs
index 82f4205b2126..157ec578af61 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs
@@ -55,7 +55,7 @@ public Volume()
/// What type of volume is this
/// DataProtection
/// Restoring
- public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList protocolTypes = default(IList), string provisioningState = default(string), string snapshotId = default(string), string baremetalTenantId = default(string), IList mountTargets = default(IList), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?))
+ public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList protocolTypes = default(IList), string provisioningState = default(string), string snapshotId = default(string), string baremetalTenantId = default(string), IList mountTargets = default(IList), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?))
{
Location = location;
Id = id;
@@ -209,7 +209,7 @@ public Volume()
/// List of mount targets
///
[JsonProperty(PropertyName = "properties.mountTargets")]
- public IList MountTargets { get; set; }
+ public IList MountTargets { get; set; }
///
/// Gets or sets what type of volume is this
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs
index 3d5c2039ab7c..c00a34f6e552 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs
@@ -28,16 +28,5 @@ public static IEnumerable> ApiInfo_NetAppManagemen
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/netapp/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Users\\audunn\\source\\repos\\audunn\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "cd04d9812450aa5bb0e9b9deb51340fa5d0dcbea";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-