Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.77 KB

File metadata and controls

65 lines (44 loc) · 1.77 KB

Create an Azure Front Door Endpoint

afd/create-endpoint/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

Create an Azure Front Door Endpoint

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

  export AFD_ENDPOINT_NAME=javazafdendp$RANDOM

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

  az afd endpoint create \
    --resource-group $RESOURCE_GROUP \
    --endpoint-name $AFD_ENDPOINT_NAME \
    --profile-name $AFD_PROFILE_NAME \
    --enabled-state Enabled

Cleanup

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

1m