From 130ea8eeaa091af4d7e7bcaad59fe0342d9b0023 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 7 Dec 2017 07:28:04 +0100 Subject: [PATCH] SqlServerEndpointPermission: Fix long path issue for examples (#935) - Changes to SqlServerEndpointPermission - Now the examples files have a shorter name so that resources will not fail to compile in Azure Automation (issue #934). --- CHANGELOG.md | 3 +++ ...ermissionToTwoReplicasEachWithDifferentServiceAccount.ps1} | 0 ...rmissionForTwoReplicasEachWithDifferentServiceAccount.ps1} | 0 README.md | 4 ++-- 4 files changed, 5 insertions(+), 2 deletions(-) rename Examples/Resources/SqlServerEndpointPermission/{3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 => 3-AddConnectPermissionToTwoReplicasEachWithDifferentServiceAccount.ps1} (100%) rename Examples/Resources/SqlServerEndpointPermission/{4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 => 4-RemoveConnectPermissionForTwoReplicasEachWithDifferentServiceAccount.ps1} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3144cb8de..433058f41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,9 @@ - BREAKING CHANGE: Parameters RSSQLServer and RSSQLInstanceName has been renamed to DatabaseServerName and DatabaseInstanceName respectively ([issue #923](https://github.com/PowerShell/SqlServerDsc/issues/923)). +- Changes to SqlServerEndpointPermission + - Now the examples files have a shorter name so that resources will not fail + to compile in Azure Automation ([issue #934](https://github.com/PowerShell/SqlServerDsc/issues/934)). - Changes to SqlServerConfiguration - BREAKING CHANGE: Parameters SQLServer and SQLInstanceName has been renamed to ServerName and InstanceName respectively diff --git a/Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 b/Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToTwoReplicasEachWithDifferentServiceAccount.ps1 similarity index 100% rename from Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 rename to Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToTwoReplicasEachWithDifferentServiceAccount.ps1 diff --git a/Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 b/Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionForTwoReplicasEachWithDifferentServiceAccount.ps1 similarity index 100% rename from Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1 rename to Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionForTwoReplicasEachWithDifferentServiceAccount.ps1 diff --git a/README.md b/README.md index 058e7edbb..42b2ea2d5 100644 --- a/README.md +++ b/README.md @@ -747,10 +747,10 @@ This resource is used to give connect permission to an endpoint for a user (logi * [Add connect permission to an Endpoint](/Examples/Resources/SqlServerEndpointPermission/1-AddConnectPermission.ps1) * [Remove the connect permission for an Endpoint](/Examples/Resources/SqlServerEndpointPermission/2-RemoveConnectPermission.ps1) * [Add connect permission to both an Always On primary replica and an Always On - secondary replica, and where each replica has a different SQL service account](/Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1) + secondary replica, and where each replica has a different SQL service account](/Examples/Resources/SqlServerEndpointPermission/3-AddConnectPermissionToTwoReplicasEachWithDifferentServiceAccount.ps1) * [Remove connect permission to both an Always On primary replica and an Always On secondary replica, and where each replica has a different SQL service - account](/Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1) + account](/Examples/Resources/SqlServerEndpointPermission/4-RemoveConnectPermissionForTwoReplicasEachWithDifferentServiceAccount.ps1) ### SqlServerEndpointState