Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/MariaDb/custom/Get-AzMariaDBConnectionString.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<#
.Synopsis
Get connection string of a MariaDb under a given framework.
Get connection string of a MariaDB under a given framework.
.Description
Get connection string of a MariaDb under a given framework.
Get connection string of a MariaDB under a given framework.
#>
function Get-AzMariaDbConnectionString {
[OutputType([System.String])]
Expand Down Expand Up @@ -142,4 +142,4 @@ function Get-AzMariaDbConnectionString {
}
return $ConnectionStringMap[$Client]
}
}
}
9 changes: 4 additions & 5 deletions src/MariaDb/custom/New-AzMariaDBServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
# ----------------------------------------------------------------------------------
<#
.Synopsis
Creates a new MariaDb.
Creates a new MariaDB.
.Description
Creates a new MariaDb.
Creates a new MariaDB.
#>
function New-AzMariaDbServer {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory, HelpMessage='MariaDb server name.')]
[Parameter(Mandatory, HelpMessage='MariaDB server name.')]
[Alias('ServerName')]
[Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')]
[System.String]
# MariaDb server name.
# MariaDB server name.
${Name},

[Parameter(Mandatory, HelpMessage='The name of the resource group that contains the resource.')]
Expand Down Expand Up @@ -249,4 +249,3 @@ function New-AzMariaDbServer {
}
}
}

8 changes: 4 additions & 4 deletions src/MariaDb/custom/New-AzMariaDbReplica.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

<#
.Synopsis
Creates a replica of a MariaDb server.
Creates a replica of a MariaDB server.
.Description
Creates a replica of a MariaDb server.
Creates a replica of a MariaDB server.
#>
function New-AzMariaDbReplica {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]
Expand All @@ -36,11 +36,11 @@ function New-AzMariaDbReplica {
# The source server object to restore from.
${Master},

[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='MariaDb server name.')]
[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='MariaDB server name.')]
[Alias('ServerName')]
[Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')]
[System.String]
# MariaDb server name.
# MariaDB server name.
${MasterName},

[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='You can obtain this value from the Azure Resource Manager API or the portal.')]
Expand Down
6 changes: 3 additions & 3 deletions src/MariaDb/custom/Restore-AzMariaDBServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

<#
.Synopsis
Restore a MariaDb from a existing MariaDb.
Restore a MariaDB from a existing MariaDB.
.Description
Restore a MariaDb from a existing MariaDb.
Restore a MariaDB from a existing MariaDB.
#>
function Restore-AzMariaDbServer
{
Expand Down Expand Up @@ -222,4 +222,4 @@ function Restore-AzMariaDbServer
throw
}
}
}
}
4 changes: 2 additions & 2 deletions src/MariaDb/custom/Update-AzMariaDBServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function Update-AzMariaDbServer
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])]
[CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='MariaDb server name')]
[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='MariaDB server name')]
[Alias('ServerName')]
[Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')]
[System.String]
# MariaDb server name.
# MariaDB server name.
${Name},

[Parameter(ParameterSetName='ServerName', Mandatory, HelpMessage='The name of the resource group that contains the resource.')]
Expand Down
6 changes: 3 additions & 3 deletions src/MariaDb/docs/Az.MariaDb.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Microsoft Azure PowerShell: MariaDb cmdlets
Gets information about a configuration of server.

### [Get-AzMariaDbConnectionString](Get-AzMariaDbConnectionString.md)
Get connection string of a MariaDb under a given framework.
Get connection string of a MariaDB under a given framework.

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

### [New-AzMariaDbReplica](New-AzMariaDbReplica.md)
Creates a replica of a MariaDb server.
Creates a replica of a MariaDB server.

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

Expand All @@ -54,7 +54,7 @@ Deletes the virtual network rule with the given name.
Restarts a server.

### [Restore-AzMariaDbServer](Restore-AzMariaDbServer.md)
Restore a MariaDb from a existing MariaDb.
Restore a MariaDB from a existing MariaDB.

### [Update-AzMariaDbConfiguration](Update-AzMariaDbConfiguration.md)
Updates a configuration of a server.
Expand Down
4 changes: 2 additions & 2 deletions src/MariaDb/docs/Get-AzMariaDbConnectionString.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Get-AzMariaDbConnectionString

## SYNOPSIS
Get connection string of a MariaDb under a given framework.
Get connection string of a MariaDB under a given framework.

## SYNTAX

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

## DESCRIPTION
Get connection string of a MariaDb under a given framework.
Get connection string of a MariaDB under a given framework.

## EXAMPLES

Expand Down
6 changes: 3 additions & 3 deletions src/MariaDb/docs/New-AzMariaDbReplica.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzMariaDbReplica

## SYNOPSIS
Creates a replica of a MariaDb server.
Creates a replica of a MariaDB server.

## SYNTAX

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

## DESCRIPTION
Creates a replica of a MariaDb server.
Creates a replica of a MariaDB server.

## EXAMPLES

Expand Down Expand Up @@ -130,7 +130,7 @@ Accept wildcard characters: False
```

### -MasterName
MariaDb server name.
MariaDB server name.

```yaml
Type: System.String
Expand Down
2 changes: 1 addition & 1 deletion src/MariaDb/docs/New-AzMariaDbServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Accept wildcard characters: False
```

### -Name
MariaDb server name.
MariaDB server name.

```yaml
Type: System.String
Expand Down
4 changes: 2 additions & 2 deletions src/MariaDb/docs/Restore-AzMariaDbServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# Restore-AzMariaDbServer

## SYNOPSIS
Restore a MariaDb from a existing MariaDb.
Restore a MariaDB from a existing MariaDB.

## SYNTAX

Expand All @@ -19,7 +19,7 @@ Restore-AzMariaDbServer -Name <String> -RestorePointInTime <DateTime> [-InputObj
```

## DESCRIPTION
Restore a MariaDb from a existing MariaDb.
Restore a MariaDB from a existing MariaDB.

## EXAMPLES

Expand Down
4 changes: 2 additions & 2 deletions src/MariaDb/docs/Update-AzMariaDbConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Use Update-AzMariaDberver instead if you want update AdministratorLoginPassword,

## EXAMPLES

### Example 1: Update MariaDb configuration
### Example 1: Update MariaDB configuration
```powershell
PS C:\> Update-AzMariaDbConfiguration -Name delayed_insert_timeout -Value 200 -ServerName mariadb-test-h3pame -ResourceGroupName mariadb-test-qu5ov0

Expand All @@ -41,7 +41,7 @@ Name Type
delayed_insert_timeout Microsoft.DBforMariaDB/servers/configurations
```

This command updates a MariaDb configuration.
This command updates a MariaDB configuration.

## PARAMETERS

Expand Down
12 changes: 6 additions & 6 deletions src/MariaDb/docs/Update-AzMariaDbFirewallRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Creates a new firewall rule or updates an existing firewall rule.

## EXAMPLES

### Example 1: Update MariaDb firewall rule
### Example 1: Update MariaDB firewall rule
```powershell
PS C:\> Update-AzMariaDbFirewallRule -Name fr-cfgl3y -ServerName mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StartIPAddress 0.0.3.1 -EndIPAddress 0.0.3.255

Expand All @@ -52,9 +52,9 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.3.1 0.0.3.255
```

This command updates a MariaDb firewall rule.
This command updates a MariaDB firewall rule.

### Example 2: Update MariaDb Firewall Rule by identity.
### Example 2: Update MariaDB Firewall Rule by identity.
```powershell
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/mariadb-test-qu5ov0/providers/Microsoft.DBforMariaDB/servers/mariadb-test-4rmtig/firewallRules/fr-cfgl3y"
PS C:\> Update-AzMariaDbFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2
Expand All @@ -64,9 +64,9 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.0.2 0.0.0.3
```

The cmdlet updates MariaDb Firewall Rule by identity.
The cmdlet updates MariaDB Firewall Rule by identity.

### Example 3: Update MariaDb Firewall Rule by -ClientIPAddress.
### Example 3: Update MariaDB Firewall Rule by -ClientIPAddress.
```powershell
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/mariadb-test-qu5ov0/providers/Microsoft.DBforMariaDB/servers/mariadb-test-4rmtig/firewallRules/fr-cfgl3y"
PS C:\> Update-AzMariaDbFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2
Expand All @@ -76,7 +76,7 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.0.2 0.0.0.2
```

The cmdlet updates MariaDb Firewall Rule by -ClientIPAddress.
The cmdlet updates MariaDB Firewall Rule by -ClientIPAddress.

## PARAMETERS

Expand Down
10 changes: 5 additions & 5 deletions src/MariaDb/docs/Update-AzMariaDbServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Use Update-AzMariaDbConfiguration instead if you want update server parameters s

## EXAMPLES

### Example 1: Update MariaDb
### Example 1: Update MariaDB
```powershell
PS C:\> Update-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StorageInMb 8192

Expand All @@ -48,9 +48,9 @@ Name Location AdministratorLogin Version StorageProfileStorageMb
mariadb-test-4rmtig eastus xofavpndqj 10.2 8192 B_Gen5_1 Basic Enabled
```

This command updates a MariaDb.
This command updates a MariaDB.

### Example 2: Update MariaDb
### Example 2: Update MariaDB
```powershell
PS C:\> Get-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 | Update-AzMariaDbServer -StorageInMb (8192+1024)

Expand All @@ -59,7 +59,7 @@ Name Location AdministratorLogin Version StorageProfileStorageMb
mariadb-test-4rmtig eastus xofavpndqj 10.2 9216 B_Gen5_1 Basic Enabled
```

This command updates a MariaDb.
This command updates a MariaDB.

## PARAMETERS

Expand Down Expand Up @@ -156,7 +156,7 @@ Accept wildcard characters: False
```

### -Name
MariaDb server name
MariaDB server name

```yaml
Type: System.String
Expand Down
2 changes: 1 addition & 1 deletion src/MariaDb/docs/Update-AzMariaDbVirtualNetworkRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Creates or updates an existing virtual network rule.

## EXAMPLES

### Example 1: Update MariaDb virtual network rule
### Example 1: Update MariaDB virtual network rule
```powershell
PS C:\> $vnet = Get-AzVirtualNetwork -Name vnet -ResourceGroupName mariadb-test-qu5ov0
PS C:\> Update-AzMariaDbVirtualNetworkRule -ServerName mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 -Name vnetrule-QdMJpU -SubnetId $vnet.Subnets[0].Id -IgnoreMissingVnetServiceEndpoint
Expand Down
4 changes: 2 additions & 2 deletions src/MariaDb/examples/Update-AzMariaDbConfiguration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Update MariaDb configuration
### Example 1: Update MariaDB configuration
```powershell
PS C:\> Update-AzMariaDbConfiguration -Name delayed_insert_timeout -Value 200 -ServerName mariadb-test-h3pame -ResourceGroupName mariadb-test-qu5ov0

Expand All @@ -7,4 +7,4 @@ Name Type
delayed_insert_timeout Microsoft.DBforMariaDB/servers/configurations
```

This command updates a MariaDb configuration.
This command updates a MariaDB configuration.
12 changes: 6 additions & 6 deletions src/MariaDb/examples/Update-AzMariaDbFirewallRule.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Update MariaDb firewall rule
### Example 1: Update MariaDB firewall rule
```powershell
PS C:\> Update-AzMariaDbFirewallRule -Name fr-cfgl3y -ServerName mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StartIPAddress 0.0.3.1 -EndIPAddress 0.0.3.255

Expand All @@ -7,9 +7,9 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.3.1 0.0.3.255
```

This command updates a MariaDb firewall rule.
This command updates a MariaDB firewall rule.

### Example 2: Update MariaDb Firewall Rule by identity.
### Example 2: Update MariaDB Firewall Rule by identity.
```powershell
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/mariadb-test-qu5ov0/providers/Microsoft.DBforMariaDB/servers/mariadb-test-4rmtig/firewallRules/fr-cfgl3y"
PS C:\> Update-AzMariaDbFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2
Expand All @@ -19,9 +19,9 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.0.2 0.0.0.3
```

The cmdlet updates MariaDb Firewall Rule by identity.
The cmdlet updates MariaDB Firewall Rule by identity.

### Example 3: Update MariaDb Firewall Rule by -ClientIPAddress.
### Example 3: Update MariaDB Firewall Rule by -ClientIPAddress.
```powershell
PS C:\> $ID = "/subscriptions/<SubscriptionId>/resourceGroups/mariadb-test-qu5ov0/providers/Microsoft.DBforMariaDB/servers/mariadb-test-4rmtig/firewallRules/fr-cfgl3y"
PS C:\> Update-AzMariaDbFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2
Expand All @@ -31,4 +31,4 @@ Name StartIPAddress EndIPAddress
fr-cfgl3y 0.0.0.2 0.0.0.2
```

The cmdlet updates MariaDb Firewall Rule by -ClientIPAddress.
The cmdlet updates MariaDB Firewall Rule by -ClientIPAddress.
8 changes: 4 additions & 4 deletions src/MariaDb/examples/Update-AzMariaDbServer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Update MariaDb
### Example 1: Update MariaDB
```powershell
PS C:\> Update-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StorageInMb 8192

Expand All @@ -7,9 +7,9 @@ Name Location AdministratorLogin Version StorageProfileStorageMb
mariadb-test-4rmtig eastus xofavpndqj 10.2 8192 B_Gen5_1 Basic Enabled
```

This command updates a MariaDb.
This command updates a MariaDB.

### Example 2: Update MariaDb
### Example 2: Update MariaDB
```powershell
PS C:\> Get-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 | Update-AzMariaDbServer -StorageInMb (8192+1024)

Expand All @@ -18,5 +18,5 @@ Name Location AdministratorLogin Version StorageProfileStorageMb
mariadb-test-4rmtig eastus xofavpndqj 10.2 9216 B_Gen5_1 Basic Enabled
```

This command updates a MariaDb.
This command updates a MariaDB.

2 changes: 1 addition & 1 deletion src/MariaDb/examples/Update-AzMariaDbVirtualNetworkRule.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Update MariaDb virtual network rule
### Example 1: Update MariaDB virtual network rule
```powershell
PS C:\> $vnet = Get-AzVirtualNetwork -Name vnet -ResourceGroupName mariadb-test-qu5ov0
PS C:\> Update-AzMariaDbVirtualNetworkRule -ServerName mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 -Name vnetrule-QdMJpU -SubnetId $vnet.Subnets[0].Id -IgnoreMissingVnetServiceEndpoint
Expand Down