public void delete ( String resourceGroupName , String virtualNetworkName ) { deleteWithServiceResponseAsync ( resourceGroupName , virtualNetworkName ) . toBlocking ( ) . last ( ) . body ( ) ; }
Deletes the specified virtual network .