WAF üzerinde tanımlanacak olan servislerimizin Powershell aracılığıyla Http Setting oluşturulması,
$azureappgw=Get-AzureRmApplicationGateway | select name, ResourceGroupName $AppGw = Get-AzureRMApplicationGateway -Name $azureappgw.Name -ResourceGroupName $azureappgw.ResourceGroupName #uygulanacak domainler $domains=@('onurbabur.com','www.onurbabur.com') foreach ($domain in $domains) { #http ve https olmak üzere belirtilen domainlerin http settings oluşturulması Add-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw -Name "$domain-http-setting" -Port 80 -Protocol "Http" -CookieBasedAffinity "Disabled" -HostName "$domain" Add-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw -Name "$domain-https-setting" -Port 443 -Protocol "Https" -CookieBasedAffinity "Disabled" -HostName "$domain" } #Uygulanmış olan Backend Http Settings lerin sorgulanmasi Get-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw #Yapılan İşlemlerin WAF üzerine kayıt edilmesi Set-AzureRmApplicationGateway -ApplicationGateway $AppGw