Created
April 12, 2021 10:46
-
-
Save papeMK2/ca52952dbceda5e96b4da6e66ad25bae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vnet_name = 'Your VNET name' | |
var subnet_name = 'Your subnet name' | |
var app_name = 'Your app service app name' | |
resource vnetConnector 'Microsoft.Web/sites/networkConfig@2020-10-01' = { | |
name: '${app_name}/virtualNetwork' | |
properties: { | |
subnetResourceId: resourceId('Microsoft.Network/virtualNetworks/subnets', vnet_name, subnet_name) | |
swiftSupported: true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment