Closed qt-yatin527 closed 5 years ago
Hello Team,
I have created json file to create a vnet with 4 subnets. However it is failed while executing with below error.
validations done: Changed data in json document to create only one subnet. No luck Assigned network access provider to sbscription.
Below is my json script
{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "resources": [ { "name": "supernetwork", "type": "Microsoft.Network/virtualNetworks", "apiVersion": "2019-04-01", "location":"Central US", "properties": { "addressSpace":{ "addressPrefixes": ["192.168.0.0/16"] }, "subnets": [ { "name": "subnet1", "properties": { "addressPrefixes": ["192.168.0.0/24"] }, "name": "subnet2", "properties":{ "addressPrefixes": ["192.168.1.0/24"] }, "name": "subnet3", "properties":{ "addressPrefixes": ["192.168.2.0/24"] }, "name": "subnet4", "properties":{ "addressPrefixes": ["192.168.3.0/24"] } } ] } } ]
}
Note: Resource group is created
Thanks, QT- Yatindra
Hey guys ,
No thanks my issue resolved closing the case from my end
Hello Team,
I have created json file to create a vnet with 4 subnets. However it is failed while executing with below error.
validations done: Changed data in json document to create only one subnet. No luck Assigned network access provider to sbscription.
Below is my json script
{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "resources": [ { "name": "supernetwork", "type": "Microsoft.Network/virtualNetworks", "apiVersion": "2019-04-01", "location":"Central US", "properties": { "addressSpace":{ "addressPrefixes": ["192.168.0.0/16"] }, "subnets": [ { "name": "subnet1", "properties": { "addressPrefixes": ["192.168.0.0/24"] }, "name": "subnet2", "properties":{ "addressPrefixes": ["192.168.1.0/24"] }, "name": "subnet3", "properties":{ "addressPrefixes": ["192.168.2.0/24"] }, "name": "subnet4", "properties":{ "addressPrefixes": ["192.168.3.0/24"] } } ] } } ]
}
Note: Resource group is created
Thanks, QT- Yatindra