Skip to content

Commit eff7bd2

Browse files
authored
Fix MariaDb document issues (Azure#13087)
1 parent 11cc4a8 commit eff7bd2

10 files changed

+78
-35
lines changed

src/MariaDb/custom/Get-AzMariaDBConnectionString.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
15+
16+
<#
17+
.Synopsis
18+
Get connection string of a MariaDb under a given framework.
19+
.Description
20+
Get connection string of a MariaDb under a given framework.
21+
#>
1522
function Get-AzMariaDbConnectionString {
1623
[OutputType([System.String])]
1724
[CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false)]

src/MariaDb/custom/New-AzMariaDBServer.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
# ----------------------------------------------------------------------------------
14+
<#
15+
.Synopsis
16+
Creates a new MariaDb.
17+
.Description
18+
Creates a new MariaDb.
19+
#>
1420
function New-AzMariaDbServer {
1521
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]
1622
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MariaDb/custom/New-AzMariaDbReplica.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
# ----------------------------------------------------------------------------------
14+
15+
<#
16+
.Synopsis
17+
Creates a replica of a MariaDb server.
18+
.Description
19+
Creates a replica of a MariaDb server.
20+
#>
1421
function New-AzMariaDbReplica {
1522
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]
1623
[CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MariaDb/custom/Restart-AzMariaDbServer.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
# ----------------------------------------------------------------------------------
15+
16+
<#
17+
.Synopsis
18+
Restarts a server.
19+
.Description
20+
Restarts a server.
21+
#>
1522
function Restart-AzMariaDbServer {
1623
[OutputType([System.Boolean])]
1724
[CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/MariaDb/custom/Restore-AzMariaDBServer.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
# ----------------------------------------------------------------------------------
14+
15+
<#
16+
.Synopsis
17+
Restore a MariaDb from a existing MariaDb.
18+
.Description
19+
Restore a MariaDb from a existing MariaDb.
20+
#>
1421
function Restore-AzMariaDbServer
1522
{
1623
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]

src/MariaDb/docs/Az.MariaDb.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.MariaDb
3-
Module Guid: b40274bf-655e-4bbc-bfb2-90862175b6f2
3+
Module Guid: 8dbb10e2-0ec3-48c3-9481-1cb1e87e2368
44
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mariadb
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -15,7 +15,7 @@ Microsoft Azure PowerShell: MariaDb cmdlets
1515
Gets information about a configuration of server.
1616

1717
### [Get-AzMariaDbConnectionString](Get-AzMariaDbConnectionString.md)
18-
18+
Get connection string of a MariaDb under a given framework.
1919

2020
### [Get-AzMariaDbFirewallRule](Get-AzMariaDbFirewallRule.md)
2121
Gets information about a server firewall rule.
@@ -33,7 +33,7 @@ Gets a virtual network rule.
3333
Creates a new firewall rule or updates an existing firewall rule.
3434

3535
### [New-AzMariaDbReplica](New-AzMariaDbReplica.md)
36-
36+
Creates a replica of a MariaDb server.
3737

3838
### [New-AzMariaDbServer](New-AzMariaDbServer.md)
3939

@@ -51,10 +51,10 @@ Deletes a server.
5151
Deletes the virtual network rule with the given name.
5252

5353
### [Restart-AzMariaDbServer](Restart-AzMariaDbServer.md)
54-
54+
Restarts a server.
5555

5656
### [Restore-AzMariaDbServer](Restore-AzMariaDbServer.md)
57-
57+
Restore a MariaDb from a existing MariaDb.
5858

5959
### [Update-AzMariaDbConfiguration](Update-AzMariaDbConfiguration.md)
6060
Updates a configuration of a server.

src/MariaDb/docs/Get-AzMariaDbConnectionString.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Get-AzMariaDbConnectionString
99

1010
## SYNOPSIS
11-
11+
Get connection string of a MariaDb under a given framework.
1212

1313
## SYNTAX
1414

@@ -25,7 +25,7 @@ Get-AzMariaDbConnectionString -Client <String> -InputObject <IServer> [-DefaultP
2525
```
2626

2727
## DESCRIPTION
28-
28+
Get connection string of a MariaDb under a given framework.
2929

3030
## EXAMPLES
3131

@@ -65,7 +65,8 @@ Accept wildcard characters: False
6565
```
6666
6767
### -DefaultProfile
68-
68+
region DefaultParameters
69+
The credentials, account, tenant, and subscription used for communication with Azure.
6970
7071
```yaml
7172
Type: System.Management.Automation.PSObject

src/MariaDb/docs/New-AzMariaDbReplica.md

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

1010
## SYNOPSIS
11-
11+
Creates a replica of a MariaDb server.
1212

1313
## SYNTAX
1414

@@ -27,7 +27,7 @@ New-AzMariaDbReplica -Master <IServer> -ReplicaName <String> [-SubscriptionId <S
2727
```
2828

2929
## DESCRIPTION
30-
30+
Creates a replica of a MariaDb server.
3131

3232
## EXAMPLES
3333

@@ -68,7 +68,7 @@ This command with parameter inputobject creates a replica db with parameter inpu
6868
## PARAMETERS
6969

7070
### -AsJob
71-
71+
Run the command as a job
7272

7373
```yaml
7474
Type: System.Management.Automation.SwitchParameter
@@ -83,7 +83,8 @@ Accept wildcard characters: False
8383
```
8484
8585
### -DefaultProfile
86-
86+
region DefaultParameters
87+
The credentials, account, tenant, and subscription used for communication with Azure.
8788
8889
```yaml
8990
Type: System.Management.Automation.PSObject
@@ -144,7 +145,7 @@ Accept wildcard characters: False
144145
```
145146
146147
### -NoWait
147-
148+
Run the command asynchronously
148149
149150
```yaml
150151
Type: System.Management.Automation.SwitchParameter

src/MariaDb/docs/Restart-AzMariaDbServer.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Restart-AzMariaDbServer
99

1010
## SYNOPSIS
11-
11+
Restarts a server.
1212

1313
## SYNTAX
1414

@@ -25,7 +25,7 @@ Restart-AzMariaDbServer -InputObject <IMariaDbIdentity> [-DefaultProfile <PSObje
2525
```
2626

2727
## DESCRIPTION
28-
28+
Restarts a server.
2929

3030
## EXAMPLES
3131

@@ -48,7 +48,7 @@ This command restart a MariaDB.
4848
## PARAMETERS
4949

5050
### -AsJob
51-
51+
Run the command as a job
5252

5353
```yaml
5454
Type: System.Management.Automation.SwitchParameter
@@ -63,7 +63,7 @@ Accept wildcard characters: False
6363
```
6464
6565
### -DefaultProfile
66-
66+
The credentials, account, tenant, and subscription used for communication with Azure.
6767
6868
```yaml
6969
Type: System.Management.Automation.PSObject
@@ -78,6 +78,7 @@ Accept wildcard characters: False
7878
```
7979
8080
### -InputObject
81+
Identity Parameter
8182
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8283
8384
```yaml
@@ -93,7 +94,7 @@ Accept wildcard characters: False
9394
```
9495
9596
### -Name
96-
97+
The name of the server.
9798
9899
```yaml
99100
Type: System.String
@@ -108,7 +109,7 @@ Accept wildcard characters: False
108109
```
109110
110111
### -NoWait
111-
112+
Run the command asynchronously
112113
113114
```yaml
114115
Type: System.Management.Automation.SwitchParameter
@@ -123,7 +124,7 @@ Accept wildcard characters: False
123124
```
124125
125126
### -PassThru
126-
127+
Returns true when the command succeeds
127128
128129
```yaml
129130
Type: System.Management.Automation.SwitchParameter
@@ -138,7 +139,8 @@ Accept wildcard characters: False
138139
```
139140
140141
### -ResourceGroupName
141-
142+
The name of the resource group that contains the resource.
143+
You can obtain this value from the Azure Resource Manager API or the portal.
142144
143145
```yaml
144146
Type: System.String
@@ -153,7 +155,7 @@ Accept wildcard characters: False
153155
```
154156
155157
### -SubscriptionId
156-
158+
The subscription ID that identifies an Azure subscription.
157159
158160
```yaml
159161
Type: System.String
@@ -218,7 +220,7 @@ COMPLEX PARAMETER PROPERTIES
218220
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
219221
220222
221-
INPUTOBJECT <IMariaDbIdentity>:
223+
INPUTOBJECT <IMariaDbIdentity>: Identity Parameter
222224
- `[ConfigurationName <String>]`: The name of the server configuration.
223225
- `[DatabaseName <String>]`: The name of the database.
224226
- `[FirewallRuleName <String>]`: The name of the server firewall rule.

0 commit comments

Comments
 (0)