Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created April 10, 2020 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabriciosanchez/3b5a2907340222ad5bd5a283630aa83a to your computer and use it in GitHub Desktop.
Save fabriciosanchez/3b5a2907340222ad5bd5a283630aa83a to your computer and use it in GitHub Desktop.
Deploys two different backend pools.
# step 8 - configure HTTPs backend settings for the App Gateway
$apimPoolSetting = New-AzApplicationGatewayBackendHttpSettings `
-Name "apim-api-poolsetting" `
-Port 443 `
-Protocol "Https" `
-CookieBasedAffinity "Disabled" `
-Probe $apimprobe `
-AuthenticationCertificates $authcert `
-RequestTimeout 180
$apimPoolPortalSetting = New-AzApplicationGatewayBackendHttpSettings `
-Name "apim-portal-poolsetting" `
-Port 443 `
-Protocol "Https" `
-CookieBasedAffinity "Disabled" `
-Probe $apimPortalProbe `
-AuthenticationCertificates $authcert `
-RequestTimeout 180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment