Skip to content

Instantly share code, notes, and snippets.

@machv
Last active February 13, 2020 19:51
Show Gist options
  • Save machv/f50053a8cbf779fa50ef8603d0a2d3fb to your computer and use it in GitHub Desktop.
Save machv/f50053a8cbf779fa50ef8603d0a2d3fb to your computer and use it in GitHub Desktop.
ER Local
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"circuitName": {
"type": "string",
"metadata": {
"description": "This is the name of the ExpressRoute circuit"
}
},
"serviceProviderName": {
"type": "string",
"defaultValue": "Oracle Cloud FastConnect",
"metadata": {
"description": "This is the name of the ExpressRoute Service Provider. It must exactly match one of the Service Providers from List ExpressRoute Service Providers API call."
}
},
"peeringLocation": {
"type": "string",
"defaultValue": "London",
"metadata": {
"description": "This is the name of the peering location and not the ARM resource location. It must exactly match one of the available peering locations from List ExpressRoute Service Providers API call."
}
},
"bandwidthInMbps": {
"type": "int",
"defaultValue": 1000,
"metadata": {
"description": "This is the bandwidth in Mbps of the circuit being created. It must exactly match one of the available bandwidth offers List ExpressRoute Service Providers API call."
}
},
"location": {
"type": "string",
"defaultValue": "UK South",
"metadata": {
"description": "Location where Circuit resource would be created."
}
},
"sku_tier": {
"type": "string",
"defaultValue": "Local",
"allowedValues": [
"Local",
"Standard",
"Premium"
],
"metadata": {
"description": "Chosen SKU Tier of ExpressRoute circuit. Choose from Premium or Standard SKU tiers."
}
},
"sku_family": {
"type": "string",
"defaultValue": "UnlimitedData",
"allowedValues": [
"MeteredData",
"UnlimitedData"
],
"metadata": {
"description": "Chosen SKU family of ExpressRoute circuit. Choose from MeteredData or UnlimitedData SKU families."
}
},
"allowClassicOperations": {
"type": "bool",
"defaultValue": false,
"metadata": {
"description": "Allow the circuit to interact with classic (RDFE) resources"
}
}
},
"resources": [
{
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/expressRouteCircuits",
"name": "[parameters('circuitName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[concat(parameters('sku_tier'),'_', parameters('sku_family'))]",
"tier": "[parameters('sku_tier')]",
"family": "[parameters('sku_family')]"
},
"properties": {
"serviceProviderProperties": {
"serviceProviderName": "[parameters('serviceProviderName')]",
"peeringLocation": "[parameters('peeringLocation')]",
"bandwidthInMbps": "[parameters('bandwidthInMbps')]"
},
"allowClassicOperations": "[parameters('allowClassicOperations')]"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment