Skip to content

Commit 3af2cf4

Browse files
authored
Merge pull request #3409 from hungmai-msft/fix-importexport
Fix type of 'DatabaseMaxSizeBytes' parameter for New-AzureRmSqlDataba…
2 parents a2914d1 + b1ffd10 commit 3af2cf4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/ResourceManager/Sql/Commands.Sql/ImportExport/Cmdlet/NewAzureSqlDatabaseImport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public string ServiceObjectiveName
5757
/// Gets or sets the maximum size for the newly imported database
5858
/// </summary>
5959
[Parameter(Mandatory = true, HelpMessage = "The maximum size in bytes for the newly imported database")]
60-
public int DatabaseMaxSizeBytes
60+
public long DatabaseMaxSizeBytes
6161
{
6262
get; set;
6363
}

src/ResourceManager/Sql/Commands.Sql/ImportExport/Model/AzureSqlDatabaseImportModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public string ServiceObjectiveName
4040
/// <summary>
4141
/// Gets or sets the maximum size for the newly imported database
4242
/// </summary>
43-
public int DatabaseMaxSizeBytes
43+
public long DatabaseMaxSizeBytes
4444
{
4545
get; set;
4646
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
22
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.RemoveSqlDatabaseAuditing","Remove-AzureRmSqlDatabaseAuditing","0","1010","The cmdlet 'Remove-AzureRmSqlDatabaseAuditing' no longer supports the alias 'Remove-AzureRmSqlDatabaseAuditing'.","Add the alias 'Remove-AzureRmSqlDatabaseAuditing back to the cmdlet 'Remove-AzureRmSqlDatabaseAuditing'."
3+
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.ImportExport.Cmdlet.NewAzureSqlDatabaseImport","New-AzureRmSqlDatabaseImport","0","2020","The cmdlet 'New-AzureRmSqlDatabaseImport' no longer supports the type 'Int32' for parameter 'DatabaseMaxSizeBytes'.","Change the type for parameter 'DatabaseMaxSizeBytes' back to 'Int32'."

0 commit comments

Comments
 (0)