Skip to content

Commit

Permalink
Changes to SqlAGReplica
Browse files Browse the repository at this point in the history
- Updated description for parameter Name in README.md and in comment-based help (issue dsccommunity#1034).
  • Loading branch information
johlju committed Jan 26, 2018
1 parent a04c542 commit 01176cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
- Fixed minor typos in comment-based help.
- Fixed minor typos in comment.
- Style cleanup in code and tests.
- Updated description for parameter Name in README.md and in comment-based help
([issue #1034](https://github.com/PowerShell/SqlServerDsc/issues/1034)).
- Changes to SqlAlias
- Fixed issue where exception was thrown if reg keys did not exist
([issue #949](https://github.com/PowerShell/SqlServerDsc/issues/949)).
Expand Down
9 changes: 6 additions & 3 deletions DSCResources/MSFT_SqlAGReplica/MSFT_SqlAGReplica.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Import-Module -Name (Join-Path -Path (Split-Path (Split-Path $PSScriptRoot -Pare
Gets the specified Availability Group Replica from the specified Availability Group.
.PARAMETER Name
The name of the availability group replica.
The name of the availability group replica. For named instances this
must be in the following format ServerName\InstanceName.
.PARAMETER AvailabilityGroupName
The name of the availability group.
Expand Down Expand Up @@ -109,7 +110,8 @@ function Get-TargetResource
Creates or removes the availability group replica in accordance with the desired state.
.PARAMETER Name
The name of the availability group replica.
The name of the availability group replica. For named instances this
must be in the following format ServerName\InstanceName.
.PARAMETER AvailabilityGroupName
The name of the availability group.
Expand Down Expand Up @@ -465,7 +467,8 @@ function Set-TargetResource
Determines if the availability group replica is in the desired state.
.PARAMETER Name
The name of the availability group replica.
The name of the availability group replica. For named instances this
must be in the following format ServerName\InstanceName.
.PARAMETER AvailabilityGroupName
The name of the availability group.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Always On Availability Group Replica.
#### Parameters

* **`[String]` Name** _(Key)_: The name of the availability group replica. For named
instances this must be in the following format SQLServer\InstanceName.
instances this must be in the following format ServerName\InstanceName.
* **`[String]` AvailabilityGroupName** _(Key)_: The name of the availability group.
* **`[String]` ServerName** _(Required)_: Hostname of the SQL Server to be configured.
* **`[String]` InstanceName** _(Key)_: Name of the SQL instance to be configured.
Expand Down

0 comments on commit 01176cb

Please sign in to comment.