Skip to content

Commit bdcb065

Browse files
Merge pull request #252452 from simonkurtz-MSFT/patch-1
Use CAF abbreviations in naming
2 parents 898a68b + c185386 commit bdcb065

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/api-management/api-management-howto-integrate-internal-vnet-appgateway.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ If you use Azure Active Directory or third-party authentication, enable the [coo
8484
8585
## Setting Variables
8686

87-
Throughout this guide, you will need to define several variables.
87+
Throughout this guide, you will need to define several variables. Naming is based on the [Cloud Adoption Framework abbreviation](/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations) guidance.
8888

8989
```powershell
9090
# These variables must be changed.
9191
$subscriptionId = "00000000-0000-0000-0000-000000000000" # GUID of your Azure subscription
9292
$domain = "contoso.net" # The custom domain for your certificate
93-
$apimServiceName = "ContosoApi" # API Management service instance name, must be globally unique
93+
$apimServiceName = "apim-contoso" # API Management service instance name, must be globally unique
9494
$apimDomainNameLabel = $apimServiceName # Domain name label for API Management's public IP address, must be globally unique
9595
$apimAdminEmail = "[email protected]" # Administrator's email address - use your email address
9696
@@ -110,10 +110,10 @@ $managementCertPfxPassword = "certificatePassword123" # Password for man
110110
111111
112112
# These variables may be changed.
113-
$resGroupName = "apim-appGw-RG" # Resource group name that will hold all assets
113+
$resGroupName = "rg-apim-agw" # Resource group name that will hold all assets
114114
$location = "West US" # Azure region that will hold all assets
115115
$apimOrganization = "Contoso" # Organization name
116-
$appgwName = "apim-app-gw" # The name of the Application Gateway
116+
$appgwName = "agw-contoso" # The name of the Application Gateway
117117
```
118118

119119
## Create a resource group for Resource Manager
@@ -157,7 +157,7 @@ The following example shows how to create a virtual network by using Resource Ma
157157
Internet -SourcePortRange * -DestinationAddressPrefix * -DestinationPortRange 443
158158
159159
$appGwNsg = New-AzNetworkSecurityGroup -ResourceGroupName $resGroupName -Location $location -Name `
160-
"NSG-APPGW" -SecurityRules $appGwRule1, $appGwRule2
160+
"nsg-agw" -SecurityRules $appGwRule1, $appGwRule2
161161
```
162162
163163
1. Create a network security group (NSG) and NSG rules for the API Management subnet. [API Management stv2 requires several specific NSG rules](api-management-using-with-internal-vnet.md#enable-vnet-connection).
@@ -177,7 +177,7 @@ The following example shows how to create a virtual network by using Resource Ma
177177
-SourcePortRange * -DestinationAddressPrefix AzureKeyVault -DestinationPortRange 443
178178
179179
$apimNsg = New-AzNetworkSecurityGroup -ResourceGroupName $resGroupName -Location $location -Name `
180-
"NSG-APIM" -SecurityRules $apimRule1, $apimRule2, $apimRule3, $apimRule4
180+
"nsg-apim" -SecurityRules $apimRule1, $apimRule2, $apimRule3, $apimRule4
181181
```
182182
183183
1. Assign the address range 10.0.0.0/24 to the subnet variable to be used for Application Gateway while you create a virtual network.
@@ -192,10 +192,10 @@ The following example shows how to create a virtual network by using Resource Ma
192192
$apimSubnet = New-AzVirtualNetworkSubnetConfig -Name "apimSubnet" -NetworkSecurityGroup $apimNsg -AddressPrefix "10.0.1.0/24"
193193
```
194194
195-
1. Create a virtual network named **appgwvnet** in resource group **apim-appGw-RG** for the West US region. Use the prefix 10.0.0.0/16 with subnets 10.0.0.0/24 and 10.0.1.0/24.
195+
1. Create a virtual network named **vnet-contoso**. Use the prefix 10.0.0.0/16 with subnets 10.0.0.0/24 and 10.0.1.0/24.
196196
197197
```powershell
198-
$vnet = New-AzVirtualNetwork -Name "appgwvnet" -ResourceGroupName $resGroupName `
198+
$vnet = New-AzVirtualNetwork -Name "vnet-contoso" -ResourceGroupName $resGroupName `
199199
-Location $location -AddressPrefix "10.0.0.0/16" -Subnet $appGatewaySubnet,$apimSubnet
200200
```
201201

0 commit comments

Comments
 (0)