Skip to content

Commit 976d44f

Browse files
DaeunYimmsJinLeimsJinLei
authored
Added description and synopsis for mysql cmdlets (#13626)
* Generate flexible server cmdlets (#13269) * test commit with server mgmt md files * cmdlet design draft * fixed errors for mysql md files * fixed errors for mysql md files * fixing mistakes * resolved comments * mysql cmdlets customization verified * mysql modified * postgres customized cmdlets and readme * mysql postgres customized cmdlets and docs * initial commit for mysql pg module * mysql test success * pg module * postgresql cmdlet update test fixed * example document fixed * Revert "example document fixed" This reverts commit 6c60dbf. * align single server test with flexible server * docs fixed * docs files moved from exports to upper folder * typo fixed * revert postgresql * configuration fixed * cred scan added * cred scan issue resolved * Regenerate doc of the MySql * comments resolved * synopsis and description added * Fix MySql doc issues * Revert examples/New-AzMySqlVirtualNetworkRule.md incorrect change * Update doc/*.md Co-authored-by: Jin Lei <[email protected]> Co-authored-by: msJinLei <[email protected]>
1 parent 4fd9e51 commit 976d44f

15 files changed

+74
-59
lines changed

src/MySql/custom/New-AzMySqlFlexibleServer.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
1515

16+
<#
17+
.Synopsis
18+
Creates a new MySQL flexible server
19+
.Description
20+
Creates a new MySQL flexible server
21+
#>
1622
function New-AzMySqlFlexibleServer {
1723
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
1824
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<#
1717
.Synopsis
18-
Creates a new firewall rule or updates an existing firewall rule.
18+
Creates a new firewall rule for MySQL flexible server
1919
.Description
20-
Creates a new firewall rule or updates an existing firewall rule.
20+
Creates a new firewall rule for MySQL flexible server
2121
#>
2222
function New-AzMySqlFlexibleServerFirewallRule {
2323
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]

src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
1515

16+
<#
17+
.Synopsis
18+
Creates a replica server for a MySQL flexible server
19+
.Description
20+
Creates a replica server for a MySQL flexible server
21+
#>
22+
1623
function New-AzMySqlFlexibleServerReplica {
1724
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
1825
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MySql/custom/Update-AzMySqlFlexibleServer.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
1515

16+
<#
17+
.Synopsis
18+
Updates an existing MySQL flexible server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.
19+
.Description
20+
Updates an existing MySQL flexible server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.
21+
#>
22+
1623
function Update-AzMySqlFlexibleServer {
1724
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])]
1825
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
19-
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')]
2026
param(
2127
[Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the server.')]
2228
[Alias('ServerName')]

src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
1515

16+
<#
17+
.Synopsis
18+
Updates information about a configuration of a MySQL flexible server.
19+
.Description
20+
Updates information about a configuration of a MySQL flexible server.
21+
#>
22+
1623
function Update-AzMySqlFlexibleServerConfiguration {
1724
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])]
1825
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MySql/custom/Update-AzMySqlFlexibleServerFirewallRule.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<#
1717
.Synopsis
18-
Creates a new firewall rule or updates an existing firewall rule.
18+
Updates an existing firewall rule.
1919
.Description
20-
Creates a new firewall rule or updates an existing firewall rule.
20+
Updates an existing firewall rule.
2121
#>
2222
function Update-AzMySqlFlexibleServerFirewallRule {
2323
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])]

src/MySql/docs/Az.MySql.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.MySql
3-
Module Guid: fc8b3a19-b288-4f67-a4ff-b2d82a11cd6a
3+
Module Guid: 6fb456f8-3967-40b0-a0af-3be8e13ae017
44
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -54,7 +54,7 @@ Creates a new server.
5454
Creates a new database or updates an existing database.
5555

5656
### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md)
57-
Creates a new firewall rule or updates an existing firewall rule.
57+
Creates a new firewall rule for MySQL flexible server
5858

5959
### [New-AzMySqlFlexibleServerReplica](New-AzMySqlFlexibleServerReplica.md)
6060
Creates a new replica from an existing database.
@@ -112,18 +112,18 @@ Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword,
112112
Creates a new firewall rule or updates an existing firewall rule.
113113

114114
### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md)
115-
Updates an existing server.
115+
Updates an existing MySQL flexible server.
116116
The request body can contain one to many of the properties present in the normal server definition.
117-
Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.
117+
Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.
118118

119119
### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md)
120-
120+
Updates information about a configuration of a MySQL flexible server.
121121

122122
### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md)
123123
Creates a new database or updates an existing database.
124124

125125
### [Update-AzMySqlFlexibleServerFirewallRule](Update-AzMySqlFlexibleServerFirewallRule.md)
126-
Creates a new firewall rule or updates an existing firewall rule.
126+
Updates an existing firewall rule.
127127

128128
### [Update-AzMySqlServer](Update-AzMySqlServer.md)
129129
Updates an existing server.

src/MySql/docs/New-AzMySqlFlexibleServer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# New-AzMySqlFlexibleServer
99

1010
## SYNOPSIS
11-
Creates a new server.
11+
Creates a new MySQL flexible server
1212

1313
## SYNTAX
1414

src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# New-AzMySqlFlexibleServerFirewallRule
99

1010
## SYNOPSIS
11-
Creates a new firewall rule or updates an existing firewall rule.
11+
Creates a new firewall rule for MySQL flexible server
1212

1313
## SYNTAX
1414

@@ -34,7 +34,7 @@ New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName <String> -ServerName <S
3434
```
3535

3636
## DESCRIPTION
37-
Creates a new firewall rule or updates an existing firewall rule.
37+
Creates a new firewall rule for MySQL flexible server
3838

3939
## EXAMPLES
4040

src/MySql/docs/New-AzMySqlFlexibleServerReplica.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# New-AzMySqlFlexibleServerReplica
99

1010
## SYNOPSIS
11-
Creates a new replica from an existing database.
11+
Creates a replica server for a MySQL flexible server
1212

1313
## SYNTAX
1414

0 commit comments

Comments
 (0)