Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 2.09 KB

File metadata and controls

72 lines (51 loc) · 2.09 KB

Create an Azure Front Door Origin Group

afd/create-origin-group/README.md

Prerequisites

This example assumes you have previously completed the following example:

  1. Create an Azure Resource Group
  2. Create an Azure Front Door Profile
  3. Create an Azure Front Door Endpoint

Create an Azure Front Door Origin Group

Setup environment variable for the Azure Front Door Origin Group using the command line below:

  export AFD_ORIGIN_GROUP_NAME=javazafdogrp$RANDOM

To create the Azure Front Door Endpoint use the following command line:

  az afd origin-group create \
    --resource-group $RESOURCE_GROUP \
    --origin-group-name $AFD_ORIGIN_GROUP_NAME \
    --profile-name $AFD_PROFILE_NAME \
    --probe-request-type GET \
    --probe-protocol Http \
    --probe-interval-in-seconds 60 \
    --probe-path / \
    --sample-size 4 \
    --successful-samples-required 3 \
    --additional-latency-in-milliseconds 50

Cleanup

Do NOT forget to remove the resources once you are done running the example.

1m