diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs
index 1798c24f3a0e..37d3b033aad2 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs
@@ -384,7 +384,7 @@ private void Initialize()
BackupPolicies = new BackupPoliciesOperations(this);
Vaults = new VaultsOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2020-06-01";
+ ApiVersion = "2020-07-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IVolumesOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IVolumesOperations.cs
index ecceebb84c5a..037ae0d6b69b 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IVolumesOperations.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IVolumesOperations.cs
@@ -302,7 +302,7 @@ public partial interface IVolumesOperations
///
/// Resync the connection on the destination volume. If the operation
/// is ran on the source volume it will reverse-resync the connection
- /// and sync from source to destination.
+ /// and sync from destination to source.
///
///
/// The name of the resource group.
@@ -640,7 +640,7 @@ public partial interface IVolumesOperations
///
/// Resync the connection on the destination volume. If the operation
/// is ran on the source volume it will reverse-resync the connection
- /// and sync from source to destination.
+ /// and sync from destination to source.
///
///
/// The name of the resource group.
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ActiveDirectory.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ActiveDirectory.cs
index 573ef294a4ad..f26dd4631148 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ActiveDirectory.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ActiveDirectory.cs
@@ -66,7 +66,11 @@ public ActiveDirectory()
/// Directory Certificate Service's self-signed root CA certificate,
/// this optional parameter is used only for dual protocol with LDAP
/// user-mapping volumes.
- public ActiveDirectory(string activeDirectoryId = default(string), string username = default(string), string password = default(string), string domain = default(string), string dns = default(string), string status = default(string), string statusDetails = default(string), string smbServerName = default(string), string organizationalUnit = default(string), string site = default(string), IList backupOperators = default(IList), string kdcIP = default(string), string adName = default(string), string serverRootCACertificate = default(string))
+ /// If enabled, AES encryption will be
+ /// enabled for SMB communication.
+ /// Specifies whether or not the LDAP traffic
+ /// needs to be signed.
+ public ActiveDirectory(string activeDirectoryId = default(string), string username = default(string), string password = default(string), string domain = default(string), string dns = default(string), string status = default(string), string statusDetails = default(string), string smbServerName = default(string), string organizationalUnit = default(string), string site = default(string), IList backupOperators = default(IList), string kdcIP = default(string), string adName = default(string), string serverRootCACertificate = default(string), bool? aesEncryption = default(bool?), bool? ldapSigning = default(bool?))
{
ActiveDirectoryId = activeDirectoryId;
Username = username;
@@ -82,6 +86,8 @@ public ActiveDirectory()
KdcIP = kdcIP;
AdName = adName;
ServerRootCACertificate = serverRootCACertificate;
+ AesEncryption = aesEncryption;
+ LdapSigning = ldapSigning;
CustomInit();
}
@@ -189,6 +195,20 @@ public ActiveDirectory()
[JsonProperty(PropertyName = "serverRootCACertificate")]
public string ServerRootCACertificate { get; set; }
+ ///
+ /// Gets or sets if enabled, AES encryption will be enabled for SMB
+ /// communication.
+ ///
+ [JsonProperty(PropertyName = "aesEncryption")]
+ public bool? AesEncryption { get; set; }
+
+ ///
+ /// Gets or sets specifies whether or not the LDAP traffic needs to be
+ /// signed.
+ ///
+ [JsonProperty(PropertyName = "ldapSigning")]
+ public bool? LdapSigning { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Backup.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Backup.cs
index f2ae5a9017d8..937a7c346896 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Backup.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Backup.cs
@@ -37,17 +37,19 @@ public Backup()
/// Resource Id
/// Resource name
/// Resource type
+ /// backupId
/// name
/// Azure lifecycle management
/// Size of backup
/// Label for backup
/// Type of backup adhoc or scheduled
- public Backup(string location, string id = default(string), string name = default(string), string type = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), long? size = default(long?), string label = default(string), string backupType = default(string))
+ public Backup(string location, string id = default(string), string name = default(string), string type = default(string), string backupId = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), long? size = default(long?), string label = default(string), string backupType = default(string))
{
Location = location;
Id = id;
Name = name;
Type = type;
+ BackupId = backupId;
CreationDate = creationDate;
ProvisioningState = provisioningState;
Size = size;
@@ -85,6 +87,15 @@ public Backup()
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
+ ///
+ /// Gets backupId
+ ///
+ ///
+ /// UUID v4 used to identify the Backup
+ ///
+ [JsonProperty(PropertyName = "properties.backupId")]
+ public string BackupId { get; private set; }
+
///
/// Gets name
///
@@ -130,6 +141,21 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Location");
}
+ if (BackupId != null)
+ {
+ if (BackupId.Length > 36)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "BackupId", 36);
+ }
+ if (BackupId.Length < 36)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "BackupId", 36);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(BackupId, "^[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, "BackupId", "^[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/BackupPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPatch.cs
index c494743b21a0..6dd59b8f5747 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPatch.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPatch.cs
@@ -36,14 +36,16 @@ public BackupPatch()
/// Initializes a new instance of the BackupPatch class.
///
/// Resource tags
+ /// backupId
/// name
/// Azure lifecycle management
/// Size of backup
/// Label for backup
/// Type of backup adhoc or scheduled
- public BackupPatch(IDictionary tags = default(IDictionary), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), long? size = default(long?), string label = default(string), string backupType = default(string))
+ public BackupPatch(IDictionary tags = default(IDictionary), string backupId = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string), long? size = default(long?), string label = default(string), string backupType = default(string))
{
Tags = tags;
+ BackupId = backupId;
CreationDate = creationDate;
ProvisioningState = provisioningState;
Size = size;
@@ -63,6 +65,15 @@ public BackupPatch()
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
+ ///
+ /// Gets backupId
+ ///
+ ///
+ /// UUID v4 used to identify the Backup
+ ///
+ [JsonProperty(PropertyName = "properties.backupId")]
+ public string BackupId { get; private set; }
+
///
/// Gets name
///
@@ -96,5 +107,29 @@ public BackupPatch()
[JsonProperty(PropertyName = "properties.backupType")]
public string BackupType { get; private set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (BackupId != null)
+ {
+ if (BackupId.Length > 36)
+ {
+ throw new ValidationException(ValidationRules.MaxLength, "BackupId", 36);
+ }
+ if (BackupId.Length < 36)
+ {
+ throw new ValidationException(ValidationRules.MinLength, "BackupId", 36);
+ }
+ if (!System.Text.RegularExpressions.Regex.IsMatch(BackupId, "^[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, "BackupId", "^[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/BackupPolicyPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs
index 6285b3d2dfe7..af8c0407aca6 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs
@@ -11,6 +11,7 @@
namespace Microsoft.Azure.Management.NetApp.Models
{
using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
@@ -21,7 +22,7 @@ namespace Microsoft.Azure.Management.NetApp.Models
/// Backup policy Details for create and update
///
[Rest.Serialization.JsonTransformation]
- public partial class BackupPolicyPatch
+ public partial class BackupPolicyPatch : IResource
{
///
/// Initializes a new instance of the BackupPolicyPatch class.
@@ -35,7 +36,11 @@ public BackupPolicyPatch()
/// Initializes a new instance of the BackupPolicyPatch class.
///
/// Resource location
- /// Name of backup policy
+ /// Resource Id
+ /// Resource name
+ /// Resource type
+ /// Resource tags
+ /// Name of backup policy
/// Azure lifecycle management
/// Daily backups count to
/// keep
@@ -51,10 +56,14 @@ public BackupPolicyPatch()
/// not
/// A list of volumes assigned to this
/// policy
- public BackupPolicyPatch(string location = default(string), string name = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? yearlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList))
+ public BackupPolicyPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? yearlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList))
{
Location = location;
+ Id = id;
Name = name;
+ Type = type;
+ Tags = tags;
+ Name1 = name1;
ProvisioningState = provisioningState;
DailyBackupsToKeep = dailyBackupsToKeep;
WeeklyBackupsToKeep = weeklyBackupsToKeep;
@@ -77,11 +86,35 @@ public BackupPolicyPatch()
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
+ ///
+ /// Gets resource Id
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets resource name
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets resource type
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
+ ///
+ /// Gets or sets resource tags
+ ///
+ [JsonProperty(PropertyName = "tags")]
+ public IDictionary Tags { get; set; }
+
///
/// Gets name of backup policy
///
[JsonProperty(PropertyName = "properties.name")]
- public string Name { get; private set; }
+ public string Name1 { get; private set; }
///
/// Gets azure lifecycle management
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs
index b9c46bfe5b70..8cb7f1eb57c2 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs
@@ -1,4 +1,4 @@
- //
+//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs
index cb95cd72f1f3..bf136d4dd91a 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.NetApp.Models
using System.Linq;
///
- /// Volumes associated with snapshot policy
+ /// List of volume resources associated with snapshot policy
///
public partial class SnapshotPolicyVolumeList
{
@@ -32,7 +32,7 @@ public SnapshotPolicyVolumeList()
/// Initializes a new instance of the SnapshotPolicyVolumeList class.
///
/// List of volumes
- public SnapshotPolicyVolumeList(IList