Skip to content

Commit

Permalink
SqlAGDatabase: Corrected PsDscRunAsAccount to PsDscRunAsCredential (#…
Browse files Browse the repository at this point in the history
…1199)

- Changes to SqlAGDatabase
  - Corrected reference to "PsDscRunAsAccount" in documentation (issue #1199).
  • Loading branch information
NReilingh authored and johlju committed Aug 22, 2018
1 parent 6d42512 commit a450e82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

- Changes to SqlAGDatabase
- Corrected reference to "PsDscRunAsAccount" in documentation
([issue #1199](https://github.com/PowerShell/SqlServerDsc/issues/1199)).
[Nick Reilingh (@NReilingh)](https://github.com/NReilingh)

## 11.4.0.0

- Changes to SqlServerDsc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MSFT_SqlAGDatabase : OMI_BaseResource
[Required, Description("The path used to seed the availability group replicas. This should be a path that is accessible by all of the replicas")] String BackupPath;
[Write, Description("Specifies the membership of the database(s) in the availability group. The options are: Present: The defined database(s) are added to the availability group. All other databases that may be a member of the availability group are ignored. Absent: The defined database(s) are removed from the availability group. All other databases that may be a member of the availability group are ignored. The default is 'Present'."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
[Write, Description("When used with 'Ensure = 'Present'' it ensures the specified database(s) are the only databases that are a member of the specified Availability Group. This parameter is ignored when 'Ensure' is 'Absent'.")] Boolean Force;
[Write, Description("If set to $true, this ensures the database owner of the database on the primary replica is the owner of the database on all secondary replicas. This requires the database owner is available as a login on all replicas and that the PSDscRunAsAccount has impersonate permissions. If set to $false, the owner of the database will be the PSDscRunAsAccount. The default is '$true'")] Boolean MatchDatabaseOwner;
[Write, Description("If set to $true, this ensures the database owner of the database on the primary replica is the owner of the database on all secondary replicas. This requires the database owner is available as a login on all replicas and that the PsDscRunAsCredential has impersonate permissions. If set to $false, the owner of the database will be the PsDscRunAsCredential. The default is '$true'")] Boolean MatchDatabaseOwner;
[Write, Description("Specifies that the resource will only determine if a change is needed if the target node is the active host of the SQL Server Instance.")] Boolean ProcessOnlyOnActiveNode;
[Read, Description("Determines if the current node is actively hosting the SQL Server instance.")] Boolean IsActiveNode;
};
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ group.
* **`[Boolean]` MatchDatabaseOwner** _(Write)_: If set to $true, this ensures the
database owner of the database on the primary replica is the owner of the database
on all secondary replicas. This requires the database owner is available as a
login on all replicas and that the PSDscRunAsAccount has impersonate permissions.
If set to $false, the owner of the database will be the PSDscRunAsAccount.
login on all replicas and that the PsDscRunAsCredential has impersonate permissions.
If set to $false, the owner of the database will be the PsDscRunAsCredential.
The default is '$true'.
* **`[Boolean]` ProcessOnlyOnActiveNode** _(Write)_: Specifies that the resource
will only determine if a change is needed if the target node is the active
Expand Down

0 comments on commit a450e82

Please sign in to comment.