Skip to content

Commit 73d262a

Browse files
committed
Update pics.
1 parent 82d606c commit 73d262a

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed
74.4 KB
Loading
41.7 KB
Loading
25.8 KB
Loading

articles/batch/network-security-perimeter.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ Create your own network security perimeter resource using [Azure portal](../priv
7373
1. Create a new profile for your network security perimeter
7474

7575
```azurepowershell-interactive
76-
# Create a new profile
77-
76+
# Create a new profile
7877
$nspProfile = @{
7978
Name = 'nsp-profile'
8079
ResourceGroupName = $rgParams.name
@@ -88,13 +87,12 @@ Create your own network security perimeter resource using [Azure portal](../priv
8887
8988
```azurepowershell-interactive
9089
# Associate the PaaS resource with the above created profile
91-
9290
$nspAssociation = @{
9391
AssociationName = 'nsp-association'
9492
ResourceGroupName = $rgParams.name
9593
SecurityPerimeterName = $nsp.name
9694
AccessMode = 'Learning'
97-
ProfileId = $Profile.Id
95+
ProfileId = $nspProfile.Id
9896
PrivateLinkResourceId = $batchAccount.ResourceID
9997
}
10098
@@ -116,22 +114,15 @@ Create your own network security perimeter resource using [Azure portal](../priv
116114
117115
2. Associate the Batch account (PaaS resource) with the network security perimeter profile with the following commands.
118116
119-
```azurecli-interactive
120-
121-
# Get key vault id
122-
az keyvault show \
123-
--name $key_vault_name \
124-
--resource-group resource-group \
125-
--query 'id'
126-
117+
```azurecli-interactive
127118
# Get the profile id
128119
az network perimeter profile show \
129120
--name network-perimeter-profile \
130121
--resource-group resource-group \
131122
--perimeter-name network-security-perimeter
132123
133-
# Associate the Azure Key Vault with the network security perimeter profile
134-
# Replace <PaaSArmId> and <networkSecurityPerimeterProfileId> with the ID values for your Batch account and profile
124+
# Associate the Batch account with the network security perimeter profile
125+
# Replace <PaaSArmId> and <networkSecurityPerimeterProfileId> with the values for your Batch account name and profile
135126
az network perimeter association create \
136127
--name network-perimeter-association \
137128
--perimeter-name network-security-perimeter \

0 commit comments

Comments
 (0)