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 d49239bb6db3..79b46cae492d 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
@@ -38,7 +38,7 @@ public Backup()
/// Resource name
/// Resource type
/// backupId
- /// name
+ /// creationDate
/// Azure lifecycle management
/// Size of backup
/// Label for backup
@@ -105,7 +105,7 @@ public Backup()
public string BackupId { get; private set; }
///
- /// Gets name
+ /// Gets creationDate
///
///
/// The creation date of the backup
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 79354559e943..4a30768bbe3a 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
@@ -37,7 +37,7 @@ public BackupPatch()
///
/// Resource tags
/// backupId
- /// name
+ /// creationDate
/// Azure lifecycle management
/// Size of backup
/// Label for backup
@@ -83,7 +83,7 @@ public BackupPatch()
public string BackupId { get; private set; }
///
- /// Gets name
+ /// Gets creationDate
///
///
/// The creation date of the backup
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs
index b4113f746648..a1824484d4bf 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs
@@ -116,16 +116,13 @@ public CapacityPoolPatch()
///
public virtual void Validate()
{
- if (Size != null)
+ if (Size > 549755813888000)
{
- if (Size > 549755813888000)
- {
- throw new ValidationException(ValidationRules.InclusiveMaximum, "Size", 549755813888000);
- }
- if (Size < 4398046511104)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "Size", 4398046511104);
- }
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "Size", 549755813888000);
+ }
+ if (Size < 4398046511104)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "Size", 4398046511104);
}
}
}
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 2dd9e6a47c9a..ed56401b9f2a 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
@@ -660,16 +660,13 @@ public virtual void Validate()
{
DataProtection.Validate();
}
- if (CoolnessPeriod != null)
+ if (CoolnessPeriod > 63)
{
- if (CoolnessPeriod > 63)
- {
- throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63);
- }
- if (CoolnessPeriod < 7)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7);
- }
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63);
+ }
+ if (CoolnessPeriod < 7)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7);
}
if (UnixPermissions != null)
{
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumeGroupVolumeProperties.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumeGroupVolumeProperties.cs
index 6f251245affe..3083c16e97d8 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumeGroupVolumeProperties.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumeGroupVolumeProperties.cs
@@ -640,16 +640,13 @@ public virtual void Validate()
{
DataProtection.Validate();
}
- if (CoolnessPeriod != null)
+ if (CoolnessPeriod > 63)
{
- if (CoolnessPeriod > 63)
- {
- throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63);
- }
- if (CoolnessPeriod < 7)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7);
- }
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63);
+ }
+ if (CoolnessPeriod < 7)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7);
}
if (UnixPermissions != null)
{
diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs
index 1f15e197c517..56c1dc32839b 100644
--- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs
+++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs
@@ -184,16 +184,13 @@ public VolumePatch()
///
public virtual void Validate()
{
- if (UsageThreshold != null)
+ if (UsageThreshold > 109951162777600)
{
- if (UsageThreshold > 109951162777600)
- {
- throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600);
- }
- if (UsageThreshold < 107374182400)
- {
- throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400);
- }
+ throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600);
+ }
+ if (UsageThreshold < 107374182400)
+ {
+ throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400);
}
}
}
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 5fbeb5c92980..1edff80e1d33 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
@@ -35,16 +35,5 @@ public static IEnumerable> ApiInfo_NetAppManagemen
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@3.5.1";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/netapp/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --use:@microsoft.azure/autorest.csharp@2.3.90 --csharp-sdks-folder=C:\\Users\\audunn\\Source\\repos\\azure\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "main";
- public static readonly String GithubCommidId = "627150f8d136efe07ca7fe6b2501c9c394b437d0";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-