Skip to content

Commit eb311fc

Browse files
committed
fix code indents
1 parent 8ba9792 commit eb311fc

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

articles/private-link/create-private-endpoint-terraform.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -74,46 +74,47 @@ The script generates a random password for the SQL server and a random SSH key f
7474

7575
1. Get the Azure resource group name.
7676

77-
```console
78-
resource_group_name=$(terraform output -raw resource_group_name)
79-
```
77+
```console
78+
resource_group_name=$(terraform output -raw resource_group_name)
79+
```
8080

8181
1. Get the SQL Server name.
8282

83-
```console
84-
sql_server=$(terraform output -raw sql_server)
85-
```
83+
```console
84+
sql_server=$(terraform output -raw sql_server)
85+
```
8686

8787
1. Run [az sql server show](/cli/azure/sql/server#az-sql-server-show) to display the details about the SQL Server private endpoint.
88-
```azurecli
89-
az sql server show \
90-
--resource-group $resource_group_name \
91-
--name $sql_server --query privateEndpointConnections \
92-
--output tsv
93-
```
88+
89+
```azurecli
90+
az sql server show \
91+
--resource-group $resource_group_name \
92+
--name $sql_server --query privateEndpointConnections \
93+
--output tsv
94+
```
9495

9596
#### [Azure PowerShell](#tab/azure-powershell)
9697

9798
1. Get the Azure resource group name.
9899

99-
```console
100-
$resource_group_name=$(terraform output -raw resource_group_name)
101-
```
100+
```console
101+
$resource_group_name=$(terraform output -raw resource_group_name)
102+
```
102103

103104
1. Get the SQL Server name.
104105

105-
```console
106-
$sql_server=$(terraform output -raw sql_server_name)
107-
```
106+
```console
107+
$sql_server=$(terraform output -raw sql_server_name)
108+
```
108109

109110
1. Run [Get-AzPrivateEndpoint](/powershell/module/az.network/get-azprivateendpoint) to display the details about the SQL Server private endpoint.
110111

111-
```azurepowershell
112-
$sql = @{
112+
```azurepowershell
113+
$sql = @{
113114
ResourceGroupName = $resource_group_name
114-
}
115-
Get-AzPrivateEndpoint @sql
116-
```
115+
}
116+
Get-AzPrivateEndpoint @sql
117+
```
117118

118119
---
119120

0 commit comments

Comments
 (0)