Skip to content

Instantly share code, notes, and snippets.

@andrstor
Created August 27, 2020 07:40
Show Gist options
  • Save andrstor/20547389cf52292a2dab37c1f0d77db0 to your computer and use it in GitHub Desktop.
Save andrstor/20547389cf52292a2dab37c1f0d77db0 to your computer and use it in GitHub Desktop.
Same Frontdoor resource after manual edit in portal
{
"value": [
{
"name": "andreastester",
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/frontdoors/andreastester",
"type": "Microsoft.Network/frontdoors",
"tags": {},
"location": "Global",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Enabled",
"backendPools": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/Frontdoors/andreastester/BackendPools/exampleBackendBing",
"name": "exampleBackendBing",
"type": "Microsoft.Network/Frontdoors/BackendPools",
"properties": {
"backends": [
{
"address": "www.bing.com",
"httpPort": 80,
"httpsPort": 443,
"priority": 1,
"weight": 50,
"backendHostHeader": "www.bing.com",
"enabledState": "Enabled"
}
],
"healthProbeSettings": {
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/microsoft.network/frontdoors/andreastester/healthprobesettings/examplehealthprobesetting1"
},
"loadBalancingSettings": {
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/microsoft.network/frontdoors/andreastester/loadbalancingsettings/exampleloadbalancingsettings1"
},
"resourceState": "Enabled"
}
}
],
"healthProbeSettings": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/Frontdoors/andreastester/HealthProbeSettings/exampleHealthProbeSetting1",
"name": "exampleHealthProbeSetting1",
"type": "Microsoft.Network/Frontdoors/HealthProbeSettings",
"properties": {
"intervalInSeconds": 120,
"path": "/test",
"protocol": "Http",
"resourceState": "Enabled"
}
}
],
"frontendEndpoints": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/Frontdoors/andreastester/FrontendEndpoints/exampleFrontendEndpoint1",
"name": "exampleFrontendEndpoint1",
"type": "Microsoft.Network/Frontdoors/FrontendEndpoints",
"properties": {
"hostName": "andreastester.azurefd.net",
"sessionAffinityEnabledState": "Disabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": null,
"customHttpsProvisioningState": null,
"customHttpsProvisioningSubstate": null,
"customHttpsConfiguration": null,
"resourceState": "Enabled"
}
}
],
"loadBalancingSettings": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/Frontdoors/andreastester/LoadBalancingSettings/exampleLoadBalancingSettings1",
"name": "exampleLoadBalancingSettings1",
"type": "Microsoft.Network/Frontdoors/LoadBalancingSettings",
"properties": {
"additionalLatencyMilliseconds": 0,
"sampleSize": 4,
"successfulSamplesRequired": 2,
"resourceState": "Enabled"
}
}
],
"routingRules": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/Microsoft.Network/Frontdoors/andreastester/RoutingRules/exampleRoutingRule1",
"name": "exampleRoutingRule1",
"type": "Microsoft.Network/Frontdoors/RoutingRules",
"properties": {
"frontendEndpoints": [
{
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourcegroups/andreastester/providers/microsoft.network/frontdoors/andreastester/frontendendpoints/examplefrontendendpoint1"
}
],
"acceptedProtocols": [
"Http",
"Https"
],
"patternsToMatch": [
"/*"
],
"customForwardingPath": null,
"forwardingProtocol": "MatchRequest",
"cacheConfiguration": null,
"backendPool": {
"id": "/subscriptions/66a7a0ea-df0a-4173-bc9d-e064f42ac063/resourceGroups/andreastester/providers/microsoft.network/frontdoors/andreastester/backendPools/exampleBackendBing"
},
"enabledState": "Enabled",
"resourceState": "Enabled"
}
}
],
"enabledState": "Enabled",
"cName": "andreastester.azurefd.net",
"friendlyName": ""
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment