Azure Resource Explorer
{
"name": "Solution_Unit-vnet",
"id": "/subscriptions/7890e344-be6a-46e3-b94c-70a01769770c/resourceGroups/Solution_Unit/providers/Microsoft.Network/virtualNetworks/Solution_Unit-vnet",
"etag": "W/\"1f8a7af7-4469-453b-9d80-2801831f58ac\"",
"type": "Microsoft.Network/virtualNetworks",
"location": "eastus",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "f51ac8d2-9a8d-4730-ab9f-bb273b85f863",
"addressSpace": {
"addressPrefixes": [
"10.0.0.0/24",
"(String)"
]
},
"subnets": [
{
"name": "default",
"id": "/subscriptions/7890e344-be6a-46e3-b94c-70a01769770c/resourceGroups/Solution_Unit/providers/Microsoft.Network/virtualNetworks/Solution_Unit-vnet/subnets/default",
"etag": "W/\"1f8a7af7-4469-453b-9d80-2801831f58ac\"",
"properties": {
"provisioningState": "Succeeded",
"addressPrefix": "10.0.0.0/24",
"serviceAssociationLinks": [
{
"name": "default-service-association-link",
"id": "/subscriptions/7890e344-be6a-46e3-b94c-70a01769770c/resourceGroups/Solution_Unit/providers/Microsoft.Network/virtualNetworks/Solution_Unit-vnet/subnets/default/serviceAssociationLinks/default-service-association-link",
"etag": "W/\"1f8a7af7-4469-453b-9d80-2801831f58ac\"",
"type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks",
"properties": {
"provisioningState": "Succeeded",
"linkedResourceType": "",
"enabledForArmDeployments": false,
"allowDelete": false,
"locations": []
}
}
],
"serviceEndpoints": [],
"delegations": [
{
"name": "Microsoft.DBforMySQL.flexibleServers",
"id": "/subscriptions/7890e344-be6a-46e3-b94c-70a01769770c/resourceGroups/Solution_Unit/providers/Microsoft.Network/virtualNetworks/Solution_Unit-vnet/subnets/default/delegations/Microsoft.DBforMySQL.flexibleServers",
"etag": "W/\"1f8a7af7-4469-453b-9d80-2801831f58ac\"",
"properties": {
"provisioningState": "Succeeded",
"serviceName": "",
"actions": [
"Microsoft.Network/virtualNetworks/subnets/join/action"
]
},
"type": "Microsoft.Network/virtualNetworks/subnets/delegations"
}
],
"privateEndpointNetworkPolicies": "Disabled",
"privateLinkServiceNetworkPolicies": "Enabled"
},
"type": "Microsoft.Network/virtualNetworks/subnets"
},
{
"id": "(String)",
"properties": {
"addressPrefix": {},
"addressPrefixes": {},
"networkSecurityGroup": {},
"routeTable": {},
"natGateway": {},
"serviceEndpoints": {},
"serviceEndpointPolicies": {},
"privateEndpoints": {},
"ipConfigurations": {},
"ipConfigurationProfiles": {},
"ipAllocations": {},
"resourceNavigationLinks": {},
"serviceAssociationLinks": {},
"delegations": {},
"purpose": {},
"provisioningState": {},
"privateEndpointNetworkPolicies": {},
"privateLinkServiceNetworkPolicies": {},
"applicationGatewayIpConfigurations": {}
},
"name": "(String)",
"etag": "(String)",
"type": "(String)"
}
],
"virtualNetworkPeerings": [
{
"id": "(String)",
"properties": {
"allowVirtualNetworkAccess": {},
"allowForwardedTraffic": {},
"allowGatewayTransit": {},
"useRemoteGateways": {},
"remoteVirtualNetwork": {},
"remoteAddressSpace": {},
"remoteVirtualNetworkAddressSpace": {},
"remoteBgpCommunities": {},
"peeringState": {},
"peeringSyncLevel": {},
"provisioningState": {},
"doNotVerifyRemoteGateways": {},
"resourceGuid": {}
},
"name": "(String)",
"etag": "(String)",
"type": "(String)"
}
],
"enableDdosProtection": false,
"dhcpOptions": {
"dnsServers": [
"(String)"
]
},
"flowTimeoutInMinutes": "(Integer)",
"enableVmProtection": "(Boolean)",
"ddosProtectionPlan": {
"id": "(String)"
},
"bgpCommunities": {
"virtualNetworkCommunity": "(String)",
"regionalCommunity": "(String)"
},
"ipAllocations": [
{
"id": "(String)"
}
]
},
"extendedLocation": {
"name": "(String)",
"type": "(String)"
}
}
After trying to delete it getting the below error.
{
"error": {
"code": "InUseSubnetCannotBeDeleted",
"message": "Subnet default is in use by /subscriptions/7890e344-be6a-46e3-b94c-70a01769770c/resourceGroups/Solution_Unit/providers/Microsoft.Network/virtualNetworks/Solution_Unit-vnet/subnets/default/serviceAssociationLinks/default-service-association-link and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.",
"details": []
}
}