Azure JSON Configuration File
This section displays a sample syntax of an Azure JSON (JavaScript Object Notation) file, a template that you can use to quickly deploy a repeatable solution in Microsoft Azure.
--------------
{
"__comment__" : "Anything suffixed with 'optional' is optional. Any unknown field will be ignored",
"generalConfig" : {
"enable_optional" : "true",
"hysteresis_time_optional" : "10",
"vrf_name_optional" : "vrf_blue",
"source_ip_optional" : "10.1.0.1"
},
"__comment_bfd_config" : " You need to specify at least peerVeosIP and bfdSourceInterface",
"bfdConfig" : {
"peerVeosIp" : "1.1.1.2",
"bfdSourceInterface" : "Ethernet1"
},
"__comment_azure_global__" : "This is Azure global config and credentials (either AD xor SDK-AUTH)",
"azureConfig" : {
"__comment_azure_AD_cred__" : "This is for Active Directory credentials",
"azureActiveDirectoryCredentials" : {
"email" : "johndoe@website.com",
"password" : "MyPassword",
"subscriptionId" : "ef16892c-aa46-4aba-ae9a-d4fhsb1c612c"
},
"__comment_sdk_auth_cred__" : "This is for SDK Auth credentials",
"azureSdkAuthCredentials" : {
"clientId": "e817439781-b494-474c-a138-7d1dawefj3902",
"clientSecret": "f5e873436-a1a5-4a1d-b5d8-203fdasdfb5bc3",
"subscriptionId": "ef16892c-aa46-4aba-ae9a-d4fhsb1c612c",
"tenantId": "5haf781ec-cb78-48ea-a1df-1a95dfjd809946e",
"activeDirectoryEndpointUrl": "https://login.microsoftonline.com",
"resourceManagerEndpointUrl": "https://management.azure.com/",
"activeDirectoryGraphResourceId": "https://graph.windows.net/",
"sqlManagementEndpointUrl": "https://management.core.windows.net:8443/",
"galleryEndpointUrl": "https://gallery.azure.com/",
"managementEndpointUrl": "https://management.core.windows.net/"
},
"http_proxy_optional": "http://10.10.1.10:3128",
"https_proxy_optional": "http://username:password@10.10.1.10:3128/"
},
"__comment_local_routing__" : "This is Azure local routing tables and route next hop ip addresses",
"azureLocalRoutingConfig" : {
"resourceGroupName" : "ResourceGroup1",
"routeTables" : [
{
"routeTableName" : "RouteTable1",
"routes" : [
{
"prefix" : "0.0.0.0/0",
"nextHopIp" : "10.1.0.4"
},
{
"prefix" : "10.1.0.0/16",
"nextHopIp" : "10.1.0.4"
}
]
},
{
"routeTableName" : "RouteTable2",
"routes" : [
{
"prefix" : "0.0.0.0/0",
"nextHopIp" : "10.1.1.4"
},
{
"prefix" : "10.1.0.0/16",
"nextHopIp" : "10.1.1.4"
}
]
}
]
},
"__comment_peer_routing__" : "This is Azure peer routing tables and route next hop ip addresses",
"azurePeerRoutingConfig" : {
"resourceGroupName" : "ResourceGroup1",
"routeTables" : [
{
"routeTableName" : "RouteTable3",
"routes" : [
{
"prefix" : "0.0.0.0/0",
"nextHopIp" : "10.1.0.4"
},
{
"prefix" : "10.1.0.0/16",
"nextHopIp" : "10.1.1.4"
}
]
},
{
"routeTableName" : "RouteTable4",
"routes" : [
{
"prefix" : "0.0.0.0/0",
"nextHopIp" : "10.1.0.4"
},
{
"prefix" : "10.1.0.0/16",
"nextHopIp" : "10.1.1.4"
}
]
}
]
}
}
------------