Skip to content

Commit dacaebe

Browse files
author
Alexander (Sasha) Nosov
committed
Rename arc-sql-licence-type-compliance to arc-sql-license-type-compliance
1 parent 9b40c9f commit dacaebe

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/README.md renamed to samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LicenceType-SQLArc
1+
# LicenseType-SQLArc
22

33
This Azure Policy ensures that all SQL Arc servers have the required `LicenseType` value. Servers that do not match the required license type are marked as non-compliant. The remediation task sets `LicenseType` to the value specified by the `requiredLicenseType` parameter.
44

@@ -14,8 +14,8 @@ Use Azure CLI or PowerShell to create the policy definition.
1414

1515
```PowerShell
1616
17-
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/refs/heads/master/samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/params.json -o params.json
18-
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/refs/heads/master/samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/rules.json -o rules.json
17+
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/refs/heads/master/samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/params.json -o params.json
18+
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/refs/heads/master/samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/rules.json -o rules.json
1919
2020
```
2121

@@ -26,7 +26,7 @@ Use the following command to create policy
2626
```PowerShell
2727
2828
$SubId = "<your-subscription-id>"
29-
$PolicyName = "LicenceType-SQLArc"
29+
$PolicyName = "LicenseType-SQLArc"
3030
3131
az policy definition create `
3232
--name $PolicyName `
@@ -59,8 +59,8 @@ if ([string]::IsNullOrWhiteSpace($RgName)) {
5959
az account set --subscription $SubId
6060
6161
az policy assignment create `
62-
--name "LicenceType-SQLArc-Assign" `
63-
--policy "LicenceType-SQLArc" `
62+
--name "LicenseType-SQLArc-Assign" `
63+
--policy "LicenseType-SQLArc" `
6464
--scope "$Scope" `
6565
--params "{ \"effect\": { \"value\": \"DeployIfNotExists\" }, \"requiredLicenseType\": { \"value\": \"$RequiredLicenseType\" } }" `
6666
--mi-system-assigned `
@@ -76,8 +76,8 @@ Use the following command to create a remediation task
7676

7777
```PowerShell
7878
79-
$RemediationName = "Remediate-LicenceType-SQLArc"
80-
$PolicyAssignmentName = "LicenceType-SQLArc-Assign"
79+
$RemediationName = "Remediate-LicenseType-SQLArc"
80+
$PolicyAssignmentName = "LicenseType-SQLArc-Assign"
8181
$SubId = "<your-subscription-id>"
8282
$RgName = "<your-resource-group>"
8383
@@ -103,7 +103,7 @@ if ([string]::IsNullOrWhiteSpace($RgName)) {
103103

104104
```PowerShell
105105
106-
$RemediationName = "Remediate-LicenceType-SQLArc"
106+
$RemediationName = "Remediate-LicenseType-SQLArc"
107107
$RgName = "<your-resource-group>"
108108
$SubId = "<your-subscription-id>"
109109

samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/params.json renamed to samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/params.json

File renamed without changes.

samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/policy.json renamed to samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"properties": {
3-
"displayName": "LicenceType-SQLArc",
3+
"displayName": "LicenseType-SQLArc",
44
"policyType": "Custom",
55
"mode": "Indexed",
66
"description": "Policy to ensure all SQL Arc servers have the required LicenseType. Servers that do not match are marked as non-compliant and remediated to the required license type.",

samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-licence-type-compliance/rules.json renamed to samples/manage/azure-arc-enabled-sql-server/compliance/arc-sql-license-type-compliance/rules.json

File renamed without changes.

0 commit comments

Comments
 (0)