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 37d3b033aad2b..f322a7432ca91 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-07-01"; + ApiVersion = "2020-08-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; 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 d8c8f9511b941..1ff70b51781c8 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 @@ -389,20 +389,17 @@ public virtual void Validate() { DataProtection.Validate(); } - if (ThroughputMibps != null) + if (ThroughputMibps > 4500) { - if (ThroughputMibps > 4500) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); - } - if (ThroughputMibps < 1) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); - } - if (ThroughputMibps % 0.001 != 0) - { - throw new ValidationException(ValidationRules.MultipleOf, "ThroughputMibps", 0.001); - } + throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); + } + if (ThroughputMibps < 1) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); + } + if (ThroughputMibps % 0.001 != 0) + { + throw new ValidationException(ValidationRules.MultipleOf, "ThroughputMibps", 0.001); } } } 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 543337bb8bec4..36aa82bfa9e0b 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 @@ -159,20 +159,17 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400); } - if (ThroughputMibps != null) + if (ThroughputMibps > 4500) { - if (ThroughputMibps > 4500) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); - } - if (ThroughputMibps < 1) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); - } - if (ThroughputMibps % 0.001 != 0) - { - throw new ValidationException(ValidationRules.MultipleOf, "ThroughputMibps", 0.001); - } + throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); + } + if (ThroughputMibps < 1) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); + } + if (ThroughputMibps % 0.001 != 0) + { + throw new ValidationException(ValidationRules.MultipleOf, "ThroughputMibps", 0.001); } } } 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 de998c60070ba..fc5ab004dbd69 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 @@ -19,30 +19,19 @@ public static IEnumerable> ApiInfo_NetAppManagemen { return new Tuple[] { - new Tuple("NetApp", "AccountBackups", "2020-07-01"), - new Tuple("NetApp", "Accounts", "2020-07-01"), - new Tuple("NetApp", "BackupPolicies", "2020-07-01"), - new Tuple("NetApp", "Backups", "2020-07-01"), - new Tuple("NetApp", "NetAppResource", "2020-07-01"), - new Tuple("NetApp", "Operations", "2020-07-01"), - new Tuple("NetApp", "Pools", "2020-07-01"), - new Tuple("NetApp", "SnapshotPolicies", "2020-07-01"), - new Tuple("NetApp", "Snapshots", "2020-07-01"), - new Tuple("NetApp", "Vaults", "2020-07-01"), - new Tuple("NetApp", "Volumes", "2020-07-01"), + new Tuple("NetApp", "AccountBackups", "2020-08-01"), + new Tuple("NetApp", "Accounts", "2020-08-01"), + new Tuple("NetApp", "BackupPolicies", "2020-08-01"), + new Tuple("NetApp", "Backups", "2020-08-01"), + new Tuple("NetApp", "NetAppResource", "2020-08-01"), + new Tuple("NetApp", "Operations", "2020-08-01"), + new Tuple("NetApp", "Pools", "2020-08-01"), + new Tuple("NetApp", "SnapshotPolicies", "2020-08-01"), + new Tuple("NetApp", "Snapshots", "2020-08-01"), + new Tuple("NetApp", "Vaults", "2020-08-01"), + new Tuple("NetApp", "Volumes", "2020-08-01"), }.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\\azure\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "9563d064dabcf535e35a52bc2e0e3ada4e74e64f"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -