Skip to content

Commit 0f0ef7d

Browse files
authored
[MySQL] Quick Fix for MySQL flexible server provisioning failure and doc fix (issue submitted) (#15536)
* mysql quick fix * help text for doc
1 parent a3f6de8 commit 0f0ef7d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/MySql/custom/New-AzMySqlFlexibleServer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ process {
256256
$null = $PSBoundParameters.Remove('StorageInMb')
257257
}
258258
else {
259-
$PSBoundParameters.StorageProfileStorageMb = 10240
259+
$PSBoundParameters.StorageProfileStorageMb = 32768
260260
}
261261

262262
if (!$PSBoundParameters.ContainsKey('Version')) {

src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.MySql
4-
online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
4+
online version: https://docs.microsoft.com/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration
55
schema: 2.0.0
66
---
77

@@ -32,7 +32,7 @@ Updates information about a configuration of a MySQL flexible server.
3232

3333
### Example 1: Update MySql configuration by name
3434
```powershell
35-
PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15
35+
PS C:\> Update-AzMySqlFlexibleServerConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15
3636
3737
Name Value DefaultValue Source AllowedValues DataType
3838
---- ------ ------------ ------- ------------- ---------
@@ -44,7 +44,7 @@ This cmdlet updates MySql configuration by name.
4444
### Example 2: Update MySql configuration by identity.
4545
```powershell
4646
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout"
47-
PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150
47+
PS C:\> Update-AzMySqlFlexibleServerConfiguration -InputObject $ID -Value 150
4848
4949
Name Value DefaultValue Source AllowedValues DataType
5050
---- ------ ------------ ------- ------------- ---------

src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Example 1: Update MySql configuration by name
22
```powershell
3-
PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15
3+
PS C:\> Update-AzMySqlFlexibleServerConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15
44
55
Name Value DefaultValue Source AllowedValues DataType
66
---- ------ ------------ ------- ------------- ---------
@@ -12,7 +12,7 @@ This cmdlet updates MySql configuration by name.
1212
### Example 2: Update MySql configuration by identity.
1313
```powershell
1414
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout"
15-
PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150
15+
PS C:\> Update-AzMySqlFlexibleServerConfiguration -InputObject $ID -Value 150
1616
1717
Name Value DefaultValue Source AllowedValues DataType
1818
---- ------ ------------ ------- ------------- ---------

0 commit comments

Comments
 (0)